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.63k stars 1.92k forks source link

I keep getting the following error when i train #1032

Open NoOne-del-6 opened 2 weeks ago

NoOne-del-6 commented 2 weeks ago

raceback (most recent call last): File "D:\working\research\gaussian-splatting\train.py", line 282, 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 "D:\working\research\gaussian-splatting\train.py", line 111, in training render_pkg = render(viewpoint_cam, gaussians, pipe, bg, use_trained_exp=dataset.train_test_exp, separate_sh=SPARSE_ADAM_AVAILABLE) File "D:\working\research\gaussian-splatting\gaussian_renderer__init__.py", line 36, in render raster_settings = GaussianRasterizationSettings( TypeError: GaussianRasterizationSettings.new() got an unexpected keyword argument 'antialiasing' Training progress: 0%|

alanvinx commented 2 weeks ago

Hi, antialiasing can be enabled/disabled when training or rendering gaussians but for this you need to install the latest version of diff-gaussian-rasterization in your conda environment. If you pulled the repo recently the rasterizer's commit should be 9c5c202 (you can check this using git log submodules/diff-gaussian-rasterization), then you can install this rasterizer to your conda env using pip install submodules/diff-gaussian-rasterization.

Huajijunbilibili commented 1 week ago

I've met the same error when running the train

Huajijunbilibili commented 1 week ago

Hi, antialiasing can be enabled/disabled when training or rendering gaussians but for this you need to install the latest version of diff-gaussian-rasterization in your conda environment. If you pulled the repo recently the rasterizer's commit should be 9c5c202 (you can check this using git log submodules/diff-gaussian-rasterization), then you can install this rasterizer to your conda env using pip install submodules/diff-gaussian-rasterization.

thank you,I have solve the question