Loaded dataset voc_2007_trainval for training
Set proposal method: gt
Appending horizontally-flipped training examples...
Traceback (most recent call last):
File "train.py", line 215, in
train = Train()
File "train.py", line 69, in init
self.imdb, self.roidb = combined_roidb("voc_2007_trainval")
File "train.py", line 48, in combined_roidb
roidbs = [get_roidb(s) for s in imdb_names.split('+')]
File "train.py", line 48, in
roidbs = [get_roidb(s) for s in imdb_names.split('+')]
File "train.py", line 45, in get_roidb
roidb = get_training_roidb(imdb)
File "train.py", line 25, in get_training_roidb
imdb.append_flipped_images()
File "/media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/lib/datasets/imdb.py", line 112, in append_flipped_images
widths = self._get_widths()
File "/media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/lib/datasets/imdb.py", line 108, in _get_widths
for i in range(self.num_images)]
File "/media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/lib/datasets/imdb.py", line 108, in
for i in range(self.num_images)]
File "/media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/lib/datasets/pascal_voc.py", line 63, in image_path_at
return self.image_path_from_index(self._image_index[i])
File "/media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/lib/datasets/pascal_voc.py", line 72, in image_path_from_index
'Path does not exist: {}'.format(imagepath)
AssertionError: Path does not exist: /media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/data/VOCdevkit2007/VOC2007/JPEGImages/showImages(100).jpg
When I train on my own datasets, this error came out. But I do have this picture in the same folder. And I checked , the file path is correct。
How to solve this.
Loaded dataset
train = Train()
File "train.py", line 69, in init
self.imdb, self.roidb = combined_roidb("voc_2007_trainval")
File "train.py", line 48, in combined_roidb
roidbs = [get_roidb(s) for s in imdb_names.split('+')]
File "train.py", line 48, in
roidbs = [get_roidb(s) for s in imdb_names.split('+')]
File "train.py", line 45, in get_roidb
roidb = get_training_roidb(imdb)
File "train.py", line 25, in get_training_roidb
imdb.append_flipped_images()
File "/media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/lib/datasets/imdb.py", line 112, in append_flipped_images
widths = self._get_widths()
File "/media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/lib/datasets/imdb.py", line 108, in _get_widths
for i in range(self.num_images)]
File "/media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/lib/datasets/imdb.py", line 108, in
for i in range(self.num_images)]
File "/media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/lib/datasets/pascal_voc.py", line 63, in image_path_at
return self.image_path_from_index(self._image_index[i])
File "/media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/lib/datasets/pascal_voc.py", line 72, in image_path_from_index
'Path does not exist: {}'.format(imagepath)
AssertionError: Path does not exist: /media/amax/data/syq/yolov5detect/Faster-RCNN-TensorFlow-Python3-master/data/VOCdevkit2007/VOC2007/JPEGImages/showImages(100).jpg
voc_2007_trainval
for training Set proposal method: gt Appending horizontally-flipped training examples... Traceback (most recent call last): File "train.py", line 215, inWhen I train on my own datasets, this error came out. But I do have this picture in the same folder. And I checked , the file path is correct。 How to solve this.