mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-03 04:12:48 +08:00
suppress errors in vision/fair/pytorch3d
Differential Revision: D26658196 fbshipit-source-id: f38950ace2ff95ad1170a0d8acd5420bcb6dd4b7
This commit is contained in:
parent
13429640d3
commit
9c161d1d04
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user