Open tokestermw opened 7 years ago
Hi @tokestermw
I don't usually save my models to json. Most of these are for research purposes. I do load checkpoint weights, but I don't build the model from the json:
(and i used the soft attention layer: https://github.com/braingineer/neural_tree_grammar/blob/master/fergus/models/fergus_recurrent/model.py#L166)
Sorry if that's an inconvenience. If you ever want to help bring up to speed, I'd be more than happy to look over any PRs. I just don't have to bandwidth to make this happen right now.
Best, Brian
This might be a Keras problem but have you tried serializing some of the layers? I tried the following to save a model that contains
SoftAttention
:And I get this error:
I think it's related to JSON not serializing optional arguments.
Thanks