Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improper config format for : lstm_1_num_hidden_units_lstm_512_num_hidden_units_mlp_1024_num_hidden_layers_mlp_3.json #31

Open
lokeshpancharia opened this issue Apr 3, 2017 · 0 comments

Comments

@lokeshpancharia
Copy link

running own_image.py I got that error.

File "/usr/local/lib/python2.7/dist-packages/keras/utils/generic_utils.py", line 122, in deserialize_keras_object
raise ValueError('Improper config format: ' + str(config))
ValueError: Improper config format: {u'layers': [{u'layers': [{u'layers': [{u'truncate_gradient': -1, u'name': u'LSTM', u'inner_activation': u'hard_sigmoid', u'activation': u'tanh', u'input_shape': [30, 300], u'init': u'glorot_uniform', u'inner_init': u'orthogonal', u'input_dim': None, u'return_sequences': False, u'output_dim': 512, u'forget_bias_init': u'one', u'input_length': None}], u'name': u'Sequential'}, {u'layers': [{u'dims': [4096], u'name': u'Reshape', u'input_shape': [4096]}], u'name': u'Sequential'}], u'concat_axis': 1, u'mode': u'concat', u'name': u'Merge'}, {u'b_constraint': None, u'name': u'Dense', u'activity_regularizer': None, u'W_constraint': None, u'init': u'uniform', u'input_dim': None, u'b_regularizer': None, u'W_regularizer': None, u'activation': u'linear', u'output_dim': 1024}, {u'beta': 0.1, u'target': 0, u'activation': u'tanh', u'name': u'Activation'}, {u'p': 0.5, u'name': u'Dropout'}, {u'b_constraint': None, u'name': u'Dense', u'activity_regularizer': None, u'W_constraint': None, u'init': u'uniform', u'input_dim': None, u'b_regularizer': None, u'W_regularizer': None, u'activation': u'linear', u'output_dim': 1024}, {u'beta': 0.1, u'target': 0, u'activation': u'tanh', u'name': u'Activation'}, {u'p': 0.5, u'name': u'Dropout'}, {u'b_constraint': None, u'name': u'Dense', u'activity_regularizer': None, u'W_constraint': None, u'init': u'uniform', u'input_dim': None, u'b_regularizer': None, u'W_regularizer': None, u'activation': u'linear', u'output_dim': 1024}, {u'beta': 0.1, u'target': 0, u'activation': u'tanh', u'name': u'Activation'}, {u'p': 0.5, u'name': u'Dropout'}, {u'b_constraint': None, u'name': u'Dense', u'activity_regularizer': None, u'W_constraint': None, u'init': u'glorot_uniform', u'input_dim': None, u'b_regularizer': None, u'W_regularizer': None, u'activation': u'linear', u'output_dim': 1000}, {u'beta': 0.1, u'target': 0, u'activation': u'softmax', u'name': u'Activation'}], u'name': u'Sequential'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant