Closed movie3105 closed 5 years ago
haha, you are welcome.
@S0soo sir can you help me to figure out how to load the checkpoint to continue training ? cause i didn't know how to do that till now. in case you have a free time
you may need to modify some code to continue training from the checkpoint. this may require you to understand his entire framework. if you can accept some loss of efficiency, i think you can replace the pre-training file with a checkpoint file. i have not tried it, but I think this can help you to some extent.
if you only want to continue training from the checkpoint, you can look at the code used to read the checkpoint in the test file.
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 "E:\Program\Faster-RCNN-TensorFlow-Python3-master\lib\datasets\imdb.py", line 112, in append_flipped_images
widths = self._get_widths()
File "E:\Program\Faster-RCNN-TensorFlow-Python3-master\lib\datasets\imdb.py", line 108, in _get_widths
for i in range(self.num_images)]
File "E:\Program\Faster-RCNN-TensorFlow-Python3-master\lib\datasets\imdb.py", line 108, in
for i in range(self.num_images)]
File "E:\Program\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 "E:\Program\Faster-RCNN-TensorFlow-Python3-master\lib\datasets\pascal_voc.py", line 72, in image_path_from_index
'Path does not exist: {}'.format(image_path)
AssertionError: Path does not exist: E:\Program\Faster-RCNN-TensorFlow-Python3-master\data\VOCdevkit2007\VOC2007\JPEGImages\000005.jpg
@morpheusthewhite why this error occured ? i already delete all the former training data a at E:\Program\Faster-RCNN-TensorFlow-Python3-master\data\VOCdevkit2007\VOC2007\JPEGImages and change it to my own dataset but why it searching for the old dataset ?
Originally posted by @movie3105 in https://github.com/dBeker/Faster-RCNN-TensorFlow-Python3/issues/82#issuecomment-512147525