graphdeco-inria / gaussian-splatting

Original reference implementation of "3D Gaussian Splatting for Real-Time Radiance Field Rendering"
https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/
Other
14.59k stars 1.91k forks source link

TypeError: __new__() missing 1 required positional argument: 'projmatrix_raw' #924

Open jianchaoci opened 3 months ago

jianchaoci commented 3 months ago

I got this error when training the network. I got colmap data set already, it works well. But when start training, I got this error. Traceback (most recent call last): File "train.py", line 219, 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 86, in training render_pkg = render(viewpoint_cam, gaussians, pipe, bg) File "/home/jianchao/git_opensource_pro/gaussian-splatting/gaussian_renderer/init.py", line 37, in render raster_settings = GaussianRasterizationSettings( TypeError: new() missing 1 required positional argument: 'projmatrix_raw'

jianchaoci commented 3 months ago

Hi I just solved it as I did not use the diff-gaussian-rasterization you provided. Now it works after I reinstall this package.

yemiaoxuan commented 2 months ago

Hi I just solved it as I did not use the diff-gaussian-rasterization you provided. Now it works after I reinstall this package.

I encountered the same issue, but reinstalling did not resolve it. Could you please explain the solution in more detail?

choyy commented 2 months ago

Hi I just solved it as I did not use the diff-gaussian-rasterization you provided. Now it works after I reinstall this package.

I encountered the same issue, but reinstalling did not resolve it. Could you please explain the solution in more detail?

试试重新安装diff-gaussian-rasterization: pip install submodules/diff-gaussian-rasterization/