LGM icon indicating copy to clipboard operation
LGM copied to clipboard

ImportError: /opt/conda/envs/lgm/lib/python3.8/site-packages/diff_gaussian_rasterization/_C.cpython-38-x86_64-linux-gnu.so: undefined symbol:

Open Ysz2022 opened this issue 1 year ago • 2 comments

When I tried to run "python app.py big --resume pretrained/model_fp16.safetensors", I got this bug:

Traceback (most recent call last): File "app.py", line 19, in from core.models import LGM File "/userhome/LGM-main/core/models.py", line 11, in from core.gs import GaussianRenderer File "/userhome/LGM-main/core/gs.py", line 7, in from diff_gaussian_rasterization import ( File "/opt/conda/envs/lgm/lib/python3.8/site-packages/diff_gaussian_rasterization/init.py", line 15, in from . import _C ImportError: /opt/conda/envs/lgm/lib/python3.8/site-packages/diff_gaussian_rasterization/_C.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops19empty_memory_format4callEN3c108ArrayRefINS2_6SymIntEEESt8optionalINS2_10ScalarTypeEES6_INS2_6LayoutEES6_INS2_6DeviceEES6_IbES6_INS2_12MemoryFormatEE

Could you please tell me how to fix it?

Ysz2022 avatar Feb 09 '24 10:02 Ysz2022

@Ysz2022 Hi, could you try to re-install the diff-gaussian-rasterization package and check the logs?

ashawkey avatar Feb 10 '24 03:02 ashawkey

Thanks!! This work is really excellent!!

Ysz2022 avatar Feb 11 '24 04:02 Ysz2022