nv-tlabs / NKSR

[CVPR 2023 Highlight] Neural Kernel Surface Reconstruction
https://research.nvidia.com/labs/toronto-ai/NKSR
Other
735 stars 43 forks source link

AttributeError: partially initialized module 'nksr' has no attribute 'Reconstructor' (most likely due to a circular import) #60

Closed zhouilu closed 8 months ago

zhouilu commented 8 months ago

I saw a similar issue, but I still haven't solved it.

My torch version is 2.0.0 and CUDA version is 11.8, and i download model from https://nksr.huangjh.tech/ks.pth. can you give me some advice?

nksr vision: 1.0.3+pt20cu118 torch vision: 2.0.0+cu118

Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import nksr Traceback (most recent call last): File "", line 1, in File "/mnt/nksr.py", line 7, in reconstructor = nksr.Reconstructor(device) AttributeError: partially initialized module 'nksr' has no attribute 'Reconstructor' (most likely due to a circular import)

dnabanita7 commented 8 months ago

Same, I am also getting the similar issue: pytorch version is 2.1.2 and cuda version is 12.1.

zhouilu commented 8 months ago

Same, I am also getting the similar issue: pytorch version is 2.1.2 and cuda version is 12.1.

your version is not compatible

zhouilu commented 8 months ago

sorry, my own problem, so close it.