Created
January 11, 2019 18:04
-
-
Save Thanatoz-1/ef1fd74dc36d81c95efaff3d731e0d2f to your computer and use it in GitHub Desktop.
Code for running tensorboard using colab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !!! RUN THIS CELL ONLY ON GOOGLE COLAB !!! | |
! wget https://raw.githubusercontent.com/hse-aml/intro-to-dl/master/setup_google_colab.py -O setup_google_colab.py | |
import setup_google_colab | |
# run tensorboard in background | |
import os | |
os.system("tensorboard --logdir=./logs --host 0.0.0.0 --port 6006 &") | |
# expose port and show the link | |
setup_google_colab.expose_port_on_colab(6006) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment