diff --git a/pytorch3d/ops/points_to_volumes.py b/pytorch3d/ops/points_to_volumes.py index 4e29fec1..3a27ebc0 100644 --- a/pytorch3d/ops/points_to_volumes.py +++ b/pytorch3d/ops/points_to_volumes.py @@ -385,7 +385,6 @@ def splat_points_to_volumes( volume_features.scatter_add_(2, idx_valid, w_valid * points_features) # divide each feature by the total weight of the votes - # pyre-fixme[20]: Argument `max` expected. volume_features = volume_features / volume_densities.view(ba, 1, n_voxels).clamp( min_weight ) @@ -495,7 +494,6 @@ def round_points_to_volumes( volume_features.scatter_add_(2, idx_valid, w_valid * points_features) # divide each feature by the total weight of the votes - # pyre-fixme[20]: Argument `max` expected. volume_features = volume_features / volume_densities.view(ba, 1, n_voxels).clamp( 1.0 ) diff --git a/pytorch3d/renderer/blending.py b/pytorch3d/renderer/blending.py index d91a4969..8bc26ea0 100644 --- a/pytorch3d/renderer/blending.py +++ b/pytorch3d/renderer/blending.py @@ -209,7 +209,6 @@ def softmax_rgb_blend( # Also apply exp normalize trick for the background color weight. # Clamp to ensure delta is never 0. - # pyre-fixme[20]: Argument `max` expected. # pyre-fixme[6]: Expected `Tensor` for 1st param but got `float`. delta = torch.exp((eps - z_inv_max) / blend_params.gamma).clamp(min=eps)