You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuntimeError: grid_sampler(): expected grid and input to have same batch size, but got input with sizes [0, 3, 1024, 1024] and grid with sizes [1, 1048576, 1, 2]
#51
Closed
WellTung666 opened this issue
Aug 28, 2023
· 5 comments
Hello! when I ran ./scripts/test_canonical.sh using My own model, the following error occurred. How can I solve this problem? Thanks~ RuntimeError: grid_sampler(): expected grid and input to have same batch size, but got input with sizes [0, 3, 1024, 1024] and grid with sizes [1, 1048576, 1, 2]
The text was updated successfully, but these errors were encountered:
WellTung666
changed the title
torch.cuda.OutOfMemoryError: CUDA out of memory.
RuntimeError: grid_sampler(): expected grid and input to have same batch size, but got input with sizes [0, 3, 1024, 1024] and grid with sizes [1, 1048576, 1, 2]
Aug 28, 2023
Hello! when I ran ./scripts/test_canonical.sh using My own model, the following error occurred. How can I solve this problem? Thanks~
RuntimeError: grid_sampler(): expected grid and input to have same batch size, but got input with sizes [0, 3, 1024, 1024] and grid with sizes [1, 1048576, 1, 2]
The text was updated successfully, but these errors were encountered: