Issue
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 argument passed to optimizer:learning_rate
EDIT:
Here is the code snippet that I am using to load my model:
from keras.models import load_model
model = load_model('my_model_name.h5')
Solution
I resolved it by reinstalling the tensorflow library (with an updated version) and also placed the nvcuda.dll file under system32 folder.
Answered By - Chayan Bansal
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.