Tensorflow Google Colab上的Tensorboard返回链接,但不返回';我什么也不做
我一直在使用GoogleColab使用TensorFlowAPI进行对象检测,目前,该模型已经在接受培训。 我需要查看正在进行的训练的张力板 这是培训电话:Tensorflow Google Colab上的Tensorboard返回链接,但不返回';我什么也不做,tensorflow,object-detection,google-colaboratory,tensorboard,object-detection-api,Tensorflow,Object Detection,Google Colaboratory,Tensorboard,Object Detection Api,我一直在使用GoogleColab使用TensorFlowAPI进行对象检测,目前,该模型已经在接受培训。 我需要查看正在进行的训练的张力板 这是培训电话: !python 'Object Detection/models/research/object_detection/legacy/train.py' --logtostderr --train_dir='Object Detection/Model'/ --pipeline_config_path='Object Detection/Fa
!python 'Object Detection/models/research/object_detection/legacy/train.py' --logtostderr --train_dir='Object Detection/Model'/ --pipeline_config_path='Object Detection/Faster_RCNN.config'
我尝试了以下命令,结果如下:
!tensorboard--logdir='Object Detection/Model'
张力板1.15.0 athttp://cca84e64bb22:6006/ (按CTRL+C退出)
%tensorboard--logdir='Object Detection/Model'
它显示了发射张力板…
几秒钟后就结束了
%load_ext tensorboard
张力板扩展已加载。要重新加载,请使用:
%重新加载外部张力板
%reload_ext tensorboard
空白-无输出
已知张力板实例:
-端口6006:logdir/对象检测/模型(0:07:12前开始;pid 795)
选择带有logdir对象检测/模型的TensorBoard(0:07:12前开始;端口6006,pid 795)。
/tools/node/bin/lt->/tools/node/lib/node\u modules/localtunnel/bin/lt.js
+ localtunnel@2.0.0
在1.601s中更新了1个软件包
创建的url.txt文件为空
替换
!tensorboard --logdir='Object Detection/Model'
与
LOG_DIR = 'Object Detection/Model'
get_ipython().system_raw(
'tensorboard --logdir {} --host 0.0.0.0 --port 6006 &'
.format(LOG_DIR)
)
# Install
! npm install -g localtunnel
# Tunnel port 6006 (TensorBoard assumed running)
get_ipython().system_raw('lt --port 6006 >> url.txt 2>&1 &')
# Get url
! cat url.txt
!tensorboard --logdir='Object Detection/Model'
%tensorboard --logdir='Object Detection/Model'