invalid bounding boxes error during draining faster rcnn
1 回表示 (過去 30 日間)
古いコメントを表示
hi everone i am training faster rcnn during training i faced problem of invalid bounding boxes.i used herper function mentioned in faster rcnn and yolo examples in matlab (which is helperSanitizeBoxes function) but this cannot remove invalid boxes .my code is attached.
0 件のコメント
回答 (1 件)
T.Nikhil kumar
2024 年 1 月 3 日
Hello Ahmad,
As per my understanding, you want to train a Faster RCNN network on your own dataset and are facing an invalid bounding box error.
The values of valid bounding boxes are expected to be finite, positive, non-fractional, non-NaN and should be within the image boundary with a positive height and width. All the invalid instances of bounding boxes in the dataset need to be deleted or modified to valid values.
As mentioned in the MathWorks example, the ‘helperSanitizeBoxes’ function should help in checking invalid bounding boxes.
Alternatively, I would suggest you try using a similar implementation of a dataset validation function ‘validateInputData.m’ in the ‘Object Detection using YOLOv3 network’ example attached below, for your purpose. You can validate your combined datastore ‘cds’ using this function and remove/modify invalid entries.
Open the example using ‘Copy Command’ and view the definition of the function in the folder.
Hope this helps!
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!