https://drive.google.com/drive/folders/1S5L-YmIiFMAKTs6nHMorB0Osz5iWI31k?usp=sharing
In this link there are only "Annotations" and "JPEGImages" folders, so when I run the command:
python tools/train_net.py --num-gpus 4 --dist-url='tcp://127.0.0.1:52125' --resume --config-file ./configs/OWOD/t1/t1_train.yaml SOLVER.IMS_PER_BATCH 8 SOLVER.BASE_LR 0.01 OUTPUT_DIR "./output/t1"
I face this error:
[...]
File "/home/mtarantino/OWOD/detectron2/data/datasets/pascal_voc.py", line 81, in load_voc_instances
with PathManager.open(os.path.join(dirname, "ImageSets", "Main", split + ".txt")) as f
FileNotFoundError: [Errno 2] No such file or directory: 'datasets/VOC2007/ImageSets/Main/t1_train.txt'
In fact in the folder datasets there is no subfolder called VOC2007/ImageSets/Main, while there is a subfolder called OWOD_imagesets containing the different TXT files.
So I wonder what is the strategy to handle correctly the different datasets once downloaded "Annotations" and "JPEGImages" from Google drive link in order to avoid FIleNotFoundError?
Thanks in advance
https://drive.google.com/drive/folders/1S5L-YmIiFMAKTs6nHMorB0Osz5iWI31k?usp=sharing
In this link there are only "Annotations" and "JPEGImages" folders, so when I run the command:
python tools/train_net.py --num-gpus 4 --dist-url='tcp://127.0.0.1:52125' --resume --config-file ./configs/OWOD/t1/t1_train.yaml SOLVER.IMS_PER_BATCH 8 SOLVER.BASE_LR 0.01 OUTPUT_DIR "./output/t1"I face this error:
In fact in the folder
datasetsthere is no subfolder calledVOC2007/ImageSets/Main, while there is a subfolder calledOWOD_imagesetscontaining the different TXT files.So I wonder what is the strategy to handle correctly the different datasets once downloaded "Annotations" and "JPEGImages" from Google drive link in order to avoid
FIleNotFoundError?Thanks in advance