Unverified Commit 56fb8411 authored by vfdev's avatar vfdev Committed by GitHub
Browse files

[proto] Fixed issue in FixedSizeCrop (#6532)


Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
parent 15b97d4b
......@@ -801,7 +801,7 @@ class FixedSizeCrop(Transform):
if needs_crop and bounding_boxes is not None:
bounding_boxes = cast(
features.BoundingBox, F.crop(bounding_boxes, top=top, left=left, height=height, width=width)
features.BoundingBox, F.crop(bounding_boxes, top=top, left=left, height=new_height, width=new_width)
)
bounding_boxes = features.BoundingBox.new_like(
bounding_boxes,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment