tanujjain / deploy-ml-model Goto Github PK
View Code? Open in Web Editor NEWDeploying a simple machine learning model to an AWS ec2 instance using flask and docker.
License: MIT License
Deploying a simple machine learning model to an AWS ec2 instance using flask and docker.
License: MIT License
Hello,
I have followed the instruction after passing the post request, where can I see the result of the request?
Getting error while sending test data using curl in local server
app.py: return self.view_functionsrule.endpoint
File "app.py", line 28, in get_prediction
data = np.array(data)[np.newaxis, :] # converts shape from (4,) to (1, 4)
IndexError: too many indices for array
127.0.0.1 - - [31/Mar/2020 16:06:23] "�[35m�[1mPOST /predict HTTP/1.1�[0m" 500 -_
Curl post: _curl -X POST 127.0.0.1:5000/predict -H 'Content-Type:application/json' -d '[5.9,3.0,5.1,1.8]'
<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.
_A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.