Hi again.
Yes, It’s just that I’m new to this forum. I’m sorry.
I’m learning about CNN and I created a ResNet by calling the Pytorch hub:
net = torch.hub.load('pytorch/vision:v0.9.0','resnet18',pretrained=False)
This call is made by the training code. “Net” is the model I’m using, which in this case will be an untrained ResNet.
That’s when the error I mentioned appears.
Sorry if it’s a rookie question, but I really am.  
Thanks a lot.