地址链接:https://www.flyai.com/m/adv-efficientnet-b3-cdd7c0f4.pth
确定自己使用的框架并导入对应的库。导入库实现样例代码可参考 文档中心-预训练模型使用教程
在代码中实现加载预训练模型地址
from efficientnet_pytorch import EfficientNet
model = EfficientNet.from_pretrained("efficientnet-b3", advprop=True)
if advprop: # for models using advprop pretrained weights normalize = transforms.Lambda(lambda img: img * 2.0 - 1.0)else: normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
efficientnet_b3_ra2-cf984f9c.pth
查看来源:https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/efficientnet_b3_ra2-cf984f9c.pthadv-efficientnet-b3-cdd7c0f4.pth
查看来源:https://github.com/lukemelas/EfficientNet-PyTorch/releases/download/1.0/adv-efficientnet-b3-cdd7c0f4.pthadv-efficientnet-b6-ac80338e.pth
查看来源:https://github.com/lukemelas/EfficientNet-PyTorch/releases/download/1.0/adv-efficientnet-b6-ac80338e.pthefficientnet_b1-533bc792.pth
查看来源:https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/efficientnet_b1-533bc792.pthefficientnet_b0_ra-3dd342df.pth
查看来源:https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/efficientnet_b0_ra-3dd342df.pthSelf-Trans.pt
查看来源:https://github.com/UCSD-AI4H/COVID-CT/tree/master/baseline%20methods/Self-Trans#self-transefficientnet_b2_ra-bcdf34b7.pth
查看来源:https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/efficientnet_b2_ra-bcdf34b7.pth