DeepFashion icon indicating copy to clipboard operation
DeepFashion copied to clipboard

Issues in dataset_create.py

Open jing199301 opened this issue 6 years ago • 3 comments

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!

jing199301 avatar Jun 08 '18 02:06 jing199301

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

hassanmasood1 avatar Jun 13 '18 18:06 hassanmasood1

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

jing199301 avatar Jun 14 '18 06:06 jing199301

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

hassanmasood1 avatar Jun 18 '18 16:06 hassanmasood1