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

Unable to import json file of keras models #122

Closed
prakharchoudhary opened this issue Sep 29, 2017 · 6 comments
Closed

Unable to import json file of keras models #122

prakharchoudhary opened this issue Sep 29, 2017 · 6 comments

Comments

@prakharchoudhary
Copy link

When importing the json file of a keras model, the API throws a ValueError. There seems to be some trouble in loading the JSON data in the correct format. Following is a screen-shot of the error log:
json_import

@prakharchoudhary
Copy link
Author

@dexter1691 Thanks for the green flag to this issue. I will try to fix it ASAP so that we can continue with adding the models suggested in issues #115 and #118.

@Ram81
Copy link
Member

Ram81 commented Sep 30, 2017

@prakharchoudhary I tried importing keras models & it works for me.

@prakharchoudhary
Copy link
Author

@Ram81 Well this is surprising. What model did you import? Can you share the json file?

@dexter1691
Copy link
Member

@prakharchoudhary : Can you also share the JSON file you were trying to import so that we can further debug?

@prakharchoudhary
Copy link
Author

@dexter1691 The JSON file to replicate this error is vqa_lstm.zip. This model was can be found at the link suggested by you at:
https://github.com/avisingh599/visual-qa/blob/master/models/lstm_1_num_hidden_units_lstm_512_num_hidden_units_mlp_1024_num_hidden_layers_mlp_3.json

@utsavgarg
Copy link
Contributor

@prakharchoudhary closing this. Please see comment in #118.

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

4 participants