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

Function _RasterizeGaussiansBackward returned an invalid gradient at index 2 - got [0, 0, 3] but expected shape compatible with [0, 16, 3] #59

Open
123456xuan opened this issue Aug 12, 2024 · 0 comments

Comments

@123456xuan
Copy link

Hi, thanks for the code you provided, I solved a lot of things in this code. However, the following problem occurred when I used my own D-bit data set. I checked many parts of the code that could be modified, but still couldn't find a solution, so please help me to answer this problem, thank you very much.

Traceback (most recent call last):
File "/home/root/FSGS/train.py", line 282, in
training(lp.extract(args), op.extract(args), pp.extract(args), args)
File "/home/root/FSGS/train.py", line 139, in training
loss.backward()
File "/opt/anaconda3/envs/3dgs/lib/python3.9/site-packages/torch/_tensor.py", line 522, in backward
torch.autograd.backward(
File "/opt/anaconda3/envs/3dgs/lib/python3.9/site-packages/torch/autograd/init.py", line 266, in backward
Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass
RuntimeError: Function _RasterizeGaussiansBackward returned an invalid gradient at index 2 - got [0, 0, 3] but expected shape compatible with [0, 16, 3]
Training progress: 0%| | 0/10000 [00:00<?, ?it/s]

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