spla-tam / SplaTAM

SplaTAM: Splat, Track & Map 3D Gaussians for Dense RGB-D SLAM (CVPR 2024)
https://spla-tam.github.io/
BSD 3-Clause "New" or "Revised" License
1.58k stars 174 forks source link

recon error #55

Closed zhuhu00 closed 10 months ago

zhuhu00 commented 10 months ago

This is a very good job, and when I was experimenting with the replica dataset, I encountered the following error in the Reconstruction section, but I couldn't find a solution. The open3d==0.16.0 I use. How can I fix it?

Traceback (most recent call last):
  File "/root/code/viz_scripts/online_recon.py", line 361, in <module>
    visualize(scene_path, viz_cfg)
  File "/root/code/viz_scripts/online_recon.py", line 223, in visualize
    view_control.convert_from_pinhole_camera_parameters(cparams, allow_arbitrary=True)
AttributeError: 'NoneType' object has no attribute 'convert_from_pinhole_camera_parameters'
xiaoyaocoding commented 10 months ago

I encountered the same issue as you, and it was because I didn't enable remote desktop while running code on the server. After enabling the desktop, the problem was automatically resolved. I hope this helps you.

xiaoyaocoding commented 10 months ago

image the difference is I run “python viz_scripts/final_recon.py configs/replica/splatam.py”

zhuhu00 commented 10 months ago

image the difference is I run “python viz_scripts/final_recon.py configs/replica/splatam.py”

Thanks a lot.