I am using
Net = torchvision.models.resnet18(pretrained=True)
net = Net().to(dev)
just simply giving input(CIFAR10) and see how is the training loss. But I have gotten this error:
result = self.forward(*input, **kwargs)
TypeError: forward() missing 1 required positional argument: ‘x’
how can I solve this?