Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VOC 2012 Dataset Preparation #14

Open
tauseef09 opened this issue Aug 3, 2022 · 1 comment
Open

VOC 2012 Dataset Preparation #14

tauseef09 opened this issue Aug 3, 2022 · 1 comment

Comments

@tauseef09
Copy link

tauseef09 commented Aug 3, 2022

I am a bit confused as to how the VOC2012 dataset should be prepared for this model. The instruction says that the file structure should be like this:
Capture

I hope some of my confusions can be cleared up regarding the matter.

  1. I'm guessing that the first link is the link to download the whole VOC2012 dataset folder and from there we need to extract the JPEGImages folder and the val.txt file. But the VOC2012/ImageSets folder has 4 separate folders (Action, Layout, Main, Segmentation) under it, each of which contains a val.txt file. Which one am I supposed to select? I was inclined towards selecting the one under the 'Main' folder.
  2. The second link, I'm guessing, is a link to download the SegmentationClassAug folder which I am unable to find. Any guidance as to where exactly to look for will be helpful.
  3. The third link is one that has a file named trainaug.txt which I am supposed to download and rename as train.txt if I'm not wrong?
@shaosen11
Copy link

For the first question, I think it is 'Segmentation'. I copy val.txt in that folder and run the code. No problem happened.
In addition, if you run the prepare script, founding bug-like 'FileNotFoundError: [Errno 2] No such file or directory: 'datasets/VOC2012/annotations_detectron2/train_base_10class/2007_000032.png'', you can fix the code in 'prepare_voc_sem_seg.py', you need add 'train_base_10class' below line 86.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants