lukemelas / realfusion

Official code for "RealFusion: 360° Reconstruction of Any Object from a Single Image" (CVPR 2023)
Apache License 2.0
543 stars 38 forks source link

How to solve this problem? #14

Open Hwaaan2 opened 1 year ago

Hwaaan2 commented 1 year ago

ModuleNotFoundError: No module named '_gridencoder' This error appears, how do I resolve it?

lukemelas commented 1 year ago

Sorry for the late reply, I'm going though a lot of issues now. You probably figured this out already, but for others, you have to build the cuda extensions, as noted in the README:

# (Recommended) Build cuda extensions -- alternatively, they can be built on-the-fly
pip install ./raymarching
pip install ./shencoder
pip install ./freqencoder
pip install ./gridencoder