Hi, I have the same problem. My input tesnor has this shape : torch.Size([1, 3, 224, 224]) and the shape of the last pooling layer is torch.Size([1, 512, 7, 7]).  But I couldnot figure out where is the problem.  thanks.