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

Issues in dataset_create.py #7

Open
jing199301 opened this issue Jun 8, 2018 · 3 comments
Open

Issues in dataset_create.py #7

jing199301 opened this issue Jun 8, 2018 · 3 comments

Comments

@jing199301
Copy link

Hi,
Recently I download your script and it works (Training set includes ['coat', 'kaftan', 'robe']).
But when I add ['Chino'] in the training set, and run dataset_create.py, it will meet a problem.
It will stop at a certain image and display an error.
xnip2018-06-08_00-29-36
xnip2018-06-08_00-29-54

I will meet the same problem if I add ['Jeans'] to the training set.
xnip2018-06-08_09-38-42

It seems some certain images will cause this issue.
I don't know if I should do some changes to the ‘crop function’. I think I need your help.
Thanks a lot!

@hassanmasood1
Copy link

I am having the same issue, for img_0000009.jpg inside Faux_leather-Trim_Blouse folder. And I am guessing its resolution is very smaller compared to other images in the folder.
box_error

@jing199301
Copy link
Author

I think so.
So I wonder how to modify the 'crop function'?

@hassanmasood1
Copy link

The issue is, selective_search is recommending boxes with 0 widths/height. To fix it just add the following code to selective_search.py and it should fix the issue.

image

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