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

create_voc_dataset('12', 'train', True, True) #40

Open
ghost opened this issue Oct 20, 2018 · 9 comments
Open

create_voc_dataset('12', 'train', True, True) #40

ghost opened this issue Oct 20, 2018 · 9 comments

Comments

@ghost
Copy link

ghost commented Oct 20, 2018

No such file or directory: '/home/cbl/PycharmProjects/blitznet-master/Datasets/VOCdevkit/VOC2012/ImageSets/SegmentationAug/train.txt'

SegmentationAug is not found in the voc12

@dvornikita
Copy link
Owner

You don't have the annotations that are getting created when you prepare the datasets. This shouldn't happen if you perform the preparation steps, as noted in the readme. Did you do that?

@ghost
Copy link
Author

ghost commented Oct 22, 2018

I do the step 1 2 3
,but in the step 3,set_extra_annotations, subprocess.call('rm %s' % archive_name) meet some problem

@ghost
Copy link
Author

ghost commented Oct 22, 2018

but in step 3, subprocess.call('rm %s' % archive_name) meet some problem

@ghost
Copy link
Author

ghost commented Oct 22, 2018

I do the step 1 2 3
,but in the step 3,set_extra_annotations, subprocess.call('rm %s' % archive_name) meet some problem

@ghost
Copy link
Author

ghost commented Oct 22, 2018

when I run create_voc_dataset('12', 'train', True, True)
FileNotFoundError: [Errno 2] No such file or directory: '/home/cbl/PycharmProjects/blitznet-master/Datasets/VOCdevkit/VOC2012/SegmentationClass/2010_005825.png'

why?

@dvornikita
Copy link
Owner

This means that either your path to annotations is not correct, or the annotations don't exist. In the first case, you need to check the path and correct it in case it doesn't. In the latter case, you need to make sure you did all the steps correctly in order to download and unpack the dataset.

P.S. The failure of subprocess.call('rm %s' % archive_name) shouldn't influence the presence of annotations.

@Roger2148
Copy link

Roger2148 commented Dec 18, 2018

      You don't have the annotations that are getting created when you prepare the datasets. This shouldn't happen if you perform the preparation steps, as noted in the readme. Did you do that?

I just followed the preparation steps

#create_voc_dataset('07', 'test')                             completed
#create_voc_dataset('07', 'trainval')                       completed
create_voc_dataset('12', 'train', True, True)
#create_voc_dataset('12', 'val', True)                     completed

then I have the same problem...
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Zhang\Downloads\blitznet\Datasets\VOCdevkit/VOC2012/ImageSets/SegmentationAug/train.txt'

was i download an imcomplete tar files?
sincerely

@dvornikita
Copy link
Owner

@Roger2148 did you complete the step 3 of preparations? This is what creates the file you are missing.

@Roger2148
Copy link

@dvornikita in the step 3,
The original link of the website(http://www.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/semantic_contours/benchmark.tgz) has been redirected( or disappeared?), finally I saw vlfeat/matconvnet-fcn#54 and now i just downloaded from google drive.
so i think maybe the link in set_extra_annotations.py should be renewed

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