I just created a model in Teachable Machine and downloaded it to hard form, which is .h5. But when I call it in Colab, I get an error. Whereas last week I tried it and it was fine. The error like this:
TypeError: Error when deserializing class ‘DepthwiseConv2D’ using config={‘name’: ‘block_1_depthwise_conv’, ‘trainable’: True, ‘dtype’: ‘float32’, ‘kernel_size’: [3, 3], ‘strides’: [1, 1], ‘padding’: ‘same’, ‘data_format’: ‘channels_last’, ‘dilation_rate’: [1, 1], ‘groups’: 1, ‘activation’: ‘linear’, ‘use_bias’: False, ‘bias_initializer’: {‘module’: ‘keras.initializers’, ‘class_name’: ‘Zeros’, ‘config’: {}, ‘registered_name’: None}, ‘bias_regularizer’: None, ‘activity_regularizer’: None, ‘bias_constraint’: None, ‘depth_multiplier’: 1, ‘depthwise_initializer’: {‘module’: ‘keras.initializers’, ‘class_name’: ‘GlorotUniform’, ‘config’: {‘seed’: None}, ‘registered_name’: None}, ‘depthwise_regularizer’: None, ‘depthwise_constraint’: None}.
Exception encountered: Unrecognized keyword arguments passed to DepthwiseConv2D: {‘groups’: 1}