Pass data to CNN with multiple outputs in keras
The first dimension is always the sample index. In the model summary this is written as None, so your last output (None, 15, 145) is 3D. 

The error message shows that your target data has dimension (:, 15), rather than the required (:, 15, 145) so you will have to reformat it.