tobigithub / tensorflow-deep-learning

google tensorflow deep learning for big data examples
201 stars 47 forks source link

WARNING:root:IOError [Errno 2] /tensorflow/tensorboard/lib/svg/summary-icon.svg #3

Open tobigithub opened 9 years ago

tobigithub commented 9 years ago

WARNING:root:IOError [Errno 2] No such file or directory happens for the cifar example when tensorboard is started on http://localhost:6006/

127.0.0.1 - - [21/Nov/2015 19:40:23] "GET /external/promise-polyfill/Promise.js HTTP/1.1" 200 -
127.0.0.1 - - [21/Nov/2015 19:40:24] "GET /external/web-animations-js/web-animations-next-lite.min.js HTTP/1.1" 200 -
127.0.0.1 - - [21/Nov/2015 19:40:24] "GET /runs HTTP/1.1" 200 -
127.0.0.1 - - [21/Nov/2015 19:40:46] "GET /runs HTTP/1.1" 200 -
WARNING:root:IOError [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/lib/svg/summary-icon.svg' on path /usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/lib/svg/summary-icon.svg
127.0.0.1 - - [21/Nov/2015 19:40:46] "GET /lib/svg/summary-icon.svg HTTP/1.1" 200 -
127.0.0.1 - - [21/Nov/2015 19:40:47] "GET /graph?run=%2Ftmp%2Fcifar10_train%2F HTTP/1.1" 200 -
tobigithub commented 9 years ago

THIS CAN ONLY BY RESOLVED by installing all required tensorflow libraries and dependencies


# Install pyton virtual environment
sudo apt-get install python-pip python-dev python-virtualenv
virtualenv --system-site-packages ~/tensorflow
cd ~/tensorflow

# Now create pyhton virtual environment 
source bin/activate

# Now install tensorflow itself CPU only 
# This will install tensorflow to ~/tensorflow/lib/python2.7/site-packages/tensorflow/
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

# call an example program
wget https://raw.githubusercontent.com/tobigithub/tensorflow-deep-learning/master/examples/hello-tensorflow.py
python hello-tensorflow.py

# Deactivate the virtualenv
deactivate  
ruffsl commented 9 years ago

I'm experiencing similar warnings using the available docker image provided by tensor flow: b.gcr.io/tensorflow/tensorflow-full

WARNING:root:IOError [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/favicon.ico' on path /usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/favicon.ico
WARNING:root:IOError [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/lib/svg/summary-icon.svg' on path /usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/lib/svg/summary-icon.svg

Thus resulting in some missing graphics: screenshot from 2015-12-02 13 38 43-2

I think this is what was preventing me from seeing a rendered graph view firefox, as chrome seems to load the graph page anyhow with a dummy figure.

tobigithub commented 8 years ago

I was not even able to see the beautiful pictures you see, only the events.