摘要: 1、AlexNet网络模型,pytorch1.1.0 实现 注意:AlexNet,in_img_size >=64 输入图片矩阵的大小要大于等于64 # coding:utf-8 import torch.nn as nn import torch class alex_net(nn.Module) 阅读全文
posted @ 2020-04-07 16:32 洺剑残虹 阅读(1723) 评论(2) 推荐(0) 编辑
摘要: 1、vgg19模型——pytorch 版本= 1.1.0 实现 # coding:utf-8 import torch.nn as nn import torch class vgg19_Net(nn.Module): def __init__(self,in_img_rgb=3,in_img_si 阅读全文
posted @ 2020-04-07 13:42 洺剑残虹 阅读(3891) 评论(0) 推荐(0) 编辑
摘要: 1、降低pillow版本小于7.0以下 conda install --yes pillow=6.2.1 或者 pip install pillow=6.2.1 阅读全文
posted @ 2020-04-07 12:28 洺剑残虹 阅读(484) 评论(0) 推荐(0) 编辑