NVlabs / nvdiffrast

Nvdiffrast - Modular Primitives for High-Performance Differentiable Rendering
Other
1.37k stars 146 forks source link

why I always meet No module named 'nvdiffrast.torch'; 'nvdiffrast' is not a package #74

Closed ZhenyanSun closed 2 years ago

ZhenyanSun commented 2 years ago

I can run the samples successfully

s-laine commented 2 years ago

Sounds like you haven't installed nvdiffrast with pip, and you don't have the correct directory in PYTHONPATH environment variable. You'll need to do one of those for Python to find the package correctly.

ZhenyanSun commented 2 years ago

thanks for your kindly reply. I move file into the nvdiffrast folder, then no error. But can you share some experience about: I always get 0 after dr.interpolate when training.

s-laine commented 2 years ago

I cannot even guess what might be wrong without further information. I suggest you compare what you're doing with the example code. Perhaps you could modify an example bit by bit into the direction you want to go, so that you can see where things break down.

VIROBO-15 commented 2 years ago

@ZhenyanSun where you were able to resolve the issue