Solved by ptrblck in post #4 
              
              
                The error points to an activation, which is too small for the specified kernel size. 
You would either have to enlarge your input, use a smaller kernel or remove some pooling layers.