当我运行评估在脚本中,图像被评估,在日志中我可以看到可视化也被创建在图像上。
我已经将numèu示例设置为50个管道.config. 但是,50个图像没有评估。在评估了9张图片后(变化很大——有时5张,有时4张),我得到了一个错误 ValueError: Image with id 1531471339_visible.png already added.
ValueError: Image with id 1531471339_visible.png already added.
我不知道我哪里出错了。
注意:这是我自己训练的数据集。
评估配置:
eval_config { num_examples: 50 use_moving_averages: false } eval_input_reader { label_map_path: "/home/path/to/labelmap.pbtxt" tf_record_input_reader { input_path: "/home/path/to/file.tfrecord" } }
我收到了同样的错误信息。我通过添加
我的配置文件。
eval_config { num_examples: 50 use_moving_averages: false metrics_set: "coco_detection_metrics" }
然后错误信息消失。。。不知道为什么。也许你可以试一试。如果有用请告诉我。