GithubHelp home page GithubHelp logo

mnist's Introduction

MNIST

Tensorflow examples using MNIST.

How to Install TensorFlow using pip
https://www.tensorflow.org/install/install_linux#determine_how_to_install_tensorflow
Tested on cs50.io:
sudo pip install -U pip
sudo pip install tensorflow

MNIST For ML Beginners
softmax.py from https://www.tensorflow.org/get_started/mnist/beginners
Report Accuracy print.py

TensorBoard Demo
board.py TensorBoard Image image.py
https://www.tensorflow.org/get_started/summaries_and_tensorboard
needs to run in python before tensorboard
python board.py
tensorboard --logdir=/tmp/mnist_logs --port 8080
tensorboard defaut port 6006 may not be open
e.g. https://cicai-eniof.cs50.io

Predict from Image
predict.py requires :
sudo pip install --upgrade scipy
sudo pip install pillow
based on softmax.py L25 based on cnnPredict.py L3-11
trained on mnist.train.images[0] vs image imread('test3.png',mode='L')

expert.py from https://www.tensorflow.org/get_started/mnist/pros

Remove Tensorflow Warning
disable "cpu_feature_guard":
export TF_CPP_MIN_LOG_LEVEL=2

Older Examples

2L.py ReLu, Random W 2 Layer Feed-Forward Neural Network
http://stackoverflow.com/questions/38136961/how-to-create-2-layers-neural-network-using-tensorflow-and-python-on-mnist-data
https://cloud.google.com/blog/big-data/2017/01/learn-tensorflow-and-deep-learning-without-a-phd

ply.py on ipynb, view image data. See installJupyter.txt
Original:
https://github.com/random-forests/tutorials/blob/master/ep7.ipynb
https://www.youtube.com/watch?v=Gj0iyo265bc
Updated:
http://tneal.org/post/tensorflow-ipython/TensorFlowMNIST/
http://stackoverflow.com/questions/36651704/which-cmap-colormap-to-use-with-matplotlib-imshow-to-diplay-the-mnist-datase

Predict from Canvas see In [8]:
https://github.com/dmlc/mxnet-notebooks/blob/master/python/tutorials/mnist.ipynb

MNIST for Handwriting Prediction:
https://github.com/niektemme/tensorflow-mnist-predict

mnist's People

Contributors

eniompw avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.