-
Notifications
You must be signed in to change notification settings - Fork 125
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
Test with other types of clothing #65
Comments
Hi @JaquesM good question ! You should update the parse_head and parse_cloth segmentation variable in cp_dataset.py. Don't hesitate to ask me if you need more help ! |
Thats in my cp_dataset file: `parse_array = np.array(im_parse) parse_shape = (parse_array > 0).astype(np.float32) parse_cloth = (parse_array == 5).astype(np.float32) + To what values should I change it? About the dataset, I got it by scraping a lot of cloth stores online and filtering them. I have about 20 thousando images with their clothes. Thanks |
Good, Have you organised your dataset by pair of images first ? And resized all the images to the same size. Those are required steps. Do you think you could share with me your dataset, I would really enjoy running it on pants myself and you have more images than I do, but mine could help you improve your quality ! you can email me at if you are interested Cheers |
I would go ahead and replace it with: `parse_array = np.array(im_parse) parse_shape = (parse_array > 0).astype(np.float32) parse_cloth = (parse_array == 6).astype(np.float32) + I have no way to easily test it at the moment, but that basically how I would go with it. |
Hey @ericguillaume , Thanks for your work and your advice. May I ask why the parse_head needs to be changed? And why change it to this specific value? |
Hello @masfour7 , interesting question !, The parse_head needs to be changed as it indicates parts of the image the algorithm shouldn't change, it improves resulting images quality but also stabilise the learning. If you wishes I may have some interesting screenshots to offer more perspective on this, you can reach me at guillaumeric.info@gmail.com if you want to see them. By the way, I would love to know what dataset you are using for changing several types of garments at the same time ? Please ping me if you need further explanations. |
Hi thanks, |
Anyone of you got good results trying with pants? |
Hi, I trained this code with a database that contains only pants, but the code treated the pants as if they were shirts...
Were in the code should I change to train properly the network to try pants?
The text was updated successfully, but these errors were encountered: