HackCambridge 2017 Project
by Dao Zhou, Minxuan Xie, Renqiao Zhang, Qiuying Lai
EasyTensor: GUI for Simple Models in Tensorflow
Helping beginners and students to understand the structure of Tensorflow better by providing a GUI where standard neural net models written in Tensorflow (Python) can be generated.
This uses MNIST Data as an example.
debug*.py shows how the models can be trained and used.
tensorflow, jinja2, flask, opencv
- To draw a model use the following on terminal:
python easy_tensor_server.pyto launch drawer on localhost
generateon the webpage to generate model file out local directory, this will output a file in 'models' directory in the format
- Follow template on
debug0for a MultiLayerPerceptron Model,
debug1to run a CNN Model
- Launch Tensorboard using
tensorboard --logdir='[your dir]'to visualize in TF graph to check correctness
models/predict.pyto predict new digit images
- You must use a perceptron model after layers of CNN for flattening before output layer