self.fc = nn.Linear(2048, config.NUM_CLASSES)形状不对
03-19
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-18
5379
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-08
4419
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
02-11
2万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-05
2783
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
02-18
2527
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)