当前位置:网站首页>Paddlepaddle 28 build an automatic coder based on convolution
Paddlepaddle 28 build an automatic coder based on convolution
2022-07-02 18:22:00 【Ten thousand miles and a bright future arrived in an instant】
Automatic coder can be used for image compression 、 Image denoising and other tasks , It is composed of encoder and decoder , Its essence is to encode and decode the data . The output of the encoder is used for the input of the decoder , In automatic coders, it is generally considered that the function of the decoder is the inverse transformation of the encoder . If the encoding and decoding process is almost lossless , That is image compression ; If the process of compression and decoding is lossy 【 Not really detrimental , It's different 】( such as : The decoded image is clearer than the original image , Image denoising 、 Defogging 、 Go to the rain ; The resolution is improved , Image super-resolution reconstruction ).
When decoding lossless , That is to say, image compression , The input and output of the automatic coder are the same .
When decoding is damaged , That is to say, image optimization , The input and output of the automatic coder are different , The difference between input and output is the experience learned by the model .
stay paddle Within the framework of , It's hard to find an example of an automatic coder . therefore , Bloggers have made a simple implementation , And minist Simply test the data .
1、 The core structure of automatic coding machine
In the usual automatic coder , The structure of encoder and decoder is symmetrical , The encoder is responsible for extracting features ( For automatic coder based on convolution, feature extraction is mainly through conv With down sampling ), The decoder is responsible for restoring features ( For automatic decoding machine based on convolution, feature extraction is mainly through conv With up sampling ).
The encoder is composed of convolution pooling , Convolution feature extraction , Pool brushing characteristics ; The decoder consists of up sampling and convolution , There are two ways to realize up sampling, interpolation and transpose convolution . Interpolation method refers to UpSample The way , This method is derived from the traditional image scaling method ; Transpose convolution is Conv2DTranspose, Is another convolution implementation , Through to feature map fill 0 Then do convolution to realize sampling .Conv2DTranspose For more details, please refer to the following links . It should be noted that UpSample Is parameterless , Without training ; and Conv2DTranspose
边栏推荐
- paddlepaddle 28 搭建基于卷积的自动编码机
- Unity学习shader笔记[八十一]简单的颜色调整后处理(亮度,饱和度,对比度)
- Architecture design - ID generator "suggestions collection"
- D constructor problem
- 架构设计——ID生成器「建议收藏」
- Chrome 正式支持 MathML,默认在 Chromium Dev 105 中启用
- Babbitt | metauniverse daily must read: can you buy a virtual anchor for 1000 yuan? Is this the live gospel of small businesses or "cutting leeks"
- 读写 XML/JSON/INI 和 UBJSON 等格式的数据文件的统一接口
- Leetcode 面试题 17.01. 不用加号的加法
- Aptos tutorial - participate in the official incentive testing network (ait2 incentive testing network)
猜你喜欢

MySQL安装与配置

MySQL进阶-事务及索引

MySQL --- 數據庫的基本操作

Leetcode 面试题 16.17. 连续数列

515. Find the maximum value in each tree row

Wechat nucleic acid detection appointment applet system graduation design completion (4) opening report

【西北工业大学】考研初试复试资料分享

微信小程序视频分享平台系统毕业设计毕设(5)任务书

Wechat applet video sharing platform system graduation design (3) background function

Customize a loading instruction
随机推荐
Wechat nucleic acid detection appointment applet system graduation design completion (5) task statement
【愚公系列】2022年07月 Go教学课程 001-Go语言前提简介
Troubleshooting ideas that can solve 80% of faults
Web chat tool
Unified interface for reading and writing data files in xml/json/ini and ubjson formats
Three methods of MySQL backup
A4988 and 42 stepper motors
Architecture design - ID generator "suggestions collection"
Qt Official examples: Qt Quick Controls - Gallery
【西北工业大学】考研初试复试资料分享
Remember to use ternary expressions when switching transformations
515. Find the maximum value in each tree row
微信核酸检测预约小程序系统毕业设计毕设(2)小程序功能
Editor编辑器扩展在Scene View添加按钮和logo
Typescript
Export Excel files using npoi
719. Find the distance of the number pair with the smallest K
Picking up the camera is the best artistic healing
Hbuilderx runs to the mobile phone or simulator and prompts that the device is not found
RDK simulation experiment