1. 首先需要知道tensorboard.py的路徑:
在terminal輸入
cpu版tensorflow:pip3 show tensorflow
gpu版tensorflow:pip3 show tensorflow-gpu
Name: tensorflow-gpu
Version: 1.0.1
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email: [email protected]
License: Apache 2.0
Location: /home/deeplearning/.local/lib/python3.5/site-packages
Requires: protobuf, wheel, six, numpy
2. cd 到對應目錄下
cd /home/deeplearning/.local/lib/python3.5/site-packages/tensorflow/tensorboard
3. 啓動tensorflow:
python ./tensorboard.py --logdir=/media/deeplearning/A6A6190BA618DD9D/cyril/tf_ConvWTA/log/conv_ae