Atrous_unet
torch.nn.con2d
torch.nn.Conv2d(in_channels, out_channels, kernel_size, stride=1, padding=0,
dilation=1, groups=1, bias=True, padding_mode='zeros', device=None, dtype=None)
Parameters
in_channels (int) – Number of channels in the input image——输入图像的通道,彩色为3,张量另算
out_channels (int) – Number of channels produced by the convolution——卷积后输出通道
kernel_size (int or tuple) – Size of the convolving kernel——卷积核
stride (int or tuple, optional) – Stride of the convolution. Default: 1——卷积步长
padding (int, tuple or str, optional) – Padding added to all four sides of the input. Default: 0——是否填充
padding_mode (string, optional) – ‘zeros’, ‘reflect’, ‘replicate’ or ‘circular’. Default: ‘zeros’——填充模式
dilation (int or tuple, optional) – Spacing between kernel elements. Default: 1——卷积核间距
groups (int, optional) – Number of blocked connections from input channels to output channels. Default: 1——输入输出通道之间的block连接(暂时不理解)
bias (bool, optional) – If True, adds a learnable bias to the output. Default: True——添加学习偏差
BatchNorm2D
torch.nn.BatchNorm2d(num_features, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True,device=None, dtype=None)
Parameters
num_features – C from an expected input of size (N, C, H, W)
eps – a value added to the denominator for numerical stability. Default: 1e-5
momentum – the value used for the running_mean and running_var computation. Can be set to None for cumulative moving average (i.e. simple average). Default: 0.1 —— 冲量
affine – a boolean value that when set to True, this module has learnable affine parameters. Default: True
track_running_stats – a boolean value that when set to True, this module tracks the running mean and variance, and when set to False, this module does not track such statistics, and initializes statistics buffers running_mean and running_var as None. When these buffers are None, this module always uses batch statistics. in both training and eval modes. Default: True
nn.ReLU
torch.nn.ReLU(inplace=False)
nn.MaxPool2d
torch.nn.MaxPool2d(kernel_size, stride=None, padding=0, dilation=1, return_indices=False,
ceil_mode=False)
Parameters
kernel_size – the size of the window to take a max over
stride – the stride of the window. Default value is kernel_size
padding – implicit zero padding to be added on both sides
dilation – a parameter that controls the stride of elements in the window
return_indices – if True, will return the max indices along with the outputs. Useful for torch.nn.MaxUnpool2d later
ceil_mode – when True, will use ceil instead of floor to compute the output shape
最终atrous_unet网络结构
简化模型图:
Atrous_unet相关推荐
最新文章
- npm ERR! missing script: dev 解决方案
- 从红旗5.0提及——看Linux的内存办理
- 百练OJ:4003:十六进制转十进制(python三行代码实现)
- expdp impdp中 exclude/include 的使用
- scala本地调试_如何编写自己的Java / Scala调试器
- linux删除php文件权限不够,linux - 用php的exec()删除目录文件提示权限不够
- java 字符字节数组_Java字符串与字符、字节数组知识点总结
- Bootcamp Mac 安装Win10 教程
- Java用户管理系统
- C/C++编程学习 - 第5周 ③ 圆锥体的体积
- 关于C51中“大小端存储”问题的详解
- 90后程序英雄季逸超
- 计算机ROM指什么意思,ROM是什么 刷ROM是什么意思
- 逆滲透水與蒸餾水最不能喝
- 用友开发者中心全新升级,YonBuilder移动开发入门指南
- linux环境下mysql主从数据库配置(maser-slave-replication)
- 传输层协议TCP(5)
- 家用计算机选择什么网络好,200M宽带是否适合家庭使用?
- Android学习笔记——关于Intent
- RHCE培训课程报道处