Running tensorflow's mnist with web server, cassandra and 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
- install requirements
pip install -r requirements.txt
- train predict dataset
python3 ./lib/mnist_deep_train.py
python3 ./lib/mnist_softmax_train.py
- set cassandra host and launch web server
export CASSANDRA_HOST={your cassandra host:port}
python3 app.py
visit localhost after launched the project.
or try our online version.(may be not available)