You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reason: VectorizedBaseImageAugmentationLayer tries to tf.expand_dims (tf.squeeze) all values of inputs (outputs) including bounding_boxes which is a dict
I find that current implementation of
VectorizedBaseImageAugmentationLayer
fails to correctly process unbatchedbounding_boxes
Here is a standalone script:
Reason:
VectorizedBaseImageAugmentationLayer
tries totf.expand_dims
(tf.squeeze
) all values ofinputs
(outputs
) includingbounding_boxes
which is a dictkeras-cv/keras_cv/layers/preprocessing/vectorized_base_image_augmentation_layer.py
Lines 368 to 370 in 4fd3a84
keras-cv/keras_cv/layers/preprocessing/vectorized_base_image_augmentation_layer.py
Lines 392 to 394 in 4fd3a84
The possible solution:
It needs to be fixed if we want to implement
augment_bounding_boxes
for vectorized layers.I can open the PR once approved.
The text was updated successfully, but these errors were encountered: