Skip to content
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

RuntimeError: Expected index [1, 576, 384] to be smaller #87

Open
RishiGitH opened this issue Oct 18, 2023 · 0 comments
Open

RuntimeError: Expected index [1, 576, 384] to be smaller #87

RishiGitH opened this issue Oct 18, 2023 · 0 comments

Comments

@RishiGitH
Copy link

Not able togenerate warps , test_VITON.sh failling to run .I am getting this issue when i run sh test_VITON.sh . Is it due to image size ?

RuntimeError: Caught RuntimeError in DataLoader worker process 0. Original Traceback (most recent call last): File "/opt/conda/envs/test/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop data = fetcher.fetch(index) File "/opt/conda/envs/test/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 51, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/opt/conda/envs/test/lib/python3.8/site-packages/torch/utils/data/utils/fetch.py", line 51, in data = [self.dataset[idx] for idx in possibly_batched_index] File "/home/ubuntu/PF-AFN/PF-AFN_test/data/cp_dataset.py", line 172, in getitem parse_map = parse_map.scatter(0, parse, 1.0) RuntimeError: Expected index [1, 576, 384] to be smaller than self [20, 512, 384] apart from dimension 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant