Skip to content

Commit b80ab0c

Browse files
generatedunixname89002005307016facebook-github-bot
generatedunixname89002005307016
authored andcommitted
upgrade pyre version in fbcode/vision - batch 1
Differential Revision: D53059851 fbshipit-source-id: f5d0951186c858f90ddf550323a163e4b6d42b68
1 parent 1e81791 commit b80ab0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytorch3d/ops/sample_farthest_points.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def sample_farthest_points_naive(
153153
)
154154

155155
# Select a random point index and save it as the starting point
156+
# pyre-fixme[6]: For 2nd argument expected `int` but got `Tensor`.
156157
selected_idx = randint(0, lengths[n] - 1) if random_start_point else 0
157158
sample_idx_batch[0] = selected_idx
158159

0 commit comments

Comments
 (0)