"git@developer.sourcefind.cn:one/TransferBench.git" did not exist on "7644fef5369ad82b1eea35348a39069122e99802"
Commit b80ab0ca authored by generatedunixname89002005307016's avatar generatedunixname89002005307016 Committed by Facebook GitHub Bot
Browse files

upgrade pyre version in `fbcode/vision` - batch 1

Differential Revision: D53059851

fbshipit-source-id: f5d0951186c858f90ddf550323a163e4b6d42b68
parent 1e817914
...@@ -153,6 +153,7 @@ def sample_farthest_points_naive( ...@@ -153,6 +153,7 @@ def sample_farthest_points_naive(
) )
# Select a random point index and save it as the starting point # 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 selected_idx = randint(0, lengths[n] - 1) if random_start_point else 0
sample_idx_batch[0] = selected_idx sample_idx_batch[0] = selected_idx
......
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