mit-han-lab / torchsparse

[MICRO'23, MLSys'22] TorchSparse: Efficient Training and Inference Framework for Sparse Convolution on GPUs.
https://torchsparse.mit.edu
MIT License
1.19k stars 139 forks source link

AttributeError: 'torch.dtype' object has no attribute 'long' #184

Closed Laputa-tu closed 1 year ago

Laputa-tu commented 1 year ago

File "E:\Anaconda\envs\cunet\lib\site-packages\torchsparse-2.0.0b0-py3.8-win-amd64.egg\torchsparse\nn\functional\hash.py", line 12, in sphash assert coords.dtype == torch.int.long(), coords.dtype AttributeError: 'torch.dtype' object has no attribute 'long'

Although torchsparse was successfully installed on windows, errors were still reported at runtime.