【问题标题】:Evaluation metrics not displayed on Tensorboard评估指标未显示在 Tensorboard 上
【发布时间】:2018-11-11 12:59:18
【问题描述】:

在训练 Tensorflow 对象检测模型时,我想查看测试数据的平均精度 (mAP)。在两个控制台中运行train.py和eval.py,可以查看训练数据的丢失率,甚至可以通过

查看测试集图像中检测到的物体

张量板 --logdir=model_dir/

但是没有显示测试集的精度标量。

我在 windows 10 上使用 python 3,并使用成功安装了 pycocotools;

pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

干杯

【问题讨论】:

    标签: python tensorflow tensorboard


    【解决方案1】:

    我以为我遇到了这个问题,因此投了赞成票。但我只是没有等待足够长的时间。让 eval 与 train 作业一起运行至少几个小时或更长时间。

    【讨论】:

      【解决方案2】:

      @Graham Monkman 是否必须让 eval 和 train 作业一起运行,以便我可以获得评估指标(mAP 等)?

      【讨论】:

      • 这是必须的 - 如果您想查看验证集的评估。在本地,我发现它同时运行很慢,因此需要一段时间才能出现在 tensorboard 上。
      猜你喜欢
      • 2019-08-01
      • 2021-10-10
      • 2017-04-13
      • 1970-01-01
      • 2019-01-21
      • 1970-01-01
      • 1970-01-01
      • 2021-03-05
      • 1970-01-01
      相关资源
      最近更新 更多