Yolo_Nano icon indicating copy to clipboard operation
Yolo_Nano copied to clipboard

FileNotFoundError: [Errno 2] No such file or directory: '../annotations/person_keypoints_train2017.json'

Open vishnukv64 opened this issue 4 years ago • 7 comments

im getting this error, i followed all the steps properly and shifted everything to 80classes.

This error arises in: raceback (most recent call last): File "train.py", line 89, in dataset = ListDataset(train_path, augment=opt.augment,use_mix=opt.mix_up, multiscale=opt.multiscale_training,normalized_labels=True) File "/home/amvar/vishnu/YOLO_NANO/Yolo_Nano/utils/datasets.py", line 77, in init self.annotations = COCO(json_root) File "/home/amvar/vishnu/YOLO_NANO/venv/lib/python3.6/site-packages/pycocotools/coco.py", line 84, in init dataset = json.load(open(annotation_file, 'r')) FileNotFoundError: [Errno 2] No such file or directory: '../annotations/person_keypoints_train2017.json'

i really dont know where it went wrong, and why is it asking for a personkey train.json and not instance json.

Thanks in advance

vishnukv64 avatar Feb 12 '20 14:02 vishnukv64