keras-faster-rcnn icon indicating copy to clipboard operation
keras-faster-rcnn copied to clipboard

请问如何训练不带gtbox的图片

Open ashipiling opened this issue 5 years ago • 4 comments

首先感谢的作者的努力! 想问下您训练不带gtbox的图片,因为阳性目标与比较相似,想单独训练下背景图片。

ashipiling avatar Jan 20 '20 08:01 ashipiling

@ashipiling 生不带边框的xml文件,或者修改get_voc_data函数,没有xml标注文件时,bboxes为空列表

yizt avatar Jan 20 '20 08:01 yizt

@ashipiling 生不带边框的xml文件,或者修改get_voc_data函数,没有xml标注文件时,bboxes为空列表

感谢恢复。还有一点小问题:只是这样子做的话,算出来的iou也为空,会不会造成没有anchors和proposals传播到rpn和最终的分类网络。

ashipiling avatar Jan 20 '20 15:01 ashipiling

您好,没有gt就没有iou,该图像只有负anchor 和负roi

| | 易作天 | | 邮箱:[email protected] |

签名由 网易邮箱大师 定制

在2020年01月20日 23:03,Hao Luo 写道:

@ashipiling 生不带边框的xml文件,或者修改get_voc_data函数,没有xml标注文件时,bboxes为空列表

感谢恢复。还有一点小问题:只是这样子做的话,算出来的iou也为空,会不会造成没有anchors和proposals传播到rpn和最终的分类网络。

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

yizt avatar Jan 21 '20 04:01 yizt

@yizt 感谢作者详细解答。是我之前搞错了,我单独测试target这个py文件时用了空的gt列表在计算iou和negtive_anchors, 但实际上您在之前将gt列表经过了padding。

ashipiling avatar Jan 21 '20 14:01 ashipiling