autonomousvision / occupancy_networks

This repository contains the code for the paper "Occupancy Networks - Learning 3D Reconstruction in Function Space"
https://avg.is.tuebingen.mpg.de/publications/occupancy-networks
MIT License
1.51k stars 292 forks source link

ModuleNotFoundError: No module named 'librender.pyrender' #36

Closed itszash closed 4 years ago

itszash commented 4 years ago

when i try to run bash dataset_shapenet/build.sh i get this error Processing class 03001627 Converting meshes to OFF dataset_shapenet/build.sh: line 21: parallel: command not found Scaling meshes Create depths maps Traceback (most recent call last): File "../external/mesh-fusion/2_fusion.py", line 11, in import librender File "/home/zash/Desktop/occupancy_networks-master/external/mesh-fusion/librender/init.py", line 6, in from librender.pyrender import ModuleNotFoundError: No module named 'librender.pyrender' Produce watertight meshes Traceback (most recent call last): File "../external/mesh-fusion/2_fusion.py", line 11, in import librender File "/home/zash/Desktop/occupancy_networks-master/external/mesh-fusion/librender/init.py", line 6, in from librender.pyrender import ModuleNotFoundError: No module named 'librender.pyrender'

itszash commented 4 years ago

@LMescheder

LMescheder commented 4 years ago

Hi @itszash, did you follow the instructions and have built meshfusion first? Did it build successfully? Also it seems that you don't have gnu-parallel installed:

sudo apt-get install parallel
itszash commented 4 years ago

yes @LMescheder i built the meshfusion and run the usage example to test it works fine but i think i didn't added the pyrender in $PYTHONPATH and thats the issue here... i tried different commad but it isn;t working can you tell me how can i add pyrender in $PYTHONPATH?

itszash commented 4 years ago

@LMescheder it will be great if you reply when it import pyrender but when i run librender.pyrender i get this error can you tell me whats wrong...i tried building meshfusion multiple time but getting the same issue

ankushpanwar19 commented 4 years ago

Did you find the answer to the issue? I am getting the same issue with 'librender.pyrender'

MaybeOjbk commented 4 years ago

@LMescheder it will be great if you reply when it import pyrender but when i run librender.pyrender i get this error can you tell me whats wrong...i tried building meshfusion multiple time but getting the same issue how do you solve the problem ? I am really want to the how to fix it

zhaoyuanyuan2011 commented 4 years ago

I got the same error. Has anyone found a solution?

MaybeOjbk commented 4 years ago

I guass I fixed the error,you should follow the construction " python setup.py build_ext --inplace" ,try to build to say if there is something wrong left

twcostain commented 3 years ago

In the spirit of 973. You need to manually build all of the modules in external/mesh-fusion. You also need to manually build the gup code in libfusiongpu.