In newer fastai version,
resnet50(): no pre-trained weights are used. resnet50(weights='DEFAULT'): the pre-trained weights are used.