einsafutdinov commited on
Commit
2d19fdf
β€’
1 Parent(s): 1292189

revert type conversion

Browse files
flash3d/unidepth/utils/geometric.py CHANGED
@@ -124,8 +124,6 @@ def unproject_points(
124
  torch.Tensor: Batch of 3D point clouds of shape (B, 3, H, W).
125
  """
126
  batch_size, _, height, width = depth.shape
127
- height = int(height)
128
- width = int(width)
129
  device = depth.device
130
 
131
  # Create pixel grid
 
124
  torch.Tensor: Batch of 3D point clouds of shape (B, 3, H, W).
125
  """
126
  batch_size, _, height, width = depth.shape
 
 
127
  device = depth.device
128
 
129
  # Create pixel grid