You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to read googleNet model from an example that may be found in the repository, but I get an error
model = model_from_json(open('models/googleNet_structure.json').read())
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/models.py", line 36, in model_from_json
return layer_from_config(config, custom_objects=custom_objects)
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/utils/layer_utils.py", line 35, in layer_from_config
return layer_class.from_config(config['config'])
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/engine/topology.py", line 2271, in from_config
process_layer(layer_data)
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/engine/topology.py", line 2249, in process_layer
custom_objects=custom_objects)
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/utils/layer_utils.py", line 35, in layer_from_config
return layer_class.from_config(config['config'])
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/engine/topology.py", line 896, in from_config
return cls(**config)
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/layers/convolutional.py", line 283, in init
super(Convolution2D, self).init(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/engine/topology.py", line 302, in init
assert kwarg in allowed_kwargs, 'Keyword argument not understood: ' + kwarg
AssertionError: Keyword argument not understood: b_learning_rate_multiplier
The text was updated successfully, but these errors were encountered:
I am using the very same model right now and it is working perfectly fine.
Could it be that you are using the original repository of Keras to load the model? The parameter 'b_learning_rate_multiplier' is specific for this fork and does not exist in the original repo.
I am trying to read googleNet model from an example that may be found in the repository, but I get an error
model = model_from_json(open('models/googleNet_structure.json').read())
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/models.py", line 36, in model_from_json
return layer_from_config(config, custom_objects=custom_objects)
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/utils/layer_utils.py", line 35, in layer_from_config
return layer_class.from_config(config['config'])
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/engine/topology.py", line 2271, in from_config
process_layer(layer_data)
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/engine/topology.py", line 2249, in process_layer
custom_objects=custom_objects)
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/utils/layer_utils.py", line 35, in layer_from_config
return layer_class.from_config(config['config'])
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/engine/topology.py", line 896, in from_config
return cls(**config)
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/layers/convolutional.py", line 283, in init
super(Convolution2D, self).init(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/Keras-1.0.5-py2.7.egg/keras/engine/topology.py", line 302, in init
assert kwarg in allowed_kwargs, 'Keyword argument not understood: ' + kwarg
AssertionError: Keyword argument not understood: b_learning_rate_multiplier
The text was updated successfully, but these errors were encountered: