facebookresearch / votenet

Deep Hough Voting for 3D Object Detection in Point Clouds
MIT License
1.67k stars 377 forks source link

ModuleNotFoundError: No module named 'pointnet2._ext' #125

Closed clarkkent0618 closed 2 years ago

clarkkent0618 commented 2 years ago

Traceback (most recent call last): File "/root/imvotenet-master_PointNet2_Compiled/pointnet2/pointnet2_utils.py", line 26, in import pointnet2._ext as _ext ModuleNotFoundError: No module named 'pointnet2._ext'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "train.py", line 158, in MODEL = importlib.import_module('imvotenet') File "/root/miniconda3/envs/myconda/lib/python3.7/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 "/root/imvotenet-master_PointNet2_Compiled/models/imvotenet.py", line 19, in from backbone_module import Pointnet2Backbone File "/root/imvotenet-master_PointNet2_Compiled/models/backbone_module.py", line 19, in from pointnet2_modules import PointnetSAModuleVotes, PointnetFPModule File "/root/imvotenet-master_PointNet2_Compiled/pointnet2/pointnet2_modules.py", line 21, in import pointnet2_utils File "/root/imvotenet-master_PointNet2_Compiled/pointnet2/pointnet2_utils.py", line 30, in "Could not import _ext module.\n" ImportError: Could not import _ext module. Please see the setup instructions in the README: https://github.com/erikwijmans/Pointnet2_PyTorch/blob/master/README.rst

clarkkent0618 commented 2 years ago

Just Downgrade to pytorch 1.2