nv-tlabs / nglod

Neural Geometric Level of Detail: Real-time Rendering with Implicit 3D Shapes (CVPR 2021 Oral)
MIT License
872 stars 95 forks source link

ModuleNotFoundError: No module named 'sol_nglod' #30

Closed zhaoyuanyuan2011 closed 2 years ago

zhaoyuanyuan2011 commented 2 years ago

When I'm trying to train or render, I get:

Traceback (most recent call last): File "app/main.py", line 32, in from lib.trainer import Trainer File "/usr/nglod/sdf-net/lib/trainer.py", line 47, in from lib.models import * File "/usr/nglod/sdf-net/lib/models/init.py", line 25, in from .SOL_NGLOD import SOL_NGLOD File "/usr/nglod/sdf-net/lib/models/SOL_NGLOD.py", line 25, in import sol_nglod ModuleNotFoundError: No module named 'sol_nglod'

There is indeed a sol_nglod dir in /sdf-net/lib/extensions/, and everything went well before this. I'm using a python 3.7 virtualenv because conda env always has gcc-5 issues when installing pyexr. Does anyone have idea about this? Thanks!

mckay-w commented 1 month ago

how do you fix it?

joeylitalien commented 1 month ago

Hi @mckay-w,

You need to build the CUDA extensions. See the instructions.

mckay-w commented 1 month ago

Hi @mckay-w,

You need to build the CUDA extensions. See the instructions.

tks, I fixed it