Resnets are built for fixed size input images, and you must be feeding it images that are too small. I think one of the pooling layers is producing that error.
You need to scale your input images up before feeding them to the resnet.
cifar100 images are 32x32
resnet is built (as far as I can tell from 2s on google) for images of size 224x224