SuGaR icon indicating copy to clipboard operation
SuGaR copied to clipboard

Dataset error

Open zqdsdfg opened this issue 1 year ago • 2 comments

Can I share training data sets? I train with the nerf_synthetic/lego dataset and keep reporting errors: "FileNotFoundError: [Errno 2] No such file or directory: '/home/zhang/3D/nerf_synthetic/lego/images/r_100.png' ", I checked the number of images in the data set and only r_0-r_99, I don't understand what's wrong?

zqdsdfg avatar Oct 08 '24 02:10 zqdsdfg

Hello @zqdsdfg,

May I ask you when did you get the error during training? It would be very nice if you could post the logs/a screenshot of the console here.

The nerf_synthetic dataset has a different format than COLMAP datasets, that's probably why you get an error (as the code is focused on COLMAP-like real scenes). However, with a few adjustments to the loading scripts in the code, it's possible to run SuGaR on the nerf_synthetic scenes.

I don't have that much time right now, but I'll update the repo with some instructions to run the code on nerf_synthetic.

In the meantime, you can take a look at our more recent project Gaussian Frosting and check the ./Frosting/frosting_scene/cameras.py script, as it has the same architecture as SuGaR and is compatible with nerf_synthetic scenes: https://github.com/Anttwo/Frosting

Anttwo avatar Oct 10 '24 10:10 Anttwo

Hello @zqdsdfg , After Gaussian training, you got the output file: camera.json is related to folder 'test' (r_0 to r_199), but not 'train' (r_0 to r_99). Try to adjust loading path in [camera.py] to load images from 'test' in nerf_synthetic/lego

Simon-kjx avatar May 13 '25 14:05 Simon-kjx