From 9b981f2c7e56d5373acf87b45b01f6172e60c027 Mon Sep 17 00:00:00 2001 From: generatedunixname89002005307016 Date: Fri, 26 Jan 2024 19:10:37 -0800 Subject: [PATCH] suppress errors in `vision/fair/pytorch3d` Differential Revision: D53152021 fbshipit-source-id: 78be99b00abe4d992db844ff5877a89d42d468af --- pytorch3d/implicitron/models/visualization/render_flyaround.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pytorch3d/implicitron/models/visualization/render_flyaround.py b/pytorch3d/implicitron/models/visualization/render_flyaround.py index a3164c13..2a3afadb 100644 --- a/pytorch3d/implicitron/models/visualization/render_flyaround.py +++ b/pytorch3d/implicitron/models/visualization/render_flyaround.py @@ -304,7 +304,6 @@ def _show_predictions( pred_all = [] # Randomly choose a subset of the rendered images, sort by ordr in the sequence n_samples = min(n_samples, len(preds)) - # pyre-fixme[20]: Argument `k` expected. pred_idx = sorted(random.sample(list(range(len(preds))), n_samples)) for predi in pred_idx: # Make the concatentation for the same camera vertically