小编Jak*_*bbi的帖子

在Tensorflow对象检测API中引发ValueError('已添加ID为{}的图像。'。format(image_id))

使用tensorflow对象检测api中的ssd_mobilenet_v1_coco进行图像训练就可以了。

在测试时出现错误:

File "/home/hipstudents/anaconda3/envs/tensorflow_gpuenv/lib/python3.6/site-packages/object_detection-0.1-py3.6.egg/object_detection/utils/object_detection_evaluation.py", line 203, in add_single_ground_truth_image_info
raise ValueError('Image with id {} already added.'.format(image_id))
Run Code Online (Sandbox Code Playgroud)

请帮忙。

System Info:

What is the top-level directory of the model you are using: ~/
Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes, written scripts to convert .xml files to tf record 
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
TensorFlow installed from (source or binary): Compiled from source
TensorFlow version (use command …
Run Code Online (Sandbox Code Playgroud)

tensorflow object-detection-api

6
推荐指数
1
解决办法
2048
查看次数

标签 统计

object-detection-api ×1

tensorflow ×1