Hi Team,
I am trying to get the tensorbaord spin up when i am training a model in the jupyter notebook in dnanexus RAP. I have followed the tutorial for tensorboard-web-app, but getting error to run it. But still i am not sure if I will be able to use the same approach to visualise my own training in the jupyter notebook.
I could run tensorboard and logs are generated but the main issue is to get the correct URL to view it in the browser.
Thanks for the clarification and help. I will try the suggested alternative to view the logs. The error in TensorFlow app was due to the version of ubuntu. I fixed it and it worked.
Doing some more digging, it looks like due to how the ports are setup on RAP that you currently cannot run Tensorboard inside the jupyter notebook notebook. However, internally we're looking into possible alternatives
Just for reference here is how to setup the Tensorboard app and run it via CLI (which you've already accomplished) and what I found looking into running Tensorboard inside jupyter notebooks
0
Permanently deleted user
Thanks @Alexandra Lee? for the suggestions. Its really helpful.
Comments
6 comments
Hi Richa,
What error are you running into? Is this an error getting the tensorflow app installed (following the instructions in github here: https://github.com/dnanexus/dnanexus-example-applets/tree/master/Tutorials/bash/tensorboard-web-app)? Or is this downstream?
Alternatively you can plot the loss curves inside a python function doing something like this:
https://github.com/greenelab/ponyo/blob/683e6ec21a1297563b37e5f476dd921ef70b1897/ponyo/vae.py#L333
https://github.com/greenelab/ponyo/blob/master/examples/Example_simulate_by_random_sampling.ipynb
Thanks for the clarification and help. I will try the suggested alternative to view the logs. The error in TensorFlow app was due to the version of ubuntu. I fixed it and it worked.
Doing some more digging, it looks like due to how the ports are setup on RAP that you currently cannot run Tensorboard inside the jupyter notebook notebook. However, internally we're looking into possible alternatives
Just for reference here is how to setup the Tensorboard app and run it via CLI (which you've already accomplished) and what I found looking into running Tensorboard inside jupyter notebooks
Thanks @Alexandra Lee? for the suggestions. Its really helpful.
Alexandra Lee When you write "Just for reference here is how to setup the Tensorboard app and run it via CLI", did you mean to include a link?
FYI, there is currently a permissions problem with the solution linked on this thread. I have reported it on the relevant repo. https://github.com/dnanexus/dnanexus-example-applets/issues/22
Please sign in to leave a comment.