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

Unable to Run train.py on NeRF Synthetic Scene After Latest Update #962

Open
Jakub-Szymkowiak opened this issue Aug 30, 2024 · 3 comments
Open

Comments

@Jakub-Szymkowiak
Copy link

After the latest update, I'm encountering the following error when trying to run train.py on a NeRF Synthetic scene:

(gaussian_splatting) /workspace/gaussian-splatting$ python train.py -s /workspace/datasets/nerf_synthetic/ficus
Optimizing 
Output folder: ./output/e8290376-d [30/08 14:12:44]
Tensorboard not available: not logging progress [30/08 14:12:44]
Found transforms_train.json file, assuming Blender data set! [30/08 14:12:44]
Reading Training Transforms [30/08 14:12:44]
Traceback (most recent call last):
  File "train.py", line 252, in <module>
    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 35, in training
    scene = Scene(dataset, gaussians)
  File "/workspace/gaussian-splatting/scene/__init__.py", line 47, in __init__
    scene_info = sceneLoadTypeCallbacks["Blender"](args.source_path, args.white_background, args.eval)
  File "/workspace/gaussian-splatting/scene/dataset_readers.py", line 270, in readNerfSyntheticInfo
    train_cam_infos = readCamerasFromTransforms(path, "transforms_train.json", white_background, extension)
  File "/workspace/gaussian-splatting/scene/dataset_readers.py", line 264, in readCamerasFromTransforms
    image_path=image_path, image_name=image_name, width=image.size[0], height=image.size[1]))
TypeError: __new__() missing 3 required positional arguments: 'depth_params', 'depth_path', and 'is_test'

Looking at this line, it appears to me that indeed these three arguments are missing.

@MatteoMarengo
Copy link

I have the same issue than you, I would be interested if someone manage to solve this.

@alanvinx
Copy link
Collaborator

alanvinx commented Sep 9, 2024

Hi, we are currently working on it, I will post a message here once it is resolved in the dev branch.

@alanvinx
Copy link
Collaborator

Hi, this was fixed in the dev branch.

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

3 participants