TypeError: Unexpected keyword argument passed to optimizer: learning_rate

前端 未结 13 1685
感情败类
感情败类 2021-02-13 04:16

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:41

    Import as mentioned below,

    import keras
    from keras.models import load_model
    from keras.models import Sequential
    

提交回复
热议问题