Skip to content

Commit 5b1d1a8

Browse files
Pyre Bot Jrfacebook-github-bot
authored andcommitted
suppress errors in fbcode/vision - batch 1
Differential Revision: D29827499 fbshipit-source-id: b67ea1050ba6ab9998e20741a69c194cf767108d
1 parent 8b0953c commit 5b1d1a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/DensePose/densepose/modeling/losses/embed_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def accumulate(self, instances_one_image: Instances):
7474
boxes_xywh_est, boxes_xywh_gt, instances_one_image.gt_densepose
7575
):
7676
if (dp_gt is not None) and (len(dp_gt.x) > 0):
77-
self._do_accumulate(box_xywh_gt, box_xywh_est, dp_gt) # pyre-ignore[6]
77+
self._do_accumulate(box_xywh_gt, box_xywh_est, dp_gt)
7878
self.nxt_bbox_index += 1
7979

8080
def _do_accumulate(self, box_xywh_gt: torch.Tensor, box_xywh_est: torch.Tensor, dp_gt: Any):

projects/DensePose/densepose/modeling/losses/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def accumulate(self, instances_one_image: Instances):
351351
boxes_xywh_est, boxes_xywh_gt, instances_one_image.gt_densepose
352352
):
353353
if (dp_gt is not None) and (len(dp_gt.x) > 0):
354-
self._do_accumulate(box_xywh_gt, box_xywh_est, dp_gt) # pyre-ignore[6]
354+
self._do_accumulate(box_xywh_gt, box_xywh_est, dp_gt)
355355
self.nxt_bbox_index += 1
356356

357357
def _do_accumulate(

0 commit comments

Comments
 (0)