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

Display tensorboard widget as result of run_on_yarn #33

Open
jdlesage opened this issue Mar 12, 2019 · 0 comments
Open

Display tensorboard widget as result of run_on_yarn #33

jdlesage opened this issue Mar 12, 2019 · 0 comments
Labels
accepted Issue queued in the internal backlog good first issue Good for newcomers

Comments

@jdlesage
Copy link
Contributor

jdlesage commented Mar 12, 2019

DoD

  • Run_on_yarn spawns tensorboard iframe if running from a notebook

Implementation details
here the implementation of the widget in tensorflow2.0

def _display_ipython(port, height, display_handle):
  import IPython.display
  iframe = IPython.display.IFrame(
      src="http://localhost:%d" % port,
      height=height,
      width="100%",
  )
  if display_handle:
    display_handle.update(iframe)
  else:
IPython.display.display(iframe)

In case of tf-yarn, port and host of the tensorboard are stored in the skein kv-store

@jdlesage jdlesage added good first issue Good for newcomers accepted Issue queued in the internal backlog labels Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Issue queued in the internal backlog good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant