Skip to content Skip to sidebar Skip to footer

Layer Modulewrapper Has Arguments In `__init__` And Therefore Must Override `get_config`. In Colab

I'm trying to make keras modelcheckpoint code. But Whenever I started the code, that get_config error occured. Below is my keras code. model = keras.Sequential() model.add(keras.la

Solution 1:

This problem is caused by mixing imports between the keras and tf.keras libraries, which is not supported.

You should never mix imports between these libraries, as it will not work and produces all kinds of strange error messages. These errors change with versions of keras and tensorflow.

Post a Comment for "Layer Modulewrapper Has Arguments In `__init__` And Therefore Must Override `get_config`. In Colab"