Search code examples
pythontensorflowtensorboard

Launching Tensorboard


I've tried launching tensorboard on Windows. I typed into cmd:

cd <my_project_path>

then:

<path_to_tensorboard_in_python_site_packages> --logdir=<path_to_my_model_logs>

But it doesn't work at all. What am I doing wrong?


Solution

  • The problem was that It was adviced to get tensorboard from site-packages folder. But it doesn't work. The solution is to get tensorboard from Scripts file, e.g. for me it was:

    C:\Users\martin\AppData\Local\Programs\Python\Python37\Scripts\tensorboard

    So at first point to the project directory, e.g. for me:

    cd C:\Users\martin\Desktop\CARLA\WindowsNoEditor_0.9.9.4\PythonAPI\examples

    Then:

    C:\Users\martin\AppData\Local\Programs\Python\Python37\Scripts\tensorboard --logdir=logs

    Then just go to the localhost the cmd advise you to go :)