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

ValueError #25

Open
JackCooper666 opened this issue Feb 8, 2025 · 1 comment
Open

ValueError #25

JackCooper666 opened this issue Feb 8, 2025 · 1 comment

Comments

@JackCooper666
Copy link

I trained the official example dataset, the "truck," by the 2d gaussian splatting, then I tried to view the trained model by the view.py in this Gaussian Splatting Monitor, then I got this error: I am using ubuntu 20.04, cuda is 11.6, pytorch is 1.13.1, ffmpeg 2.8.17, opencv 4.6
(gs_monitor) arc@arc-lde:~/zewen/Gaussian-Splatting-Monitor$ python view.py -s ~/zewen/data/2dgs_database/truck/ -m ~/zewen/data/2dgs_training_res/output_truck
View: /home/arc/zewen/data/2dgs_training_res/output_truck
Loading trained model at iteration 7000
Reading camera 251/251
Loading Training Cameras
Loading Test Cameras

Connected by ('127.0.0.1', 39024)
Traceback (most recent call last):
File "view.py", line 52, in
view(lp.extract(args), pp.extract(args), args.iteration)
File "view.py", line 35, in view
raise e
File "view.py", line 26, in view
render_pkg = render(custom_cam, gaussians, pipe, background, scaling_modifer)
File "/home/arc/zewen/Gaussian-Splatting-Monitor/gaussian_renderer/init.py", line 85, in render
rendered_image, rendered_depth, rendered_median_depth, rendered_alpha, radii = rasterizer(
ValueError: not enough values to unpack (expected 5, got 2)

@Fobow
Copy link

Fobow commented Feb 9, 2025

Hi Jack, make sure you install the /submodules/diff-gaussian-rasterization in this repo. The rasterizer() code has been modified.

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

2 participants