Closed shenwenhao01 closed 5 months ago
When I run the original program (only modify "pipe.compute_cov3D_python = True") with your suggested environment, it throws out a more detailed error:
Traceback (most recent call last):
File "/home/shenwenhao/anaconda3/envs/gaussian_surfels/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/shenwenhao/anaconda3/envs/gaussian_surfels/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/shenwenhao/.vscode-server/extensions/ms-python.debugpy-2024.2.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py", line 39, in <module>
cli.main()
File "/home/shenwenhao/.vscode-server/extensions/ms-python.debugpy-2024.2.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 430, in main
run()
File "/home/shenwenhao/.vscode-server/extensions/ms-python.debugpy-2024.2.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 284, in run_file
runpy.run_path(target, run_name="__main__")
File "/home/shenwenhao/.vscode-server/extensions/ms-python.debugpy-2024.2.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 322, in run_path
pkg_name=pkg_name, script_name=fname)
File "/home/shenwenhao/.vscode-server/extensions/ms-python.debugpy-2024.2.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 136, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/home/shenwenhao/.vscode-server/extensions/ms-python.debugpy-2024.2.0-linux-x64/bundled/libs/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 124, in _run_code
exec(code, run_globals)
File "train.py", line 291, in <module>
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 94, in training
render_pkg = render(viewpoint_cam, gaussians, pipe, background, patch_size)
File "/home/shenwenhao/gaussian_surfels/gaussian_renderer/__init__.py", line 105, in render
cov3D_precomp = cov3D_precomp)
File "/home/shenwenhao/anaconda3/envs/gaussian_surfels/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/shenwenhao/anaconda3/envs/gaussian_surfels/lib/python3.7/site-packages/diff_gaussian_rasterization/__init__.py", line 246, in forward
raster_settings
File "/home/shenwenhao/anaconda3/envs/gaussian_surfels/lib/python3.7/site-packages/diff_gaussian_rasterization/__init__.py", line 47, in rasterize_gaussians
raster_settings,
File "/home/shenwenhao/anaconda3/envs/gaussian_surfels/lib/python3.7/site-packages/diff_gaussian_rasterization/__init__.py", line 104, in forward
num_rendered, color, normal, depth, opac, radii, geomBuffer, binningBuffer, imgBuffer = _C.rasterize_gaussians(*args)
RuntimeError: numel: integer multiplication overflow
Hi, the precomputed conv3d is inherited from the original 3DGS code, and I have never used or tested this pipeline in my modified rasterizer. I am afraid that it is not supported yet, very sorry about this.
I passed cov3D_precomp into the rasterizer to apply a transform matrix.
But when I use the rasterizer, it reports a cuda error.
I was sure that all the input tensors to the rasterizer are on the same device. I wonder if there is some error in the rasterizer?
I have the pytorch2.0, python3.8.