wutong16 / Density_aware_Chamfer_Distance

[ NeurIPS 2021 ] Pytorch implementation for "Density-aware Chamfer Distance as a Comprehensive Metric for Point Cloud Completion"
141 stars 15 forks source link

ModuleNotFoundError: No module named 'pointnet2_cuda' #4

Closed huangqianhong closed 2 years ago

huangqianhong commented 2 years ago

Hi, can you help me? I come across the problem when I run train.py: Traceback (most recent call last): File "F:/github/Density_aware_Chamfer_Distance-main/train.py", line 287, in train() File "F:/github/Density_aware_Chamfer_Distance-main/train.py", line 59, in train model_module = importlib.import_module('.%s' % args.model_name, 'models') File "D:\IDE\Anaconda\envs\dcd\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "F:\github\Density_aware_Chamfer_Distance-main\models\vrcnet.py", line 7, in from utils.model_utils import * File "F:\github\Density_aware_Chamfer_Distance-main\utils\model_utils.py", line 13, in import utils.Pointnet2_PyTorch.pointnet2.pointnet2_utils as pn2 File "F:\github\Density_aware_Chamfer_Distance-main\utils\Pointnet2_PyTorch\pointnet2\pointnet2_utils.py", line 9, in import pointnet2_cuda as pointnet2 ModuleNotFoundError: No module named 'pointnet2_cuda'

Process finished with exit code 1

wutong16 commented 2 years ago

Hi! Thank you for your attention to our work!

Have you run bash set_up.sh to install pointnet2 modules?

huangqianhong commented 2 years ago

 Sorry, I am using win10 system and cannot run .sh file,so did I need to run this project  on linux system such as ubuntu?

------------------ 原始邮件 ------------------ 发件人: "Tong @.>; 发送时间: 2022年2月25日(星期五) 下午4:01 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [wutong16/Density_aware_Chamfer_Distance] ModuleNotFoundError: No module named 'pointnet2_cuda' (Issue #4)

Hi! Thank you for your attention to our work!

Have you run bash set_up.sh to install pointnet2 modules?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

wutong16 commented 2 years ago

Yes. The dependent modules should be installed correctly before we can run the code.

Please try it on Linux then. Feel free to report any further issues.

huangqianhong commented 2 years ago

ok,Thank you very much,I am trying it again on linux.

------------------ 原始邮件 ------------------ 发件人: "Tong @.>; 发送时间: 2022年2月25日(星期五) 下午4:41 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [wutong16/Density_aware_Chamfer_Distance] ModuleNotFoundError: No module named 'pointnet2_cuda' (Issue #4)

Yes. The dependent modules should be installed correctly before we can run the code.

Please try it on Linux then. Feel free to report any further issues.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>