Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question #138

Open
AIerOK opened this issue Dec 5, 2024 · 2 comments
Open

Question #138

AIerOK opened this issue Dec 5, 2024 · 2 comments

Comments

@AIerOK
Copy link

AIerOK commented Dec 5, 2024

Traceback (most recent call last):
File "/home/xuxianghong/下载/SplaTAM-main(1)/SplaTAM-main/scripts/splatam.py", line 28, in
from utils.eval_helpers import report_loss, report_progress, eval
File "/home/xuxianghong/下载/SplaTAM-main(1)/SplaTAM-main/utils/eval_helpers.py", line 10, in
from utils.recon_helpers import setup_camera
File "/home/xuxianghong/下载/SplaTAM-main(1)/SplaTAM-main/utils/recon_helpers.py", line 2, in
from diff_gaussian_rasterization import GaussianRasterizationSettings as Camera
File "/home/xuxianghong/anaconda3/envs/splatam/lib/python3.10/site-packages/diff_gaussian_rasterization/init.py", line 15, in
from . import _C
ImportError: /home/xuxianghong/anaconda3/envs/splatam/lib/python3.10/site-packages/diff_gaussian_rasterization/_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZNK3c1010TensorImpl18compute_contiguousEv

@Kaiqi-Chen
Copy link

@AIerOK Hi, have you solved this problem?

@zhzhanp
Copy link

zhzhanp commented Jan 24, 2025

I came across the same problem. This is because the version of pytorch does not match the one used when we install diff_gaussian_rasterization. Why this happened? In my case, when we perform pip install -r requirement.txt, where we will install torchmetrics, and it automatically upgrades pytorch to the latest version, say 2.xxx, not the one 1.12.xx. So just remove torchmetrics in requirement.txt and install it together with pytorch==1.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants