dockers's People
Forkers
likithreddycmt asaif4214 rackymuthu gabeochieng sharath1238 udaypratapyati manitsy kobi87 iamsantoshkumar sunnygupta25 tuhinssam abhimandadhi nivedya-deljit jeelmalde kondalu7679 riyaz-dotcom muzibhai balusu999 harshalkumeriya suvrajeet01 bhaskarsaikumar shaikhf1986 akash16dhotre akashchevli amanv1906 saideepak-r manojyadav4444 hubwithgit89 deva567 purtisharma kashish45 abhi23122000 ankurkaiser surdebmalya ehsan42324232 arumugamvasu atulsharma89 munikumargv rajajrds abchotujnn1 johnai-3 programmer8396 himanshumangal09 raghul-sys nadiantara amsam4 deesaw shubhamarora03 mhanauer abhashpanwar vijishmadhavan fredboneml ankand1601 adharshala vishwasprabhu modem0011 soumyabrataroy kamna21-code harika-strand arunavadatta2003 akshay-kap jayantabehera sagarnarula babetteblanquet archana31011995 sah-uja sivakrishna-1996 muluayele999 arpithahm5 pratshot anurag0308 gokulsg prnbbora4 mukulsinghal001 sayeed245 abdelrhman-gaber dipakraut jina10-star himanshupingulkar rthirumurugan2000 vishwasw lalit35107 adshenoi shivakumar2602 samux87 ykp2 kiranukamath csezia naveenreddy1997 pranjal-khandelwal aiant1 anudeepmedisetti aquibehtesham sankalpadutta sidart069 mohammadk22 venkatanarayana143 tdrenik hareshkm999 ran14dockers's Issues
Issue when using POST method while sending request for the file
When calling the route - @app.route('/predict_file',methods=["POST"]) via POSTMAN and uploading the csv the following error is displayed in POSTMAN console:
<title>500 Internal Server Error</title>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Digging further I noticed that it was an error in the application and my spyder console had the following Value error.
ValueError: Invalid file path or buffer object type: <class 'NoneType'>
Any idea what could be causing this?
Trying unpickle estimator RandomForest
When i tried to run the pickle file it is showing this error UserWarning: Trying to unpickle estimator RandomForestClassifier from version 1.0.2 when using version 1.1.2. This might lead to breaking code or invalid results. Use at your own risk. For more info please refer to: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations warnings.warn(
The solution that I found: Apparently pickle will not work with version mismatch either when there are minor changes it will not work because if we add or rename a field in a class then we cannot unpickle the previous version. it will change the structure of the library.
according to this: scikit-learn/scikit-learn#16033****
PS: reply to this thread if anyone found a better approach to handle this issue.
Suggesting a slight change in Dockerfile
Hi,
While running your project on a Mac, I was receiving a lot of errors while building the image but changing the first line of the Dockerfile
from FROM continuumio/anaconda3:4.4.0
to FROM continuumio/anaconda3
saves the day
Getting an error in docker while building an image
Hi, everyone, I am new to docker and as I was building my first image in docker by the following command -
docker build -t money_api .
I got this error:
#9 77.84 Collecting pyarrow; python_version < "3.9" (from streamlit->-r requirements.txt (line 13))
#9 79.77 Downloading https://files.pythonhosted.org/packages/62/d3/a482d8a4039bf931ed6388308f0cc0541d0cab46f0bbff7c897a74f1c576/pyarrow-3.0.0.tar.gz (682kB)
#9 81.74 Complete output from command python setup.py egg_info:
#9 81.74 Traceback (most recent call last):
#9 81.74 File "", line 1, in
#9 81.74 File "/tmp/pip-build-_aju5a4y/pyarrow/setup.py", line 44, in
#9 81.74 raise Exception('Please upgrade to Cython 0.29 or newer')
#9 81.74 Exception: Please upgrade to Cython 0.29 or newer
#9 81.74
#9 81.74 ----------------------------------------
#9 82.02 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_aju5a4y/pyarrow/
#9 84.52 You are using pip version 9.0.1, however version 21.1 is available.
#9 84.52 You should consider upgrading via the 'pip install --upgrade pip' command.
executor failed running [/bin/sh -c pip install -r requirements.txt]: exit code: 1
I tried commands to upgrade my pip but nothing happened.
In my requirements file these are the elements-
Flask==1.1.1
gunicorn==19.9.0
itsdangerous==1.1.0
Jinja2==2.10.1
MarkupSafe==1.1.1
Werkzeug==0.15.5
numpy>=1.9.2
scipy>=0.15.1
scikit-learn==0.22.1
matplotlib>=1.4.3
pandas>=0.19
flasgger==0.9.4
streamlit
In my Docker file, I have written -
FROM continuumio/anaconda3:4.4.0
COPY . /usr/app/
EXPOSE 5000
WORKDIR /usr/app/
RUN pip install -r requirements.txt
CMD python flask_api.py
I am working on Windows 10 Pro N, with Python 3.7.
Train model fille is missing plz upload again
Docker File Missing?
As Repository has name Dockers but there is no Dockerfile. Is Docker File missing ?
@krishnaik06
Swagger API is not opening
Not able to display
Flask URL is not working
docker run -p 9191:9191 money_api
- Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
for all the combination URL is not working
localhost:5000
localhost:9191
0.0.0.0:5000
0.0.0.0:9191
127.0.0.1:5000
127.0.0.1:9191
Note: in docker file, if we give other port also for Expose apart from 5000 it's running on 5000 port only
dockerfile parse error line 1: FROM requires either one or three arguments
Facing an error while executing docker build -t money_api . on MacBook terminal.
output:-
[+] Building 0.1s (2/2) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 84B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
failed to solve with frontend dockerfile.v0: failed to create LLB definition: dockerfile parse error line 1: FROM requires either one or three arguments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.