• 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相关推荐

最新文章

  1. npm ERR! missing script: dev 解决方案
  2. 从红旗5.0提及——看Linux的内存办理
  3. 百练OJ:4003:十六进制转十进制(python三行代码实现)
  4. expdp impdp中 exclude/include 的使用
  5. scala本地调试_如何编写自己的Java / Scala调试器
  6. linux删除php文件权限不够,linux - 用php的exec()删除目录文件提示权限不够
  7. java 字符字节数组_Java字符串与字符、字节数组知识点总结
  8. Bootcamp Mac 安装Win10 教程
  9. Java用户管理系统
  10. C/C++编程学习 - 第5周 ③ 圆锥体的体积
  11. 关于C51中“大小端存储”问题的详解
  12. 90后程序英雄季逸超
  13. 计算机ROM指什么意思,ROM是什么 刷ROM是什么意思
  14. 逆滲透水與蒸餾水最不能喝
  15. 用友开发者中心全新升级,YonBuilder移动开发入门指南
  16. linux环境下mysql主从数据库配置(maser-slave-replication)
  17. 传输层协议TCP(5)
  18. 家用计算机选择什么网络好,200M宽带是否适合家庭使用?
  19. Android学习笔记——关于Intent
  20. RHCE培训课程报道处

热门文章

  1. 【转】C# Stream篇(二)TextReader 和StreamReader
  2. Intel FPGA和Xilinx FPGA介绍
  3. 基于深度学习的手写数字识别算法Python实现
  4. 设计师常用的几个资源网站,你都知道吗?
  5. C语言——变量的定义与声明
  6. asp.net1045-巴氏鲜奶管理系统
  7. 深度解析Linux kernel同步机制(上篇)
  8. 二本学生小公司实习遭领导歧视,于是逆袭进百度!
  9. 什么是循环?Java中有哪些循环?
  10. ALIENTEK所有开发板的FreeRTOS教程和例程