I have a pre-trained hdf5 model background removal model that I've used from here. I'm looking to convert it to h5 as coremltools converter requires that type.
So far, the coremltools python script gives the following error:
NotImplementedError: Expected model format: [SavedModel | [concrete_function] | tf.keras.Model | .h5], got main_model.hdf5