donydchen / mvsplat

🌊 [ECCV'24] MVSplat: Efficient 3D Gaussian Splatting from Sparse Multi-View Images
https://donydchen.github.io/mvsplat
Other
498 stars 22 forks source link

about training data #30

Closed boxuLibrary closed 1 month ago

boxuLibrary commented 1 month ago

Hi, i have a question about training data. Have you trained only one checkpoints with all the training data? I mean i don't want to train different checkpoints for different dataset? And i wonder if it is possible and how should i organize the dataset? if i need to write different dataloader? Thanks.

donydchen commented 1 month ago

Hi @boxuLibrary, thanks for your interest in our work.

We trained one checkpoint on RE10K, i.e., re10k.ckpt, which was then used to test on RE10K, ACID and DTU. We also trained another checkpoint on ACID, i.e., acid.ckpt. Typically the model performs the best when trained/fine-tuned on the specific dataset. Still, our model generalized reasonably well that you can try to test on other datasets using the 're10k.ckpt'.

You can reuse the re10k data loader at dataset_re10k.py. Just ensure that you provide the normalized camera intrinsic and OpenCV-style camera extrinsic. For more details, kindly refer to https://github.com/donydchen/mvsplat/issues/28 and https://github.com/donydchen/mvsplat/issues/1.

boxuLibrary commented 1 month ago

Thank you so much. I have another question. When I use the multi-GPU to train the code, I find only one GPS is used. Should I modify the code to support the multi-GPU training?

donydchen commented 1 month ago

Hi @boxuLibrary, this project is set to automatically use multiple GPUs when they are available, no additional modification is required.

If you run this project on a SLURM system, you might refer to here for more details on how to train a pytorch_lightning based project on multiple GPUs.