The error message is created by a conv layer with 64 kernels expecting 3 input channels and a kernel size of 3, which maps to your first conv layer in block1.
Could add an assert statement checking if all inputs have 3 channels?