- Images which doesn’t have proper bounding boxes surrounding the object that is there is a mis match between object boundaries and actual bounding boxes.
- Images where object doesn’t exist but there are bounding boxes.
- Images where object is there but bounding boxes are not there.
how to train negative example in faster RCNN model
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm working on a faster RCNN model, and I'm asking how training this model with negative examples?
can anybody help me to know that!
0 个评论
回答(2 个)
Raunak Gupta
2020-3-18
Hi,
From negative examples I assume you mean images in dataset which doesn’t have the objects in it. So, if you are training Faster RCNN detector using trainFasterRCNNObjectDetector I would suggest including some images as follow
I assume you may not have images satisfying above three conditions So, you can create your own dataset by labelling the images in Image Labeler App.
8 个评论
Dominique Chabot
2020-8-13
Thank you for your further reply, Raunak.
It's good to know that you think the approach in the 2nd point is achievable, and it indeed looks like perhaps the best/easiest way to go.
I had also thought of the possibility of training the object detector on a dedicated 'background' class, and I thank you for the example of how to format the table. I feel like this approach might end up being more of a hassle than the 'whole image' classification approach, but I'll definitely give it some more thought.
Thanks again, and take care!
hammad younas
2022-1-27
Hi there,
Training a faster R-CNN network with own defined "background class" is a big mess. It is for the reason that you are treating the background class as "object of interest" which is not your intention. Thus i would suggest NOT to use this approach as you would end up with incorrect results.
Regards
Rus Gabriela
2021-12-21
Hi Raunak,
I have a question too.
I am really new to Matlab and AI and I want to learn a little bit about object detection. I made Object Detection Using YOLO v2 Deep Learning from examples and works fine, but I want to test this detector on a new image (not from TestData). My question is: Can I use this Detector for unlabeled pictures (not from training data or TestData) from my PC?
2 个评论
yanqi liu
2021-12-22
yes,sir,may be use
[bboxes,scores] = detect(detector,Ii,'Threshold',0.15);
to detect target on new image
Rus Gabriela
2021-12-22
Thank you! I used this variable but not like this and wasn't work, but now it's fine.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!