-
Notifications
You must be signed in to change notification settings - Fork 27
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
The color doesn't match after changing into clothes #13
Comments
Confirming the same issue. On the other hand, this demo page is giving the right result: https://huggingface.co/spaces/yisol/IDM-VTON Is there a bug? |
Hi guys, yes it is a bug that needs to be fixed! I think it comes from the mask generation with SAM because in the demo the mask is much bigger and does not cover only the clothe but the whole upper body. One idea could be to try to load a manually generated mask and see what happens. If their is still a mismatch color, then probably the preprocessing of the images in the inference pipeline is wrong. Let me know if you can investigate on that. Thanks! |
Hello! Also, I compared your code and the original code and didn't notice any errors or misspellings. |
I just updated the input preprocessing which should give more consistent results. Feel free to try again with your inputs and share your outputs here? Cheers! |
it has the same question now, the color is not match the garment color, for ex. the garment color is black, generate image is gray |
Thank you for the author's efforts, but the testing was slow and the size did not match well. It must be a multiple of 8, and the most crucial thing is that the color did not match after changing into clothes
![微信截图_20240504115339](https://private-user-images.githubusercontent.com/121392142/327916872-77c58d02-4607-4a64-a65c-ba727c507ec4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3NDU1MjAsIm5iZiI6MTcyMDc0NTIyMCwicGF0aCI6Ii8xMjEzOTIxNDIvMzI3OTE2ODcyLTc3YzU4ZDAyLTQ2MDctNGE2NC1hNjVjLWJhNzI3YzUwN2VjNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMlQwMDQ3MDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMWVlMmVhOGI1OTM5Yjc2YTk3YmJkYmM5NmViZDYyNTg3ZjEwOWZjYzU0YjNiODRhYmZmMjQzM2Y1YTUxMDAzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.feuvC0QU_50AtzZJQ7xd0--CykspismJS2ar8RFW5Cg)
The text was updated successfully, but these errors were encountered: