i have a simple CNN model for my audio data. The final layer will need to be in size (none, 100) as i need it to concatenate with my text (current shape (none,128)). Here is my codes;
from keras.layers import Reshape
inputs_au = Input(shape=(637,20))
audio_model = Conv1D(100,3,activation='relu')(inputs_au)
audio_model = MaxPooling1D()(audio_model)
audio_model = Conv1D(100,3,activation='relu')(audio_model)
audio_model = MaxPooling1D()(audio_model)
audio_model = Conv1D(100,3,activation='relu')(audio_model)
audio_model = MaxPooling1D()(audio_model)
#audio_model = Reshape((100,))(audio_model)
model_audio = Model(inputs = inputs_au, outputs = audio_model)
model_audio.summary()
the output is:
I can't run 'reshape' as it is currently in shape (none,77,100). How can i make the final layer to (none,100)? Please advice