chensjtu / GaussianObject

GaussianObject: High-Quality 3D Object Reconstruction from Four Views with Gaussian Splatting (SIGGRAPH Asia 2024, TOG)
887 stars 54 forks source link

Is there anybody who was able to get results with Colmap-free Gaussian Object #58

Closed merkol closed 23 hours ago

TXSevenXT commented 1 week ago

No for the moment sadly (for me*).. I'm trying custom dataset and it doesn't work :(. I've tried with rabbit but got error : "IndexError: too many indices for array: array is 2-dimensional, but 3 were indexed"

Dumeowmeow commented 1 week ago

No for the moment sadly (for me*).. I'm trying custom dataset and it doesn't work :(. I've tried with rabbit but got error : "IndexError: too many indices for array: array is 2-dimensional, but 3 were indexed"

Just modify line 149 in pred_poses.py: from original_masks = [np.array(Image.open(mask).resize(image.size))[:, :, 0] / 255.0 for mask, image in zip(masks, original_images)] to original_masks = [np.array(Image.open(mask).resize(image.size)) / 255.0 for mask, image in zip(masks, original_images)]

TXSevenXT commented 1 week ago

Thanks dude,

I've replied to another post few days ago (https://github.com/GaussianObject/GaussianObject/issues/52) but didn't reply in this one 😅

No for the moment sadly (for me*).. I'm trying custom dataset and it doesn't work :(. I've tried with rabbit but got error : "IndexError: too many indices for array: array is 2-dimensional, but 3 were indexed"

Just modify line 149 in pred_poses.py: from original_masks = [np.array(Image.open(mask).resize(image.size))[:, :, 0] / 255.0 for mask, image in zip(masks, original_images)] to original_masks = [np.array(Image.open(mask).resize(image.size)) / 255.0 for mask, image in zip(masks, original_images)]

chensjtu commented 23 hours ago

Close this issue since it has been solved. Feel free to reopen~