Skip to content

ImageSets folder #59

@MatteoT9890

Description

@MatteoT9890

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions