mvoelk / keras_layers

Various Additional Keras Layers: SparseConv2D, PartialConv2D, GroupConv2D, DeformableConv2D, DepthwiseConv2D, MaxPoolingWithArgmax2D, MaxUnpooling2D, AddCoords2D, Blur2D, LayerNormalization, InstanceNormalization, WeightNormalization, EqualizedLearningRates
MIT License
37 stars 16 forks source link

NotImplementedError: Layer AddCoords2D has arguments in `__init__` and therefore must override `get_config`. #1

Closed rytisss closed 4 years ago

rytisss commented 4 years ago

Hi, thank you for your implementation. I added AddCoords2D to my model, however, when weights are being saved, it gives an error: NotImplementedError: Layer AddCoords2D has arguments ininitand therefore must overrideget_config.

mvoelk commented 4 years ago

It should be fixed now, but I haven't tested it. Can you confirm?

rytisss commented 4 years ago

Thank you! Tested to save and load, everything works!