keras-language-modeling icon indicating copy to clipboard operation
keras-language-modeling copied to clipboard

Error saving the model

Open akmahaja opened this issue 8 years ago • 0 comments

I am using the same code as in the AttentionModel in keras_models.py. I have added the additional Dense Layers in the end. When I try to save the model, it throws the following issue: The code that is throwing this issue is here: fchollet/keras#2659

File "trainer.py", line 48, in create_training_features json_string = explicit_model.to_json() File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 2368, in to_json config = self.get_config() File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 2163, in get_config new_node_index = node_conversion_map[node_key] KeyError: 'input1_ib-0'

akmahaja avatar May 20 '16 21:05 akmahaja