Skip to content

Commit 44d2a9b

Browse files
Pyre Bot Jrfacebook-github-bot
authored andcommitted
suppress errors in vision/fair/pytorch3d
Differential Revision: D29573014 fbshipit-source-id: 87083e30d757fcceb4e380edc9973e07e6da6c76
1 parent 10eb389 commit 44d2a9b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

pytorch3d/ops/points_to_volumes.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@ def splat_points_to_volumes(
385385
volume_features.scatter_add_(2, idx_valid, w_valid * points_features)
386386

387387
# divide each feature by the total weight of the votes
388-
# pyre-fixme[20]: Argument `max` expected.
389388
volume_features = volume_features / volume_densities.view(ba, 1, n_voxels).clamp(
390389
min_weight
391390
)
@@ -495,7 +494,6 @@ def round_points_to_volumes(
495494
volume_features.scatter_add_(2, idx_valid, w_valid * points_features)
496495

497496
# divide each feature by the total weight of the votes
498-
# pyre-fixme[20]: Argument `max` expected.
499497
volume_features = volume_features / volume_densities.view(ba, 1, n_voxels).clamp(
500498
1.0
501499
)

pytorch3d/renderer/blending.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ def softmax_rgb_blend(
209209

210210
# Also apply exp normalize trick for the background color weight.
211211
# Clamp to ensure delta is never 0.
212-
# pyre-fixme[20]: Argument `max` expected.
213212
# pyre-fixme[6]: Expected `Tensor` for 1st param but got `float`.
214213
delta = torch.exp((eps - z_inv_max) / blend_params.gamma).clamp(min=eps)
215214

0 commit comments

Comments
 (0)