Skip to content

OSC/ood-tensorboard

Repository files navigation

Tensorboard App

Install

Version v0.0.1 is the current working version. The solution is brittle as it is coded against tensorboard included in tensorflow 1.9 and will need updated to work with later versions of tensorboard until we can cleanly deploy tensorboard as a Passenger app.

cd ~/ondemand/dev
git clone https://github.com/OSC/ood-tensorboard.git
ood-tensorboard
git checkout v0.0.1
bin/setup

Then access as a normal OnDemand Passenger app. Note: you need to access https://ondemand-test.osc.edu/pun/dev/ood-tensorboard/ not https://ondemand-test.osc.edu/pun/dev/ood-tensorboard (the trailing slash matters). The app will need to be fixed to handle URLs better.

The URL API is GET /load?logdir=/path/to/tensorflow/logs/directory which will load the tensorboard app with the given path, and then the response will be a redirect to the URL with the app.