参考:pytorch 加载使用部分预训练模型(pretrained model)_在模型中使用了预训练模型作为一部分-优快云博客PyTorch中model.state_dict(),model.modules(),model.children(),model.named_children()等含义_不吃饭就会放大招的博客-优快云博客