Output shape of keras MixUp layer?
I am trying to use the keras MixUp layer for mixing together images, but I’m not understanding the output. Here’s what I have:
keras_cv DropBlock2D does not work in Keras model without eager run
I am trying to use the DropBlock2D
layer from KerasCV, version 0.9.0. However, I am only able to compile the layer into a model if I specify run_eagerly=True
. This appears to be related to the fact that when forward pass from the non-eager run is attempted, a symbolic tensor is passed to the layer, which expects a concrete value instead. The Keras docs say that run_eagerly
should reserved for debugging, so why is it necessary that I enable it here?
How to integrate KeraCV MixUp & CuMix Augmentation into Image Data Generator?
I have the following lines of code that reads a csv file and prepares a data set to be fed into a tensorflow model using the Image Data Generator Class. How can I integrate KeraCV’s CutMix and MixUp here?