xxxxxxxxxx
LOG_DIR = '/tmp/log'
get_ipython().system_raw(
'tensorboard --logdir {} --host 0.0.0.0 --port 6006 &'
.format(LOG_DIR)
)
xxxxxxxxxx
%load_ext tensorboard
#if you want to monitor progress during training
%tensorboard --logdir logs
model.fit( )
#if you want to monitor progress after training
%tensorboard --logdir logs
xxxxxxxxxx
! wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
! unzip ngrok-stable-linux-amd64.zip
xxxxxxxxxx
! curl -s http://localhost:4040/api/tunnels | python3 -c \
"import sys, json; print(json.load(sys.stdin)['tunnels'][0]['public_url'])"