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

A problem on training #161

Open
mayBeYan opened this issue Jul 11, 2024 · 1 comment
Open

A problem on training #161

mayBeYan opened this issue Jul 11, 2024 · 1 comment

Comments

@mayBeYan
Copy link

PS D:\Project_3DGS\4DGaussians> python train.py -s data/multipleview/input
2024-07-11 18:25:33.076885: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-07-11 18:25:33.474622: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
Optimizing
Output folder: ./output/ [11/07 18:25:34]
feature_dim: 128 [11/07 18:25:34]
Traceback (most recent call last):
File "D:\Project_3DGS\4DGaussians\train.py", line 429, 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 "D:\Project_3DGS\4DGaussians\train.py", line 303, in training
scene = Scene(dataset, gaussians, load_coarse=None)
File "D:\Project_3DGS\4DGaussians\scene_init_.py", line 62, in init
scene_info = sceneLoadTypeCallbacks"MultipleView"
File "D:\Project_3DGS\4DGaussians\scene\dataset_readers.py", line 603, in readMultipleViewinfos
train_cam_infos = multipleview_dataset(cam_extrinsics=cam_extrinsics, cam_intrinsics=cam_intrinsics, cam_folder=datadir,split="train")
File "D:\Project_3DGS\4DGaussians\scene\multipleview_dataset.py", line 20, in init
self.focal = [cam_intrinsics[1].params[0], cam_intrinsics[1].params[0]]
KeyError: 1

Excuse me ,
When training ,i got the error information above . I think it is the problem about the cam input ,but i could not find the reason,paticularly the meaning of "KeyError: 1".
My input is like this ,could you help me solve this problem
791a96658fc44955424a91a9e3154e4

@guanjunwu
Copy link
Collaborator

e, why your multiple view dataset only have one camera?

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

2 participants