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

Training on data exported from Metashape #221

Open
ariannaferraris opened this issue Dec 12, 2024 · 0 comments
Open

Training on data exported from Metashape #221

ariannaferraris opened this issue Dec 12, 2024 · 0 comments

Comments

@ariannaferraris
Copy link

ariannaferraris commented Dec 12, 2024

Hi there,

Firstly, thank you for your work!

I was trying to train the model on COLMAP data extracted from Metashape, that I managed to obtain through this script https://github.com/agisoft-llc/metashape-scripts/blob/master/src/export_for_gaussian_splatting.py

The folder structure I get after exporting my data from Metashape is the following:

  • frame_000001

    • images
      • cam01_frame_000001
      • cam02_frame_000001
      • cam03_frame_000001
    • sparse
      • 0
        • cameras.bin
        • images.bin
        • points3D.bin
  • frame_000002

    • images
      • cam01_frame_000002
      • cam02_frame_000002
      • cam03_frame_000002
    • sparse
      • 0
        • cameras.bin
        • images.bin
        • points3D.bin

However, as soon as I try to train using the command python train.py -s {filedir} --port 6017 --expname "GS0003_Arianna_test" --configs arguments/hypernerf/default.py I get the following error:

Traceback (most recent call last):
File "train.py", line 428, in
training(lp.extract(args), hp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from, args.expname)
File "train.py", line 302, in training
scene = Scene(dataset, gaussians, load_coarse=None)
File "...\4DGaussians\scene_init_.py", line 65, in init
assert False, "Could not recognize scene type!"
AssertionError: Could not recognize scene type!

I also tried without --configs arguments/hypernerf/default.py but I get the same error.

Could someone help me in understanding what’s wrong? If I try to train one single frame, I don’t have any problems and the result looks great, but now that I wanted to add the time dimension I cannot make it work. My setup consists of 42 static cameras and I was trying to train on 40 frames in total.

Thank you in advance!

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