'tensorboard' is not recognized as an internal or external command,

匆匆过客 提交于 2019-12-03 00:49:25

I had the same problem for tensorflow 1.5.0 and windows10.

Following tensor documentation ("Launching TensorBoard" section), you can try:

python -m tensorboard.main --logdir=[PATH_TO_LOGDIR]

Now tensorboard is working properly for me.

I also had the same sort of problem while running tensorboard from cmd, if your tensorflow installation was done using conda, then you can launch tensorboard from the Anaconda prompt as follows:

activate tensorflow
tensorboard --logdir=path to your log files
Nagesh
  1. Open Anaconda prompt
  2. activate tensorflow environment e.g. activate Test1-Tensor

  3. tensorboard --logdir=path to your log files, put entire path. e.g.

Try the following:

C:\Users\tushar\PycharmProjects>python -m tensorflow.tensorboard --logdir="NewTF"

If you're using Anaconda as your python environment, make sure to activate it before trying to open tensorboard.

Would look like this in your case:

C:\Users\tushar\PycharmProjects>conda activate YourCondaEnv && tensorboard --logdir="NewTF"

How to open launch TensorBoard with Anaconda Enviroment

First make sure that you are downloaded PACKAGE of tensorboard

1. Open Anaconda

2. Click on PLAY button , then you will see "Open Terminal" and click 3. Go to your main project directory (where you store logs directory)

4. Call following python script to launch TensorBoard

#EXAMPLE (python -m tensorboard.main --logdir=logs/)
python -m tensorboard.main --logdir='your log dir'

5. FINISH

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!