Skip to content

Commit

Permalink
upgrade pyre version in fbcode/vision - batch 1
Browse files Browse the repository at this point in the history
Differential Revision: D51900997

fbshipit-source-id: c154588b9e6d135f6fd4412c645414e482807ffc
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Dec 7, 2023
1 parent 5de5319 commit a0e22db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions projects/DensePose/densepose/vis/densepose_data_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def visualize(
) -> Image:
if bbox_densepose_datas is None:
return image_bgr
# pyre-fixme[23]: Unable to unpack single value, 2 were expected.
for bbox_xywh, densepose_data in zip(*bbox_densepose_datas):
matrix = densepose_data.segm.numpy()
mask = np.zeros(matrix.shape, dtype=np.uint8)
Expand All @@ -50,7 +49,6 @@ def visualize(
) -> Image:
if bbox_densepose_datas is None:
return image_bgr
# pyre-fixme[23]: Unable to unpack single value, 2 were expected.
for bbox_xywh, densepose_data in zip(*bbox_densepose_datas):
x0, y0, w, h = bbox_xywh.numpy()
x = densepose_data.x.numpy() * w / 255.0 + x0
Expand Down

0 comments on commit a0e22db

Please sign in to comment.