did anyone know how to train a Faster R-CNN detector to detect multiple object classes?
1 次查看(过去 30 天)
显示 更早的评论
i wanna to train a Faster R-CNN detector to detect multiple object classes. but from document just some example train a Faster R-CNN detector to detect sigle object classes. hava no idea how to after try something hard.
0 个评论
回答(1 个)
Harshita Gupta
2019-3-7
Multiple objects can be detected by formatting the input "trainingData" to contain information about multiple object classes. If you refer to the documentation:
you will note that the labeled ground truth "trainingData" has to be formatted as:
Labeled ground truth images, specified as a table with two or more columns. The first column must contain paths and file names to grayscale or truecolor (RGB) images. The remaining columns must contain bounding boxes related to the corresponding image. Each column represents a single object class, such as a car, dog, flower, or stop sign."
In the example linked above the "trainingData" consists of only two columns with the second column representing the object class vehicle. For detecting multiple objects, you have to label your images for the new objects you want to detect and modify the "trainingData" accordingly.
2 个评论
dhruv khatri
2019-6-12
编辑:dhruv khatri
2019-6-12
What if we have multiple bounding boxes in the same ground truth image? Like for a single image, multplie stop signs. How should be format our training data then?
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!