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

OSError: [Errno 2] No such file or directory: '../pascal/VOCdevkit/ANN' #8

Closed
Yaffa1607 opened this issue Nov 13, 2016 · 3 comments
Closed

Comments

@Yaffa1607
Copy link

When I run python clean.py I get this error : OSError: [Errno 2] No such file or directory: '../pascal/VOCdevkit/ANN'

I assume the ANN folder might've been already downloaded with the repo , but couldnt find it

@thtrieu
Copy link
Owner

thtrieu commented Nov 14, 2016

If you read README, the full syntax to parse annotation should be python clean.py /path/to/annotation/folder. ../pascal/VOCdevkit/ANN is simply the default one on my machine, please specify your own.

@Yaffa1607
Copy link
Author

Thank you . Can you elaborate on the final format for the training txt file.
I have a txt file that is as follows:

/path/to/image x1 y1 w h

What is the x1 ratio?

@thtrieu
Copy link
Owner

thtrieu commented Nov 14, 2016

Well the format must be the same with Pascal VOC dataset format of annotation. Please check the Pascal VOC website for precise description (or simply download the dataset and look at .xml files in the annotation folder).

@thtrieu thtrieu closed this as completed Nov 14, 2016
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