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

Run error on my own dataset #54

Open
sonnefred opened this issue Jun 11, 2024 · 9 comments
Open

Run error on my own dataset #54

sonnefred opened this issue Jun 11, 2024 · 9 comments

Comments

@sonnefred
Copy link

sonnefred commented Jun 11, 2024

Hi, when I run the model on my own dataset, the following error occurs, and this is a random error during the training process. I checked the resolution of training images and they are the same. Could you give any help? Thanks.
图片

@sonnefred sonnefred changed the title Run Run error on my own dataset Jun 11, 2024
@kcheng1021
Copy link
Owner

kcheng1021 commented Jun 14, 2024

Hi, could you print the shape of normal?

@sonnefred
Copy link
Author

Hi, could you print the shape of normal?

Hi, I have printed the shape of normals, but sometimes the error occurs in another place, like this.
图片

@sonnefred
Copy link
Author

I also encountered this error. It seems there is something wrong with tensor shapes ... Do you have any idea what may cause this? Thanks.
图片

@sonnefred
Copy link
Author

I print tensor shapes here:
图片
And got error like this, and the shape of depth_src suddenly changes. Do you know what the reason is?
图片

@kcheng1021
Copy link
Owner

Sorry for the late reply. Do you ensure that your images in your dataset are in the same size?

@sonnefred
Copy link
Author

Sorry for the late reply. Do you ensure that your images in your dataset are in the same size?

Yes, I have checked that. The problem is that for the same scene data, the training can be finished after many attempts with the abovementioned error occurring, so maybe it's not related to the images resolution.

@kcheng1021
Copy link
Owner

kcheng1021 commented Jun 20, 2024

I haven't encounter the error. Maybe you could upload your data for me to reproduce the error.
Anyone else meet the same error is also welcome to discuss in this issue.

@sonnefred
Copy link
Author

I haven't encounter the error. Maybe you could upload your data for me to reproduce the error. Anyone else meet the same error is also welcome to discuss in this issue.

Hi, in previous issues I also see other people encountered the same error. I will do some experiments on Waymo and see whether the error exists. Thanks.

@JohnnyKimura
Copy link

hello friend,i wonder how can i run my own dataset? i prepare my data use colmap but i got this error:

File "train.py", line 372, 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 41, in training scene = Scene(dataset, gaussians) File "D:\01ZPS_data\models\GaussianPro\scene_init_.py", line 74, in init self.train_cameras[resolution_scale] = cameraList_from_camInfos(scene_info.train_cameras, resolution_scale, args) File "D:\01ZPS_data\models\GaussianPro\utils\camera_utils.py", line 77, in cameraList_from_camInfos camera_list.append(loadCam(args, id, c, resolution_scale)) File "D:\01ZPS_data\models\GaussianPro\utils\camera_utils.py", line 71, in loadCam sky_mask=resized_sky_mask, normal=resized_normal, depth=resized_depth) File "D:\01ZPS_data\models\GaussianPro\scene\cameras.py", line 53, in init [0, K[1], K[3]], IndexError: index 3 is out of bounds for axis 0 with size 3

if you dont mind ,could you tell me how u prepare the dataset? especially how you set up the dataset floder? Thank you! @sonnefred

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