Commit 4f93d3b1 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 433889970
parent 8930b035
...@@ -1663,6 +1663,7 @@ class AutoAugment(ImageAugment): ...@@ -1663,6 +1663,7 @@ class AutoAugment(ImageAugment):
tf_policies = self._make_tf_policies() tf_policies = self._make_tf_policies()
image, _ = select_and_apply_random_policy(tf_policies, image, bboxes=None) image, _ = select_and_apply_random_policy(tf_policies, image, bboxes=None)
image = tf.cast(image, dtype=input_image_type)
return image return image
def distort_with_boxes(self, image: tf.Tensor, def distort_with_boxes(self, image: tf.Tensor,
......
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