Skip to content

Conversation

@cosandr
Copy link

@cosandr cosandr commented Oct 27, 2020

Fixes WARNING:tensorflow:Model failed to serialize as JSON. Ignoring... Layer AttentionWeightedAverage has arguments in `__init__` and therefore must override `get_config`.

Superfluous but gets rid of a warning, from what I understand it shouldn't affect functionality in any way.

Fixes "WARNING:tensorflow:Model failed to serialize as JSON. Ignoring... Layer AttentionWeightedAverage has arguments in `__init__` and therefore must override `get_config`."

See https://www.tensorflow.org/guide/keras/custom_layers_and_models#you_can_optionally_enable_serialization_on_your_layers
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

Successfully merging this pull request may close these issues.

1 participant