When I try:
normalization_layer = layers.Rescaling(1./255)
error message:
AttributeError: module 'tensorflow.keras.layers' has no attribute 'Rescaling'
How to fix it?
I had the same error in v2.5.0
tf.keras.layers.experimental.preprocessing.Rescaling()
I guess this is the "old" way to use this layer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With