Skip to content

Commit

Permalink
Update TensorBoard launcher script to not use deprecated API (#15991)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceerhl authored Apr 19, 2021
1 parent a77741c commit 21acd50
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pythonFiles/tensorboard_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@

def main(logdir):
os.environ["VSCODE_TENSORBOARD_LAUNCH"] = "1"
tb = program.TensorBoard(
default.get_plugins(),
program.get_default_assets_zip_provider(),
)
tb = program.TensorBoard()
tb.configure(bind_all=False, logdir=logdir)
url = tb.launch()
sys.stdout.write("TensorBoard started at %s\n" % (url))
Expand Down

0 comments on commit 21acd50

Please sign in to comment.