DekuLiuTesla / CityGaussian

[ECCV2024] CityGaussian: Real-time High-quality Large-Scale Scene Rendering with Gaussians
https://dekuliutesla.github.io/citygs/
Other
392 stars 25 forks source link

Visualisation Errors #51

Closed DuHao55 closed 4 days ago

DuHao55 commented 4 days ago

When I run the viewer.py, the following error is reported.

load model from output/rubble/rubble_c9_r4/point_cloud/iteration_30000/point_cloud.ply load output/rubble/rubble_c9_r4/cameras.json up vector = tensor([ 0.0080, -0.9967, -0.0813]) (viser) Client build looks out of date. Building now...

Environment already exists: /storage/public/home/2022032005/miniconda3_pan/envs/DH/lib/python3.10/site-packages/viser/client/.nodeenv Traceback (most recent call last): File "/storage/public/home/2022032005/PycharmProject/CityGaussian/viewer.py", line 581, in viewer.start() File "/storage/public/home/2022032005/PycharmProject/CityGaussian/viewer.py", line 295, in start server = viser.ViserServer(host=self.host, port=self.port) File "/storage/public/home/2022032005/miniconda3_pan/envs/DH/lib/python3.10/site-packages/viser/_viser.py", line 364, in _actual_init _client_autobuild.ensure_client_is_built() File "/storage/public/home/2022032005/miniconda3_pan/envs/DH/lib/python3.10/site-packages/viser/_client_autobuild.py", line 61, in ensure_client_is_built node_bin_dir = _install_sandboxed_node() File "/storage/public/home/2022032005/miniconda3_pan/envs/DH/lib/python3.10/site-packages/viser/_client_autobuild.py", line 112, in _install_sandboxed_node assert (node_bin_dir / "npx").exists() AssertionError How do I fix it?

DuHao55 commented 4 days ago

I solved the problem by installing a newer version of viser。https://github.com/nerfstudio-project/viser/issues/308#issuecomment-2440840074