from torchvision import models resnet = models.resnet18(pretrained=True). 其中 pretrained 参数表示是否载入在ImageNet上预训练的模型。通过 models.resnet18 ...
確定! 回上一頁