No such file or directory
laybebe opened this issue · 6 comments
I train the model after I refer to GET_STARTED.md for preparation. However, the following problems have arisen:
FileNotFoundError: [Errno 2] No such file or directory: 'data/bdd/images/10k/train/fee92217-63b3f87f.jpg'.
I checked the json file and the dataset. I found that certain image names appear in the json file, but could not find the jpg file in the corresponding folder. Please help me!
Hi, is just this single image missing or missing a lot of image files?
Hi, is just this single image missing or missing a lot of image files?
So far I only found four image missing(fee92217-63b3f87f.jpg,ff1e4d6d-f4d85cfd.jpg,ff3d3536-04986e25.jpg,ff3da814-c3463a43.jpg). It is worth noting that the number of files in the “bdd100k/labels/ins_seg/bitmasks/train” folder is the same as the number of files in the “bdd100k/images/10k/train” folder. I guess there are other similar situations.
are you donwloading from the lastest dataset from BDD100k?
are you donwloading from the lastest dataset from BDD100k?
I downloading all the dataset and label from https://bdd-data.berkeley.edu/portal.html#download.
I think you also need to download the lastest coco json file instead of using the converted one provided by the repo. Or you can remove these 4 images first.
I think you also need to download the lastest coco json file instead of using the converted one provided by the repo. Or you can remove these 4 images first.
Thank you for your patience, I have solved the problem by removing the label information associated with the four images in the json file.