Open williamstein opened 6 years ago
I deployed a simple wrapper script /ext/bin/tensorboard
to intercept the tensorboard
command. Output without and with arguments:
~/build/smc-ansible$ tensorboard
When starting TensorBord, you need to at least specify the log directory:
tensorboard --logdir=/tmp/tensorflow/
~/build/smc-ansible$ tensorboard --logdir=/tmp/tensorflow
********************************************************************************
* To access TensorBoard, open up this URL in a new tab *
* https://cocalc.com/14eed217-2d3c-4975-a381-b69edcb40e0e/server/6006/ *
********************************************************************************
TensorBoard 0.4.0rc3 at http://project-14eed217-2d3c-4975-a381-b69edcb40e0e:6006 (Press CTRL+C to quit)
The project id comes from the $COCALC_PROJECT_ID
env variable.
big :+1: to the *.tensorboard
file idea with an iframe...
At a very bare minimum, make it so when they type
in a terminal, it prints in big letters:
then runs tensorboard with all the same options.
Better would be to change the URL that it prints out to the one at the above wiki page involving the project_id.
Even better would be to have a new file editor type called ".tensor-board" (say), which starts the server automatically, shows the output in an iframe (with link to open in another tab), and has an input field to specify the log directory where tensorflow is running. It should also have a link to a tutorial.