autonomousvision / gaussian-opacity-fields

Gaussian Opacity Fields: Efficient and Compact Surface Reconstruction in Unbounded Scenes
https://niujinshuchong.github.io/gaussian-opacity-fields/
Other
559 stars 26 forks source link

training time #28

Closed TY424 closed 1 month ago

TY424 commented 1 month ago

The function depths_to_points() is the same as 2DGS. This improvement may also be useful for gaussian-opacity-fields.

grid_x, grid_y = torch.meshgrid(torch.arange(W)+0.5, torch.arange(H)+0.5, indexing='xy')
grid_x, grid_y = torch.meshgrid(torch.arange(W, device='cuda').float(), torch.arange(H, device='cuda').float(),indexing='xy')
niujinshuchong commented 1 month ago

Hi, thanks for pointing this out. I updated it.