tensorboard: command not found

前端 未结 5 1362
温柔的废话
温柔的废话 2021-02-05 05:22

I installed TensorFlow on my MacBook Pro 10.12.5 from source code by steps described here. https://www.tensorflow.org/install/install_sources

TensorFlow itself works wel

5条回答
  •  醉梦人生
    2021-02-05 06:10

    If no other methods work then try this one. It may help you.
    1. check the location of Tensorflow

    pip show tensorflow
    

    It will show output something like this.
    ...
    Name: tensorflow
    Version: 1.4.0
    Location: /home/abc/xy/.local/lib/python2.7/site-packages
    ...
    2. Go to that location you get from the above output.

    cd /home/abc/xy/.local/lib/python2.7/site-packages
    

    There you can see a directory named tensorboard.

    cd tensorboard
    

    3. There must be a file named 'main.py'.
    4. Execute the following command to launch the tensorboard.

    python main.py --logdir=/path/to/log_file/
    

提交回复
热议问题