我正在尝试加载一个Keras模型,它是在Azure VM (NC promo)上训练的。但是我得到了以下错误。TypeError:传递给optimizer:learning_rate的意外关键字参数
下面是我用来加载模型的代码片段:
from keras.models import load_model
我有一个类似如下的代码: model = Sequential() .....请注意,我使用相同的tpu_model进行批量预测和训练。/python/keras/engine/training.py in _standardize_weights(self, x, y, sample_weight, class_weight, batch_si