Sign inSign up

sanjose/tf-matplotlib

By sanjose

Updated almost 9 years ago

Python Tensorflow and Matplotlib for development of neural network

Image
0

324

sanjose/tf-matplotlib repository overview


Python Tensorflow and Matplotlib on Centos 7 For Development of Neural Network

Run the container

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

Test the container

python /root/simple_neural_network.py

You will expect 4 images displayed on screen and the classification on the console

Prerequisites:

  • graphical interface should be available on the Operating System
  • X11 should be enabled

Troubleshoot

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 !!

Reference:

Tensorflow Examples

Tag summary

Content type

Image

Digest

Size

253.1 MB

Last updated

almost 9 years ago

docker pull sanjose/tf-matplotlib