物体检测,Error: maximum box coordinate value is too large

使用ssd目标检测,出现error:maximum box coordinate value is larger than 1.100000: ] [1.325]

主要原因在于,用labelImg 标记的目标太小,以及标记工具出现问题

1 deleted all boxes that are less than 1/16 th of the image size and the training works fine.,https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10/blob/master/sizeChecker.py

if x_value < 33 or y_value < 33: 删除,shutil.move(file, tree + '/wrong_data/')

2.忽视结果

Actually, I just ignore this error, change the ./core/box_list_ops.py
`max_assert = tf.Assert(tf.greater_equal(1.1, box_maximum), ['maximum box coordinate value is larger ' 'than 1.1: ', box_maximum])`
1.01 to 1.1, as my error max value is 1.014.
By this way to make the code keep on. Seems the result is not affected.

参考链接:https://github.com/tensorflow/models/issues/1754

posted @ 2019-02-13 20:54  胡里糊涂  阅读(1344)  评论(0编辑  收藏  举报