torchvision.models模块里面提供了很多现成的cv架构

 原文链接:https://blog.csdn.net/Jenny_oxaza/article/details/105628663

import torchvision.models as models
resnet18 = models.resnet18()
alexnet = models.alexnet()
vgg16 = models.vgg16()
squeezenet = models.squeezenet1_0()
densenet = models.densenet161()
inception = models.inception_v3()
googlenet = models.googlenet()
shufflenet = models.shufflenet_v2_x1_0()
mobilenet = models.mobilenet_v2()
resnext50_32x4d = models.resnext50_32x4d()
wide_resnet50_2 = models.wide_resnet50_2()
mnasnet = models.mnasnet1_0()

 

posted @ 2022-11-12 20:46  实数集  阅读(23)  评论(0编辑  收藏  举报