ssd_keras icon indicating copy to clipboard operation
ssd_keras copied to clipboard

SSD_training: How to change input file path to remove the error 'No such file or directory: '../../frames/frame02374.png'?

Open ManjeeraJagiri opened this issue 7 years ago • 2 comments

When I run SSD_training, I recieve the following error: FileNotFoundError: [Errno 2] No such file or directory: '../../frames/frame02579.png'

I changed the input path for dataset(images) to try to avoid the error.Below is the change I made: path_prefix = 'C:/Users/in0131/Downloads/data(1)/VOCtrainval_06-Nov-2007/VOCdevkit/VOC2007/JPEGImages/' gen = Generator(gt, bbox_util, 16, 'C:/Users/in0131/Downloads/data(1)/VOCtrainval_06-Nov-2007/VOCdevkit/VOC2007/JPEGImages/', train_keys, val_keys, (input_shape[0], input_shape[1]), do_crop=False)

But I still receive the following error.It is still trying to find nonexistent 'frame02579' in my folder path: FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/in0131/Downloads/data(1)/VOCtrainval_06-Nov-2007/VOCdevkit/VOC2007/JPEGImages/frame02579.png'

Can anyone please tell me how to resolve this issue?

ManjeeraJagiri avatar Aug 29 '17 10:08 ManjeeraJagiri

You've probably figured this out, but if not...you could try doing some checks on the ipython notebook to see if you can open the image file using the directory you specified.

adamuas avatar Dec 21 '17 10:12 adamuas

Please check link https://github.com/rykov8/ssd_keras/issues/86

AniketGurav avatar Jan 05 '18 08:01 AniketGurav