- 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
    10 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
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 comentarios
Respuestas (2)
  Raunak Gupta
    
 el 18 de Mzo. de 2020
        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 comentarios
  Dominique Chabot
 el 13 de Ag. de 2020
				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
 el 27 de En. de 2022
				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
 el 21 de Dic. de 2021
        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 comentarios
  yanqi liu
      
 el 22 de Dic. de 2021
				yes,sir,may be use
[bboxes,scores] = detect(detector,Ii,'Threshold',0.15);
to detect target on new image
  Rus Gabriela
 el 22 de Dic. de 2021
				Thank you! I used this variable but not like this and wasn't work, but now it's fine. 
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!






