Problem with Week 2 Assignement 2

I get this error at exercise 1 data augmentation:

AttributeError: module ‘tensorflow.keras.layers’ has no attribute ‘RandomFlip’

I get the same error for ‘RandomRotation’ when i comment out the line with RandomFlip.
I didnt get this error however when i tried it out with tensorflow.keras.layers.Dense(1).

Hey, take a look at the import statements, both RandomFlip and RandomRotation have been imported already, you just have to use them.


Thank you, got it now.