Open sun9700 opened 8 years ago
Tensor with shape [batch_size,samples, feathers ] pass GlobalMaxPooling1D became [batch_size,feathers ] Then the Flatten complains: Exception: Input 0 is incompatible with layer flatten_1: expected ndim >= 3, found ndim=2
please add a parameter to keep the second dim=1
I don't use GlobalMAxPooling1D.
GlobalMAxPooling1D
Tensor with shape [batch_size,samples, feathers ] pass GlobalMaxPooling1D became [batch_size,feathers ] Then the Flatten complains: Exception: Input 0 is incompatible with layer flatten_1: expected ndim >= 3, found ndim=2
please add a parameter to keep the second dim=1