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
File "/coder.py", line 101, in encode
self.coordinate_coder.encode((y.C//y.tensor_stride[0]).detach().cpu()[:,1:], postfix=postfix)
TypeError: unsupported operand type(s) for //: 'Tensor' and 'int'
my pytorch==1.9,why tensor cant // int
The text was updated successfully, but these errors were encountered:
File "/coder.py", line 101, in encode
self.coordinate_coder.encode((y.C//y.tensor_stride[0]).detach().cpu()[:,1:], postfix=postfix)
TypeError: unsupported operand type(s) for //: 'Tensor' and 'int'
my pytorch==1.9,why tensor cant // int
The text was updated successfully, but these errors were encountered: