GlobalPooling2D is currently only implemented for a number of channels between 3 and 64 (or 32 on 32-bit systems).