Python Tensorflow and Matplotlib for development of neural network
324
xhost +
docker run -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix \
-v /root/.Xauthority:/root/.Xauthority:rw \
-v /root/neural-network:/root/neural-network \
--net=host --name neuron sanjose/tf-matplotlib bash
Where "/root/neural-network" is the directory your development scripts locate
python /root/simple_neural_network.py
You will expect 4 images displayed on screen and the classification on the console
Prerequisites:
If by accident there is an error, you can check the numpy version
python -c "import numpy as np; print np.__version__"
It should give you a version 1.13 or later
You may update the version by reinstalling numpy
pip uninstall numpy
pip install -U numpy
Good luck !!
Content type
Image
Digest
Size
253.1 MB
Last updated
almost 9 years ago
docker pull sanjose/tf-matplotlib