I’m a newbie looking to run a prediction on a pre-trained resnet50 model like this example in the PyTorch docs. Can be done with fastai’s built in models? For example, can I call xresnet50() followed by model(input_batch)? I did not find any examples in the book.
model = xresnet50(pretrained=True)
output = model(input_batch)
Tyr the resnet50 to be sure. I will not use the xresnet anyway, we are moving to timm models anyway, and you will get pretrained weights for all image models available.