TypeError: Unexpected keyword argument passed to optimizer: learning_rate

前端 未结 13 1579
故里飘歌
故里飘歌 2021-02-13 04:14

I am trying to load a Keras model which was trained on an Azure VM (NC promo). But I am getting the following error.

TypeError: Unexpected keyword argumen

13条回答
  •  北海茫月
    2021-02-13 04:44

    I've had a similar problem.

    You you have this issue, try to use lr instead of learning_rate when defining the learning rate in your optimizer.

提交回复
热议问题