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
My PyTorch version is 1.10.0.
On line 143 of the hilbert.py file, the code locs_uint8 = locs.long().view(torch.uint8).reshape((-1, num_dims, 8)).flip(-1)
will report an error: viewing a tensor as a new dtype with a different number of bytes per element is not supported.
I understand that switching to PyTorch 1.12.0 can solve this problem, but my CUDA version doesn't support me doing so. May I ask if there is an alternative solution for this line of code?
The text was updated successfully, but these errors were encountered:
My PyTorch version is 1.10.0.
On line 143 of the hilbert.py file, the code
locs_uint8 = locs.long().view(torch.uint8).reshape((-1, num_dims, 8)).flip(-1)
will report an error:
viewing a tensor as a new dtype with a different number of bytes per element is not supported.
I understand that switching to PyTorch 1.12.0 can solve this problem, but my CUDA version doesn't support me doing so. May I ask if there is an alternative solution for this line of code?
The text was updated successfully, but these errors were encountered: