Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1 KB

README.md

File metadata and controls

34 lines (25 loc) · 1 KB

Deploying models Using Kubernetes

IMDB - Sentiment analysis Keras and TensorFlow

Based on https://www.kaggle.com/drscarlat/imdb-sentiment-analysis-keras-and-tensorflow and the book Deep Learning with Python by Francois Chollet

Usage

Train the model using

python train.py

Run the Flask Server using

python server.py

Deploy model using kubectl

kubectl apply -f deployment.yml

Test prediction by using REST API

curl -X POST http://172.17.0.35:31217/predict -H 'Content-Type: application/json' -d '{"input": "I loved this video Like, love, amazing!!"}'

License

MIT

Free Software, Hell Yeah!