zju3dv / PGSR

[TVCG2024] PGSR: Planar-based Gaussian Splatting for Efficient and High-Fidelity Surface Reconstruction
https://zju3dv.github.io/pgsr/
Other
507 stars 33 forks source link

Unable to Run train.py on NeRF Synthetic Scene #32

Closed misakamage closed 2 months ago

misakamage commented 2 months ago

I'm encountering the following error when trying to run train.py on a NeRF Synthetic scene: Traceback (most recent call last): File "train.py", line 495, in 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 97, in training scene = Scene(dataset, gaussians) File "/home/czy98/code_data/PGSR/scene/init.py", line 50, in init scene_info = sceneLoadTypeCallbacks["Blender"](args.source_path, args.white_background, args.eval) File "/home/czy98/code_data/PGSR/scene/dataset_readers.py", line 255, in readNerfSyntheticInfo train_cam_infos = readCamerasFromTransforms(path, "transforms_train.json", white_background, extension) File "/home/czy98/code_data/PGSR/scene/dataset_readers.py", line 248, in readCamerasFromTransforms cam_infos.append(CameraInfo(uid=idx, R=R, T=T, FovY=FovY, FovX=FovX, image=image, TypeError: new() got an unexpected keyword argument 'image'