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
ValueError: Expected both input arguments to be normalized tensors with shape [N, 3, H, W]. Got input with shape torch.Size([10, 3, 192, 192]) and torch.Size([10, 3, 192, 192]) and values in range [tensor(nan, device='cuda:3', grad_fn=<MinBackward1>)
#183
Open
Mrguanglei opened this issue
Jan 20, 2025
· 0 comments
Hello developer, I have a problem now. When I got to 1000 steps, ValueError: Expected both input arguments to be normalized tensors with shape [N, 3, H, W]. Got input with shape torch.Size([10, 3, 192, 192]) and torch.Size([10, 3, 192, 192]) and values in range [tensor(nan, device='cuda:3', grad_fn=), tensor(nan, device='cuda:3', grad_fn=)] and [tensor(-1., device='cuda:3'), tensor(1., device='cuda:3')] when all values are expected to be in the [-1, 1] range. "Error. I froze the VIT and retrained, but this error still occurred. Then I remove the logs and redo the operation. This error occurred in step 2. How to solve this problem, I fell into thinking. Hope to get your help
The text was updated successfully, but these errors were encountered:
Hello developer, I have a problem now. When I got to 1000 steps, ValueError: Expected both input arguments to be normalized tensors with shape [N, 3, H, W]. Got input with shape torch.Size([10, 3, 192, 192]) and torch.Size([10, 3, 192, 192]) and values in range [tensor(nan, device='cuda:3', grad_fn=), tensor(nan, device='cuda:3', grad_fn=)] and [tensor(-1., device='cuda:3'), tensor(1., device='cuda:3')] when all values are expected to be in the [-1, 1] range. "Error. I froze the VIT and retrained, but this error still occurred. Then I remove the logs and redo the operation. This error occurred in step 2. How to solve this problem, I fell into thinking. Hope to get your help
The text was updated successfully, but these errors were encountered: