Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/opengl/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Tensorflow Google Colab上的Tensorboard返回链接,但不返回';我什么也不做_Tensorflow_Object Detection_Google Colaboratory_Tensorboard_Object Detection Api - Fatal编程技术网

Tensorflow Google Colab上的Tensorboard返回链接,但不返回';我什么也不做

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

我一直在使用GoogleColab使用TensorFlowAPI进行对象检测,目前,该模型已经在接受培训。 我需要查看正在进行的训练的张力板

这是培训电话:

!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

    空白-无输出

  • 我在“笔记本电脑中的tensorboard.ipynb”中找到了这个

  • 已知张力板实例:
    -端口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'