"examples/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "a96238547dcde03ec2ed5986de2ac1c94887ce08"
Commit 35855bf8 authored by Pyre Bot Jr's avatar Pyre Bot Jr Committed by Facebook GitHub Bot
Browse files

suppress errors in `vision/fair/pytorch3d`

Differential Revision: D29360359

fbshipit-source-id: 9e91e8499a23e30a5fc39f8f6444b2db9f6b4142
parent 07a5a68d
...@@ -100,6 +100,7 @@ def cot_laplacian( ...@@ -100,6 +100,7 @@ def cot_laplacian(
s = 0.5 * (A + B + C) s = 0.5 * (A + B + C)
# note that the area can be negative (close to 0) causing nans after sqrt() # note that the area can be negative (close to 0) causing nans after sqrt()
# we clip it to a small positive value # we clip it to a small positive value
# pyre-fixme[16]: `float` has no attribute `clamp_`.
area = (s * (s - A) * (s - B) * (s - C)).clamp_(min=eps).sqrt() area = (s * (s - A) * (s - B) * (s - C)).clamp_(min=eps).sqrt()
# Compute cotangents of angles, of shape (sum(F_n), 3) # Compute cotangents of angles, of shape (sum(F_n), 3)
......
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