Commit 9c161d1d authored by generatedunixname89002005307016's avatar generatedunixname89002005307016 Committed by Facebook GitHub Bot
Browse files

suppress errors in `vision/fair/pytorch3d`

Differential Revision: D26658196

fbshipit-source-id: f38950ace2ff95ad1170a0d8acd5420bcb6dd4b7
parent 13429640
...@@ -125,8 +125,6 @@ def rasterize_points( ...@@ -125,8 +125,6 @@ def rasterize_points(
if bin_size != 0: if bin_size != 0:
# There is a limit on the number of points per bin in the cuda kernel. # 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 points_per_bin = 1 + (max_image_size - 1) // bin_size
if points_per_bin >= kMaxPointsPerBin: if points_per_bin >= kMaxPointsPerBin:
raise ValueError( raise ValueError(
......
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