From e0c3ca97ff9879e9d8a0132338a1e92970f34080 Mon Sep 17 00:00:00 2001 From: generatedunixname89002005307016 Date: Tue, 23 May 2023 20:34:54 -0700 Subject: [PATCH] upgrade pyre version in `fbcode/vision` - batch 2 Differential Revision: D46119066 fbshipit-source-id: b766118b9dcc07075d328fba73f272419dc9fc38 --- pytorch3d/implicitron/evaluation/evaluate_new_view_synthesis.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytorch3d/implicitron/evaluation/evaluate_new_view_synthesis.py b/pytorch3d/implicitron/evaluation/evaluate_new_view_synthesis.py index 1ee1a7793..decf938b2 100644 --- a/pytorch3d/implicitron/evaluation/evaluate_new_view_synthesis.py +++ b/pytorch3d/implicitron/evaluation/evaluate_new_view_synthesis.py @@ -339,6 +339,8 @@ def eval_batch( ): results[rgb_metric_name] = rgb_metric_fun( image_render, + # pyre-fixme[6]: For 2nd argument expected `Tensor` but got + # `Optional[Tensor]`. image_rgb, mask=mask_crop, )