Open diliplilaramani opened 6 years ago
I am getting error (below), while loading model. Can you help? -
from keras.models import load_model loaded_model = load_model('model4b.10-0.68.hdf5')
ERROR: deserialize_keras_object raise ValueError('Improper config format: ' + str(config)) ValueError: Improper config format: {u'l2': 0.0005000000237487257, u'name': u'WeightRegularizer', u'l1': 0.0}
I think you're have done the training using Keras 1 & I'm using Keras 2, do you think this can be the issue?
Ref. - https://github.com/keras-team/keras/issues/6382
I also got this error and fixed by using keras 1.2.2
I am getting error (below), while loading model. Can you help? -
from keras.models import load_model loaded_model = load_model('model4b.10-0.68.hdf5')
ERROR: deserialize_keras_object raise ValueError('Improper config format: ' + str(config)) ValueError: Improper config format: {u'l2': 0.0005000000237487257, u'name': u'WeightRegularizer', u'l1': 0.0}
I think you're have done the training using Keras 1 & I'm using Keras 2, do you think this can be the issue?
Ref. - https://github.com/keras-team/keras/issues/6382