Closed jiaqiAA closed 3 years ago
Cannot find reference 'voxelize' in 'imported module data_processing.libvoxelize'
Is the voxelize.py missing from the data_processing/ libvoxelize?
Hi @ljq2020 ,
I guess something went wrong when installing the library - please follow the 'install' instructions in the README file.
Best, Julian
Hi,
I follow the 'install' instructions, when I run python setup.py build_ext --inplace
, the result is as follows:
Do you know how to deal with it?
I found a error in inside_mesh.py
hi, When I run
python data_processing/voxelized_pointcloud_sampling.py -res 128 -num_points 300
, I met this problem:Traceback (most recent call last): File "data_processing/voxelized_pointcloud_sampling.py", line 1, in import implicit_waterproofing as iw File "/home/ubuntu/Documents/if-net/data_processing/implicit_waterproofing.py", line 3, in from data_processing.libmesh.inside_mesh import check_mesh_contains ModuleNotFoundError: No module named 'data_processing' but the data_processing file exists in the project.
Hi, Have you solved this problem? I meet the same problem with you
Maybe you could try to add your project path to the voxelized_pointcloud_sampling.py.
Add the following code at the top of the file:
import sys
sys.path.append('/XXXX/if-net-master')
Maybe you could try to add your project path to the voxelized_pointcloud_sampling.py. Add the following code at the top of the file:
import sys
sys.path.append('/XXXX/if-net-master')
oh! I have tried it, and it's valid. Thank you very much!
hi, When I run
python data_processing/voxelized_pointcloud_sampling.py -res 128 -num_points 300
, I met this problem:Traceback (most recent call last): File "data_processing/voxelized_pointcloud_sampling.py", line 1, in
import implicit_waterproofing as iw
File "/home/ubuntu/Documents/if-net/data_processing/implicit_waterproofing.py", line 3, in
from data_processing.libmesh.inside_mesh import check_mesh_contains
ModuleNotFoundError: No module named 'data_processing'
but the data_processing file exists in the project.