Open ds-nat-j opened 1 year ago
You paths specifying in arguments are wrong. Change default value in args (opt) or specify custom directory in args when you are trying to execute script.
@OliverVarnce An example will greatly help here pls. I am also facing same issue.
Hi ,I am also facing the same problem now, please help me
Did you guys fix this?
sure, i know this problem and fixed , tks for u
I have the same problem. how did you fix it? @Quoctrung26042000
You paths specifying in arguments are wrong. Change default value in args (opt) or specify custom directory in args when you are trying to execute script.
I specified the data directory, but it did not resolve the issue. I read the code and am curious why CPDatasetTest placed the image file names in self.c_names['paired']
self.c_names['paired'] = im_names
self.c_names['unpaired'] = c_names
because it been a long time, so i forget resole this problem, but if i have free time i will check for you, im sorry, i cannt help you immeditaly
https://colab.research.google.com/drive/1BG-4G6MYmwRZlqctbVVSMC-lj27Cycoh?usp=sharing
see this colab notebook it may help you to understand the code running process
python3 test_generator.py --occlusion --test_name 'test1' --tocg_checkpoint "/dbfs/nathan/VTON-test/mtviton.pth" --gen_checkpoint "/dbfs/nathan/VTON-test/gen.pth" --datasetting unpaired --dataroot "/dbfs/nathan/VTON-test" --data_list "/dbfs/nathan/VTON-test/test_pairs.txt"
Error message:
While it's true that the image '08909_00.jpg' doesn't exist in '/VTON-test/test/cloth/', it exists in '/VTON-test/test/image/'. The issue seems to be with reading test_pairs.txt
Currently test_pairs.txt --> 08909_00.jpg 02783_00.jpg 00891_00.jpg 01430_00.jpg 03615_00.jpg 09933_00.jpg 07445_00.jpg 06429_00.jpg 07573_00.jpg 11791_00.jpg 10549_00.jpg 01260_00.jpg
But even if I reverse it and use this as test_pairs.txt--> 02783_00.jpg 08909_00.jpg 01430_00.jpg 00891_00.jpg 09933_00.jpg 03615_00.jpg 06429_00.jpg 07445_00.jpg 11791_00.jpg 07573_00.jpg 01260_00.jpg 10549_00.jpg
Even this fails. It seems somewhere in the code the location is hardcoded and is trying to read both sides of test_pairs.txt as /test/cloth folder, when ideally it should be reading one side of test_pairs.txt as /test/image and other as /test/cloth but .
Please fix this bug!