Closed jufilateva closed 2 months ago
Please check /home/cuda/zalando-hd-resized/test_pairs_unpaired.txt
in your local folder.
Maybe your local .txt
name is different, renamed it as test_pairs_unpaired.txt
.
There are screens of dataset structure. Could the 'test_pairs.txt' be the file that sould be renamed?
yes
Hello and thank you for your work!
I've tried to run an inference on VITON-HD that I've downloaded locally. And while inference I see this error:
Traceback (most recent call last): File "/home/cuda/CatVTON/inference.py", line 325, in
main()
File "/home/cuda/.local/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/cuda/CatVTON/inference.py", line 269, in main
dataset = VITONHDTestDataset(args)
File "/home/cuda/CatVTON/inference.py", line 18, in init
self.data = self.load_data()
File "/home/cuda/CatVTON/inference.py", line 39, in load_data
assert os.path.exists(pair_txt:=os.path.join(self.args.data_root_path, 'test_pairs_unpaired.txt')), f"File {pair_txt} does not exist."
AssertionError: File /home/cuda/zalando-hd-resized/test_pairs_unpaired.txt does not exist.
I've downloaded it again and rechecked file structure, but there is no test_pairs_unpaired.txt file in VITON-HD dataset. How could I avoud this problem?