upgrade pyre version in fbcode/vision - batch 1

Differential Revision: D53059851

fbshipit-source-id: f5d0951186c858f90ddf550323a163e4b6d42b68
This commit is contained in:
generatedunixname89002005307016 2024-01-24 23:56:06 -08:00 committed by Facebook GitHub Bot
parent 1e817914b3
commit b80ab0caf0

View File

@ -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