How do I install TensorFlow's tensorboard?

前端 未结 13 1606
慢半拍i
慢半拍i 2020-12-24 05:25

How do I install TensorFlow\'s tensorboard?

13条回答
  •  被撕碎了的回忆
    2020-12-24 05:45

    It may be helpful to make an alias for it.

    Install and find your tensorboard location:

    pip install tensorboard
    pip show tensorboard
    

    Add the following alias in .bashrc:

    alias tensorboard='python pathShownByPip/tensorboard/main.py'
    

    Open another terminal or run exec bash.

    For Windows users, cd into pathShownByPip\tensorboard and run python main.py from there.

    For Python 3.x, use pip3 instead of pip, and don't forget to use python3 in the alias.

提交回复
热议问题