bcmi / DCI-VTON-Virtual-Try-On

[ACM Multimedia 2023] Taming the Power of Diffusion Models for High-Quality Virtual Try-On with Appearance Flow.
https://arxiv.org/abs/2308.06101
MIT License
387 stars 56 forks source link

an problem about input #26

Closed Charessss closed 10 months ago

Charessss commented 10 months ago

thanks for your great work! when i was ran ‘sh test_VITON.sh’ , it displayed the error message ‘can not find the file path dataset/test_pairs.txt’. After I putting the the test_pairs.txt and test directory from VITON-HD ,it displayed the error message ‘RuntimeError: running_mean should contain 16 elements not 23’ ! It seems that an usual problem about PyTorch input,however,I can not solve this problem.could you please give me some solutions or point out my other problems.Thanks very much. AB6E7758D35D314E20A4A2915250C261 584AFDE0B4A65EB451C4A76D38F6DD90 the error message ‘RuntimeError: running_mean should contain 16 elements not 23’ F25287A43CB57D689A10FCD9F47367A8

Limbor commented 10 months ago

Hi @Charessss It seems to be a problem with the number of input channels, and it should be the difference in the number of human parsing channels. Because the original number of labels is 20, but in the cp_dataset.py code we gave, it will map 20 categories to 13 categories, so the final input is 3+13=16 channels. You can check if there is a problem with this part of the conversion.