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 anyway I can start tensorboard programaly #35

Open
jyhong836 opened this issue Nov 27, 2018 · 0 comments
Open

Is there anyway I can start tensorboard programaly #35

jyhong836 opened this issue Nov 27, 2018 · 0 comments

Comments

@jyhong836
Copy link

I want to start a tensorboard like jupyter-tensorboard do when I am using jupyter-ipython. Is there any way I do that.
For example:

logdir = 'a/bb/ccc' #relative to root dir.
start_tensorboard(logdir)

I try to send a request, but it doesn't work, though.

data = {'logdir':  'a/bb/ccc'}
content_type = {"Content-Type": "application/json"}
req = requests.Request('POST', 'http://localhost:8888/api/tensorboard', 
                             data=data, headers=content_type)
r = session.send(req.prepare())
print(r.text)
# output:
# {"message": "Forbidden", "reason": null}
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

1 participant