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: too many values to unpack (expected 2) #22

Open
XiaozhenQiao opened this issue Nov 1, 2024 · 2 comments
Open

ValueError: too many values to unpack (expected 2) #22

XiaozhenQiao opened this issue Nov 1, 2024 · 2 comments

Comments

@XiaozhenQiao
Copy link

Traceback (most recent call last):
File "train.py", line 280, in
training(lp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from)
File "train.py", line 101, in training
render_pkg = render(viewpoint_cam, gaussians, pipe, bg)
File "/app/MVGS/gaussian_renderer/init.py", line 85, in render
rendered_image, radii = rasterizer(
ValueError: too many values to unpack (expected 2)

@XiaozhenQiao
Copy link
Author

Reinstalled diff-gaussian-rasterization, then the above problem is solved, but now a new problem has appeared:
Traceback (most recent call last):
File "train.py", line 280, in
training(lp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from)
File "train.py", line 125, in training
training_report(tb_writer, iteration, Ll1, loss, l1_loss, iter_start.elapsed_time(iter_end), testing_iterations, scene, render, (pipe, background))
File "train.py", line 250, in training_report
tb_writer.add_histogram("scene/opacity_histogram", scene.gaussians.get_opacity, iteration) File "/opt/conda/lib/python3.8/site-packages/torch/utils/tensorboard/writer.py", line 485, in add_histogram histogram(tag, values, bins, max_bins=max_bins), global_step, walltime File "/opt/conda/lib/python3.8/site-packages/torch/utils/tensorboard/sum mary.py", line 355, in histogram hist = make_histogram(values.astype(float), bins, max_bins) File "/opt/conda/lib/python3.8/site-packages/torch/utils/tensorboard/summary.py", line 399, in make_histogram raise ValueError("The histogram is empty, please file a bug report.") ValueError: The histogram is empty, please file file a bug report.

@XiaozhenQiao
Copy link
Author

Also, I found that the rendered images were all white.
image

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

1 participant