latest_net_U.pth
latest_net_G1.pth
latest_net_G2.pth
latest_net_G.pth
/home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torchvision/transforms/transforms.py:208: UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead.
"please use transforms.Resize instead.")
/home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torchvision/transforms/transforms.py:208: UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead.
"please use transforms.Resize instead.")
Traceback (most recent call last):
File "test.py", line 104, in
for i, data in enumerate(dataset, start=epoch_iter):
File "/home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 286, in next
return self._process_next_batch(batch)
File "/home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 307, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
IndexError: Traceback (most recent call last):
File "/home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 57, in _worker_loop
samples = collate_fn([dataset[i] for i in batch_indices])
File "/home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 57, in
samples = collate_fn([dataset[i] for i in batch_indices])
File "/home/wg/dl_env/DeepFashion_Try_On-master/ACGPN_inference/data/aligned_dataset.py", line 135, in getitem
B_path = self.B_paths[index]
IndexError: list index out of range
when I run the test.py the IndexError apper ,anyone can help me?
latest_net_U.pth latest_net_G1.pth latest_net_G2.pth latest_net_G.pth /home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torchvision/transforms/transforms.py:208: UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead. "please use transforms.Resize instead.") /home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torchvision/transforms/transforms.py:208: UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead. "please use transforms.Resize instead.") Traceback (most recent call last): File "test.py", line 104, in
for i, data in enumerate(dataset, start=epoch_iter):
File "/home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 286, in next
return self._process_next_batch(batch)
File "/home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 307, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
IndexError: Traceback (most recent call last):
File "/home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 57, in _worker_loop
samples = collate_fn([dataset[i] for i in batch_indices])
File "/home/wg/anaconda3/envs/dl/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 57, in
samples = collate_fn([dataset[i] for i in batch_indices])
File "/home/wg/dl_env/DeepFashion_Try_On-master/ACGPN_inference/data/aligned_dataset.py", line 135, in getitem
B_path = self.B_paths[index]
IndexError: list index out of range
when I run the test.py the IndexError apper ,anyone can help me?