invalid bounding boxes error during draining faster rcnn

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.

답변 (1개)

T.Nikhil kumar
T.Nikhil kumar 2024년 1월 3일

0 개 추천

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!

카테고리

도움말 센터File Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

질문:

2023년 12월 3일

답변:

2024년 1월 3일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by