Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to specify a directory for Tensorboard as it starts? #9

Open
alexgorbachev opened this issue Feb 5, 2019 · 5 comments

Comments

@alexgorbachev
Copy link

alexgorbachev commented Feb 5, 2019

I need to launch Tensrboard for the directory in Google Cloud Storage (gs://bucket/directory). Any way to customize Tensorboard's directory on starting it?

@manuzhang
Copy link

It seems any directory will work if we simply pass it through. @chaoleili Any reason to read the contents of the directory first ?

@alexgorbachev
Copy link
Author

JupyterLab UI must be passing the current directory... from the left-hand sidebar. not sure how to specify another one...

@manuzhang
Copy link

@alexgorbachev Feel free to try out https://github.com/manuzhang/jupyterlab_tensorboard/tree/remote_logdir which allows you to specify a directory

@chesterli29
Copy link
Owner

Great idea @manuzhang! It's unnecessary to check the existence of the directory. I change the start way of staring a tensorboard at this batch supportSepecifyDir. @alexgorbachev you can try this command to rebuild package:

git clone [email protected]:chaoleili/jupyterlab_tensorboard.git
git checkout supportSpecifyDir
npm install
npm run build
jupyter labextension link .

But this only supports local path, and if you want to use Google Cloud Storage, I need some time to finish this feature.

@chesterli29
Copy link
Owner

@alexgorbachev I checked jupyter_tensorboard code. it doesn't support gs or other s3 storage: https://github.com/lspvic/jupyter_tensorboard/blob/5d6fa13ecfeb27ee446ed8533c5236e21ba79b3a/jupyter_tensorboard/tensorboard_manager.py#L139, you can create an issue in jupyter_tensorboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants