error for Fast-D3DGS at add_densification_stats stage
Hi! I encountered an error on this the add_densification_stats stage, any idea for fixing that?
python train.py -s ./data/neur3d/cut_roasted_beef -m output/cut_roasted_beef --eval --iterations 30000
Optimizing output/cut_roasted_beef
Output folder: output/cut_roasted_beef [30/11 15:05:35]
Found calibration_full.json, assuming Neu3D data set! [30/11 15:05:36]
Reading Training Camera [30/11 15:05:36]
Reading Training Camera [30/11 15:06:13]
Loading Training Cameras [30/11 15:06:15]
Loading Test Cameras [30/11 15:06:34]
Number of points at initialisation : 100000 [30/11 15:06:35]
Training progress: 0%| | 0/30000 [00:00<?, ?it/s]Traceback (most recent call last):
File "/workspace/Fast-D3DGS/train.py", line 307, in <module>
training(lp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, args.save_iterations)
File "/workspace/Fast-D3DGS/train.py", line 158, in training
gaussians.add_densification_stats(viewspace_point_tensor, visibility_filter)
File "//workspace/Fast-D3DGS/scene/gaussian_model.py", line 523, in add_densification_stats
self.xyz_gradient_accum[update_filter] += torch.norm(viewspace_point_tensor.grad[update_filter, :2], dim=-1,
TypeError: 'NoneType' object is not subscriptable
Training progress: 0%|
Hello! I’m currently troubleshooting the issue. Please wait patiently.
Hello! I re-ran the entire pipeline following the README, and everything worked without any issues.
You can download our processed data via this link.
Hi. Thanks for the prompt reply! I think the issue is that when I finish the colmap script, I forget to move the images and sparse from the colmap folder out, and then I make some code adapation to make it work that cause the issue.
I tested by moving out my colmap data and also your processed data, basically the results are similar and run without error.
I'm still confused that we have lots of images of multiple cameras in the Neural 3D video dataset, why after the colmap processing we only have around 18 images? These few images seem not enough for observing a dynamic scene. (Sorry for I'm not very familiar on the colmap processing for multiview dynamic scenes.)
The original neru3d dataset could be like:
data/neur3d/cut_roasted_beef/
|-- cam00
|-- cam00.mp4
|-- cam01
|-- cam01.mp4
|-- cam02
|-- cam02.mp4
|-- cam03
|-- cam03.mp4
|-- cam05
|-- cam05.mp4
|-- cam06
|-- cam06.mp4
|-- cam07
|-- cam07.mp4
|-- cam08
|-- cam08.mp4
|-- cam09
|-- cam09.mp4
|-- cam10
|-- cam10.mp4
|-- cam11
|-- cam11.mp4
|-- cam12
|-- cam12.mp4
|-- cam13
|-- cam13.mp4
|-- cam14
|-- cam14.mp4
|-- cam15
|-- cam15.mp4
|-- cam16
|-- cam16.mp4
|-- cam17
|-- cam17.mp4
|-- cam18
|-- cam18.mp4
|-- cam19
|-- cam19.mp4
|-- cam20
|-- cam20.mp4
|-- colmap
|-- image_colmap
|-- points3D.ply
|-- poses_bounds.npy
`-- sparse_
Hello! I’m not entirely sure about the reason either — I simply followed the data processing pipeline of 4DGaussians. You may consider reaching out to them for assistance.
Thanks for the suggestion! I will dive deep into the 4DGaussians pipeline as well. I may re-open this issue again if I got some conclusion. Thanks!