From b80ab0caf056f35ffbd8fd5930dbaf7f5056e46a Mon Sep 17 00:00:00 2001 From: generatedunixname89002005307016 Date: Wed, 24 Jan 2024 23:56:06 -0800 Subject: [PATCH] upgrade pyre version in `fbcode/vision` - batch 1 Differential Revision: D53059851 fbshipit-source-id: f5d0951186c858f90ddf550323a163e4b6d42b68 --- pytorch3d/ops/sample_farthest_points.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytorch3d/ops/sample_farthest_points.py b/pytorch3d/ops/sample_farthest_points.py index a2ff2e35..a2779e42 100644 --- a/pytorch3d/ops/sample_farthest_points.py +++ b/pytorch3d/ops/sample_farthest_points.py @@ -153,6 +153,7 @@ def sample_farthest_points_naive( ) # Select a random point index and save it as the starting point + # pyre-fixme[6]: For 2nd argument expected `int` but got `Tensor`. selected_idx = randint(0, lengths[n] - 1) if random_start_point else 0 sample_idx_batch[0] = selected_idx