tensorflow / profiler

A profiling and performance analysis tool for TensorFlow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors when serving tensorboard from subdirectory

yegortokmakov opened this issue · comments

In my case tensorboard is served in a subdirectory: http://hostname/tensorboard/. Profile plugin fails to load bundle.js:
GET https://hostname/data/plugin/profile/bundle.js net::ERR_ABORTED 404 (Not Found)
showuld be https://hostname/tensorboard/data/plugin/profile/bundle.js.

When fixing base url of the plugin index html, new error comes from bundle.js:
GET https://hostname/tensorboard/data/plugin/profile/tools 404 (Not Found)

Is it something that can be fixed easily? Or is it Tensorboards plugin system and not the Profiler plugin itself?

commented

It has been modified to support sub directories.
4182381

@ydko, awesome, thanks!

I just understood tensorboard-plugin-profile package is not built from this repo, but from tensorboard. install_and_run.py is using the version 2.2.0 from pypi and not the latest code.

How do I test the latest changes in this plugin? And what are your plans on packaging the code in this repo?

commented

The nightly package is built every day. You can test it with the nightly version.

pip install tbp-nightly

it works! thanks a lot @ydko