Hand Written Digit Predictor
Jupyter Notebook HTML Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
data robot vision Feb 19, 2016
predictor_app cleaning up Mar 16, 2016
tensor_flow_logs robot vision Feb 19, 2016
.gitignore stuff Feb 9, 2016
README.md Update README.md Jan 13, 2018
Robot Vision.pdf pdf Feb 19, 2016
character_vision.ipynb cleaning up Feb 18, 2016
neural_net_logging.ipynb updated readme Feb 22, 2016
neural_net_no_logs.ipynb updated readme Feb 22, 2016
requirements.txt cleaning up Mar 16, 2016


Prerequisites and Instructions

The notebooks use the MNIST data and classify it with KNN and CNN.

To launch Tensorboard navigate to the tensor_flow_logs folder and use:

python ~/path/to/python/tensorflow/tensorboard/tensorboard.py --logdir=${PWD}

To launch the prediction app:


python number_prediction_app.py

Open Browser at localhost:8080

About this Project

This repo is an app that uses a Convolutional Neural Network built in Tensorflow and trained on MNIST data to predict a number drawn by a user in d3.js

Fixes for new versions of TF

Error --> ModuleNotFoundError: No module named 'tensorflow.tensorboard.tensorboard' Solution --> https://github.com/tensorflow/tensorflow/issues/10959

Run from: python ~/path/to/python/tensorflow/tensorboard/tensorboard.py --logdir=${PWD} to: tensorboard --logdir=output

Error --> 'module' object has no attribute 'scalar_summary' Solution --> https://stackoverflow.com/questions/41066244/tensorflow-module-object-has-no-attribute-scalar-summary

Change code from: tf.scalar_summary(...) to: tf.summary.scalar(...)

Error --> AttributeError: 'module' object has no attribute 'merge_all_summaries' Solution --> https://github.com/tensorflow/models/issues/1066

Change code from: summary_op = tf.merge_all_summaries() to: summary_op = tf.summary.merge_all()