kcheng1021 / GaussianPro

[ICML2024] Official code for GaussianPro: 3D Gaussian Splatting with Progressive Propagation
https://kcheng1021.github.io/gaussianpro.github.io/
MIT License
551 stars 36 forks source link

What's wrong with training on my data? #18

Open simon20010923 opened 3 months ago

simon20010923 commented 3 months ago

Training progress: 3%|█▍ | 1040/30000 [03:56<1:40:05, 4.82it/s, Loss=81.6695909]./submodules/Propagation/Propagation: error while loading shared libraries: libopencv_imgcodecs.so.407: cannot open shared object file: No such file or directory Traceback (most recent call last): File "train.py", line 380, 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 135, in training normal = (R_w2c @ normal.view(-1, 3).permute(1, 0)).view(3, viewpoint_cam.image_height, viewpoint_cam.image_width)
RuntimeError: shape '[3, 480, 960]' is invalid for input of size 5121600

Is it about depth_loss? What is depth_loss for, actually?

yifanlu0227 commented 3 months ago

Are your images of different resolutions?

Ericgone commented 3 months ago

hi, how do you preprocess your own data? Specifically, how did you get the 'Mask' folder?

sonnefred commented 2 weeks ago

Training progress: 3%|█▍ | 1040/30000 [03:56<1:40:05, 4.82it/s, Loss=81.6695909]./submodules/Propagation/Propagation: error while loading shared libraries: libopencv_imgcodecs.so.407: cannot open shared object file: No such file or directory Traceback (most recent call last): File "train.py", line 380, 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 135, in training normal = (R_w2c @ normal.view(-1, 3).permute(1, 0)).view(3, viewpoint_cam.image_height, viewpoint_cam.image_width) RuntimeError: shape '[3, 480, 960]' is invalid for input of size 5121600

Is it about depth_loss? What is depth_loss for, actually?

Hi, did you solve the problem? I met the same error. Thanks