TypeError: Unexpected keyword argument passed to optimizer: learning_rate

前端 未结 13 1656
感情败类
感情败类 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:37

    Similar to Chayan Bansal, what fixed it for me was to update my Tensorflow-GPU library.

    If you're using Anaconda with tensorflow-gpu installed, open the Anaconda prompt, activate the virtual environment you're using, and enter "conda update tensorflow-gpu"

提交回复
热议问题