Skip to content

ImportError: No module named 'nearest_neighbors.lib' #33

@Timaces

Description

@Timaces

I meeting the follow error,can you help me ?

omnisky@omnisky:/Documents/PointASNL-master/tf_ops$ sh compile_ops.sh
omnisky@omnisky:
/Documents/PointASNL-master/tf_ops$ cd ../
omnisky@omnisky:~/Documents/PointASNL-master$ python train.py --data /home/omnisky/Documents/PointASNL-master/data/modelnet40_ply_hdf5_2048 --exp_dir PointASNL_without_noise
Traceback (most recent call last):
File "train.py", line 57, in
MODEL = importlib.import_module(FLAGS.model) # import network module
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 665, in exec_module
File "", line 222, in _call_with_frames_removed
File "/home/omnisky/Documents/PointASNL-master/models/pointasnl_cls.py", line 9, in
from pointasnl_util import PointASNLSetAbstraction, get_repulsion_loss
File "/home/omnisky/Documents/PointASNL-master/utils/pointasnl_util.py", line 19, in
import nearest_neighbors.lib.python.nearest_neighbors as nearest_neighbors
ImportError: No module named 'nearest_neighbors.lib'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions