2/15/2022

module 'keras.optimizers' has no attribute 'Adam'

Use

> tf.keras.optimizers.Adam(learning_rate)

instead of

> keras.optimizers.Adam(learning_rate)



www.marearts.com

No comments:

Post a Comment