pallavimitra / imdb_keras

train and predict imdb sentiment using keras

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 100.0%