Created
August 15, 2020 01:28
-
-
Save Namburger/a5e430db95203f4822028c7039590b7e to your computer and use it in GitHub Desktop.
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
%cd /content | |
!wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip | |
!unzip -o ngrok-stable-linux-amd64.zip | |
# Starts tensorboard, so we can monitor the training process. | |
get_ipython().system_raw( | |
'tensorboard --logdir {} --host 0.0.0.0 --port 6006 &' | |
.format('/content/train') | |
) | |
get_ipython().system_raw('./ngrok http 6006 &') | |
print('Click on link below to track progress:') | |
import time | |
time.sleep(1) | |
!curl -s http://localhost:4040/api/tunnels | python3 -c \ | |
"import sys, json; print(json.load(sys.stdin)['tunnels'][0]['public_url'])" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment