Commit f03aa580 authored by root@sandcastle5743.frc3.facebook.com's avatar root@sandcastle5743.frc3.facebook.com Committed by Facebook GitHub Bot
Browse files

suppress errors in `vision/fair/pytorch3d`

Differential Revision: D23180198

fbshipit-source-id: cad1fa7ba9935f3ca20410a2575e173999c04be1
parent 7f2f95f2
......@@ -189,6 +189,8 @@ 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)
# Normalize weights.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment