Hi,
can you next time please provide your code in a code block and not post a screenshot of it.
Makes it easier to debug 
Your problem is most likely with the input dimension of your fully connected layer self.fc = nn.Linear(7*7*32, num_classes)
It seams like this network was made to run with RGB images of size 28x28. But since you provide it with images of size 224x224 the feature maps that get get passed into the fc layer are not of size 7x7x32 but 56x56x32 (if my calculations are correct).
So to make it work again change:
self.fc = nn.Linear(7*7*32, num_classes)

to
self.fc = nn.Linear(56*56*32, num_classes)