I have trained two CNN of the same architecture with Different Datasets. The first dataset shape is (414938,41) and the second dataset shape is (432302,19). I want to merge them models to create a new ensemble CNN model. I have used Keras API concatenate() but it gives a bellow error.
layers.concatenate([model.input,host_model.input])
ValueError: A `Concatenate` layer requires inputs with matching shapes except for the concat axis. Got inputs shapes: [(None, 41, 1), (None, 19, 1)]
Please there is any technique, code, or other Keras API so that I can merge two CNN models of different shapes to develop a new ensemble CNN model.