tensorflow / models

Models and examples built with TensorFlow
Other
77.21k stars 45.75k forks source link

Fix Dimension Mismatch in CutMix Augmentation #11271

Closed GummyJum closed 4 weeks ago

GummyJum commented 4 weeks ago

Description

This pull request addresses a bug in the CutMix augmentation implementation where the cut_width was incorrectly calculated based on image_height instead of image_width.

Type of change

Checklist

google-cla[bot] commented 4 weeks ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.