Skip to content

visenger/imdb_keras

 
 

Repository files navigation

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!

About

train and predict imdb sentiment using keras

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%