Describe the bug(问题描述)
get a valueError when running deepfm demo
To Reproduce(复现步骤)
# fail and get ValueError: Could not interpret optimizer identifier: <keras.optimizers.optimizer_v2.adam.Adam object at 0x7fbe77391a00>
model.compile(optimizer=tf.keras.optimizers.Adam(learning_rate=learning_rate),
loss="binary_crossentropy",
metrics=['accuracy','binary_crossentropy', tf.keras.metrics.AUC(curve='ROC')])
# success
model.compile("adam", "binary_crossentropy",
metrics=['accuracy','binary_crossentropy',tf.keras.metrics.AUC(curve='ROC')], )
Operating environment(运行环境):
- python version [3.8]
- tensorflow version [2.9.1]
- deepctr version [0.9.1]
Additional context
solution may be: https://stackoverflow.com/questions/70658010/could-not-interpret-optimizer-identifier-formatidentifier
Describe the bug(问题描述)
get a valueError when running deepfm demo
To Reproduce(复现步骤)
Operating environment(运行环境):
Additional context
solution may be: https://stackoverflow.com/questions/70658010/could-not-interpret-optimizer-identifier-formatidentifier