I DON'T KNOW WHY AND HOW TO FIX IT.
I have the same error.
I have the same error, too. I have spent two days solving it. Maybe the format of your dataset is wrong. My dataset has 9 images whose format is .JPG while others are .jpg, so I correct them to .jpg, and then I overcome this error.
I have the same error, too. I have spent two days solving it. Maybe the format of your dataset is wrong. My dataset has 9 images whose format is .JPG while others are .jpg, so I correct them to .jpg, and then I overcome this error.
Thanks. I'll give it a try. Best regards.
You have to make sure that your images are in the directory structure as VOC.
Check voc0712.py in VOCDetection
self._imgpath = osp.join('%s', 'JPEGImages', '%s.jpg')
You can also change this as per need.
Most helpful comment
You have to make sure that your images are in the directory structure as VOC.
Check
voc0712.pyinVOCDetectionself._imgpath = osp.join('%s', 'JPEGImages', '%s.jpg')You can also change this as per need.