suppress errors in vision/fair/pytorch3d

Differential Revision: D26658196

fbshipit-source-id: f38950ace2ff95ad1170a0d8acd5420bcb6dd4b7
This commit is contained in:
generatedunixname89002005307016 2021-02-24 21:50:43 -08:00 committed by Facebook GitHub Bot
parent 13429640d3
commit 9c161d1d04

View File

@ -125,8 +125,6 @@ def rasterize_points(
if bin_size != 0:
# There is a limit on the number of points per bin in the cuda kernel.
# pyre-fixme[58]: `//` is not supported for operand types `int` and
# `Union[int, None, int]`.
points_per_bin = 1 + (max_image_size - 1) // bin_size
if points_per_bin >= kMaxPointsPerBin:
raise ValueError(