diff --git a/pytorch3d/renderer/points/rasterize_points.py b/pytorch3d/renderer/points/rasterize_points.py index 097ff347..ce224d1e 100644 --- a/pytorch3d/renderer/points/rasterize_points.py +++ b/pytorch3d/renderer/points/rasterize_points.py @@ -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(