TypeError: Unexpected keyword argument passed to optimizer: learning_rate

前端 未结 13 1645
故里飘歌
故里飘歌 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:43

    I had the same problem. Using Keras version 2.3.1 and TensorFlow-GPU version 1.13, I had to upgrade Tensorflow-GPU to version 1.15

    pip uninstall tensorflow-gpu
    pip install tensorflow-gpu==1.15
    

提交回复
热议问题