fllci:

There cannot be any input size channel 3.


The error points to the spatial size of an activation, which is 3 and thus smaller than the spatial size of a the conv kernel, which is 4.
Check the shapes of all intermediate activations and make sure the spatial size doesn’t become smaller than the kernels.