Closed HannahHaensen closed 2 years ago
Also when clicking on nearest_neighbors in helper_tool-py
this opens but somehow nearest_neighbors.lib can not be resolved
structure of files:
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.
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'