Skip to content

Commit f03aa58

Browse files
root@sandcastle5743.frc3.facebook.comfacebook-github-bot
root@sandcastle5743.frc3.facebook.com
authored andcommitted
suppress errors in vision/fair/pytorch3d
Differential Revision: D23180198 fbshipit-source-id: cad1fa7ba9935f3ca20410a2575e173999c04be1
1 parent 7f2f95f commit f03aa58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pytorch3d/renderer/blending.py

+2
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ def softmax_rgb_blend(
189189

190190
# Also apply exp normalize trick for the background color weight.
191191
# Clamp to ensure delta is never 0.
192+
# pyre-fixme[20]: Argument `max` expected.
193+
# pyre-fixme[6]: Expected `Tensor` for 1st param but got `float`.
192194
delta = torch.exp((eps - z_inv_max) / blend_params.gamma).clamp(min=eps)
193195

194196
# Normalize weights.

0 commit comments

Comments
 (0)