Skip to content

gtbl2012/mnist_web_with_cassandra

Repository files navigation

mnist_web_with_cassandra

Docker Build Status

Running tensorflow's mnist with web server, cassandra and docker.

Fast launch via docker

Just clone the project and run the commands below. or pull it from Docker Hub.

cd mnist_web_with_cassandra
docker build -t mnist_web:v1.0 .
docker run --name "mnist_web"  -e CASSANDRA_HOST={your cassandra host:port} -p 80:80 -d mnist-web:v1.0

Run in local mechine

  1. install requirements
pip install -r requirements.txt
  1. train predict dataset
python3 ./lib/mnist_deep_train.py
python3 ./lib/mnist_softmax_train.py
  1. set cassandra host and launch web server
export CASSANDRA_HOST={your cassandra host:port}
python3 app.py

Try the project

visit localhost after launched the project.

or try our online version.(may be not available)

Demo video

Download

Project report

View

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published