摘要: https://blog.csdn.net/u014380165/article/details/79119664 1. 构建预训练模型:pretrained=True import torchvision.models as models resnet18 = models.resnet18(pr 阅读全文
posted @ 2020-03-02 19:06 LifeExp 阅读(2369) 评论(0) 推荐(0)
摘要: import torch x = torch.randn(2,1,7,3) conv = torch.nn.Conv2d(1,8,(2,3)) res = conv(x) print(res.shape) # shape = (2, 8, 6, 1) 输入x: [ batch_size, chann 阅读全文
posted @ 2020-03-02 18:43 LifeExp 阅读(47339) 评论(2) 推荐(4)
摘要: https://zhuanlan.zhihu.com/p/31852747 ResNet: 深度残差网络。 解决了深度CNN模型训练难的问题。 - 14年VGG 19层;15年ResNet 152层; - 靠深度取胜;利用残差学习使网络的深度发挥出作用。 1. 深度网络的退化问题 [Degradat 阅读全文
posted @ 2020-03-02 15:15 LifeExp 阅读(49) 评论(0) 推荐(0)