ethnhe/FFB6D

RandLa installation not found, even though installation was succesful

HannahHaensen opened this issue · 3 comments

I use python 3.7

After installing everything according to the Installation instruction I get the following error when running sh test_lm.sh

Traceback (most recent call last): File "train_lm.py", line 31, in <module> from models.ffb6d import FFB6D File "/home/user/Documents/GitHub/FFB6D_conda/ffb6d/models/ffb6d.py", line 6, in <module> from models.RandLA.RandLANet import Network as RandLANet File "/home/user/Documents/GitHub/FFB6D_conda/ffb6d/models/RandLA/RandLANet.py", line 5, in <module> from helper_tool import DataProcessing as DP File "/home/user/Documents/GitHub/FFB6D_conda/ffb6d/models/RandLA/helper_tool.py", line 15, in <module> import nearest_neighbors.lib.python.nearest_neighbors as nearest_neighbors ModuleNotFoundError: No module named 'nearest_neighbors.lib.python.nearest_neighbors'

Also when clicking on nearest_neighbors in helper_tool-py

image

this opens but somehow nearest_neighbors.lib can not be resolved

structure of files:
image

in helper_tool.py

I changed the import of cpp_wrapper and nearest_neighbors now at least this part seems to work correctly

import grid_subsampling as cpp_subsampling
import nearest_neighbors

You can probably move the two files of the first picture out of the folder like the second picture.
image
image