环境
- python 3.9
- numpy 1.24.1
- pytorch 2.0.0+cu117
流程

一、 VGG 模型代码

# -*- coding: utf-8 -*-
import torch
import torch.nn as nn
default_cfg = {
11: [64, 'M', 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512],
13: [64, 64, 'M', 128, 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512],
16: [64, 64, 'M', 128, 128, 'M', 256, 256, 256, 'M', 512, 512, 512, 'M', 512, 512, 512],
19: [64, 64, 'M', 128, 128, 'M', 256, 256, 256, 256, 'M', 512, 512, 512, 512, 'M', 512















![[QT编程系列-9]:C++图形用户界面编程,QT框架快速入门培训 - 3- QT窗体设计 - 自动布局](https://img-blog.csdnimg.cn/d4f3eec5620f48a7a29a48accae64f43.png)


