当前位置:网站首页>[foundation of deep learning] how to understand the channel in convolutional neural network
[foundation of deep learning] how to understand the channel in convolutional neural network
2022-07-19 16:25:00 【Half_ A】
What is a channel channel
【CNN】 Understand the channels in convolutional neural networks channel
First , yes tensorflow Given in , For input samples channels The meaning of . General RGB picture ,channels The number is 3 ( red 、 green 、 blue ); and monochrome picture ,channels The number is 1 .
secondly ,mxnet Mentioned in , commonly channels The meaning is , The number of convolution kernels in each convolution layer .
give an example : Suppose the existing one is 6×6×3 Sample pictures of , Use 3×3×3 Convolution kernel (filter) Convolution operation . At this point, enter the name of the picture channels by 3 , And in the convolution kernel in_channels And Of data requiring convolution channels Agreement ( Here is the sample picture , by 3).
Next , Convolution operation , In convolution kernel 27 A number is multiplied by the corresponding sample , And then sum it up , Get the first result . In turn , The resulting 4×4 Result .

After the above steps are completed , Because there is only one convolution kernel , So the final result is 4×4×1 , out_channels by 1 .
in application , Will use multiple convolution kernels . If you add another convolution kernel here , Will get 4×4×2 Result .

summary
- Of the original input image sample
channels, Depending on the picture type , such as RGB; - Output after convolution operation
out_channels, Depending on the number of convolution kernels . At this timeout_channelsIt will also be used as the convolution kernel for the next convolutionin_channels; - In convolution kernel
in_channels, It's the result of the last convolutionout_channels, If you're doing convolution for the first time , Namely 1 In the sample picturechannels.
This blog post was first published on the personal blog website :https://www.mahaofei.com/, Welcome to .
边栏推荐
- ArrayList源码解析一
- PwnTheBox,Web:Double-S
- Ch549/ch548 learning notes 2 - system clock
- CH549/CH548学习笔记9 - USB Device端点处理过程
- Use ZVS to drive wireless charging coil
- 【單片機仿真項目】報警燈(proteus原理圖+keil代碼)
- 使用 QuickExec fiddler命令行
- MySQL - autoincrement constraint of table fields
- 中信证券网上开户安全吗?开户的流程是什么?
- Fiddler: add IP column
猜你喜欢

STM32+A4988控制步进电机

【“码”力全开,“章”显实力】2022年第1季Task挑战赛贡献者榜单

2022/07 CSI TOOL 安装过程记录

Summarize the strange interaction between reader and live broadcast: review ShuangDi Technology

NFT市场格局仍未变化,Okaleido能否掀起新一轮波澜?

Use ZVS to drive wireless charging coil

CH549/CH548学习笔记4 - Timer

MySQL - adjust column constraints

Solve the problem of "license manager error -8" after matlab installation (the personal test is valid)

干货!综合的公平冷启动推荐系统
随机推荐
Solidworks装配体常见问题汇总(随时更新)
The solution that Google browser chrome cannot be upgraded
The read image of OpenCV notes is de distorted and saved as a new image
[dry goods] how much do you know about MySQL infrastructure design?
await后面的所有类型代码直接扔到微任务队列中,稍后执行
阿里云OSS图床搭建方法
JVM性能调优方式
Is online fund account opening safe? Find the answer online
探究阿里云物联网开发板1-Haas 100
MySQL -调整列的约束
How to implement Mysql to insert if it does not exist and update if it exists
2022/07 CSI TOOL 安装过程记录
Openresty Lua resty lrucache cache
ArrayList源码解析一
[MCU simulation project] LED flashing light (Proteus schematic +keil code)
The unique index exception of the dream database in the Xinchuang environment cannot intercept the duplicatekeyexception
Use of promise object in ES6 asynchronous programming
First knowledge of convolution +matlab's intuitive understanding of discrete convolution process
干货!综合的公平冷启动推荐系统
STM32+A4988控制步进电机