Are you using import keras
or import tensorflow.keras
in your code?
You can try the following code, too:
from tensorflow.keras.optimizers.legacy import Adam
Let me know if this resolves your issue or if you need further assistance!
Are you using import keras
or import tensorflow.keras
in your code?
You can try the following code, too:
from tensorflow.keras.optimizers.legacy import Adam
Let me know if this resolves your issue or if you need further assistance!