当前位置:网站首页>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
边栏推荐
- Chrome 正式支持 MathML,默认在 Chromium Dev 105 中启用
- Calculation of favorable comment rate
- Wechat applet video sharing platform system graduation design (2) applet function
- In Linux, MySQL sets the job task to start automatically
- paddlepaddle 28 搭建基于卷积的自动编码机
- [golang | grpc] generate certificates using OpenSSL
- 微信小程序视频分享平台系统毕业设计毕设(8)毕业设计论文模板
- C # detect whether the picture is rotated and modified to the true rotation
- WPS inserts a picture and displays it completely
- QT official example: QT quick controls - Gallery
猜你喜欢

1288_ Implementation analysis of vtask resume() interface and interrupt Security version interface in FreeRTOS

Use Zadig to build a continuous delivery platform from 0 to 1

Wechat applet video sharing platform system graduation design completion (1) development outline

Redisson high performance redis distributed lock source code analysis

Laravel框架安装时遇到的坑

ESP32-C3入门教程 问题篇⑩——error: implicit declaration of function ‘esp_blufi_close‘;

Leetcode 面试题 16.17. 连续数列

Wechat nucleic acid detection appointment applet system graduation design completion (1) development outline

如何开启IDEA的Run Dashboard功能

【西北工业大学】考研初试复试资料分享
随机推荐
切换变换的时候记得使用三元表达式
Unity学习shader笔记[八十二]增强单通道颜色渲染的黑白处理
微信小程序视频分享平台系统毕业设计毕设(5)任务书
Use dosbox to run the assembly super detailed step "suggestions collection"
qt的内存映射
Détends - toi encore! Ces nouveaux étudiants peuvent s'installer directement à Shanghai
Please, stop painting star! This has nothing to do with patriotism!
Microsoft LDAP 配置页中输入有效的用户名及密码,microsoft ldap 配置页中输入有效的用户名
vi/vim 删除:一行, 一个字符, 单词, 每行第一个字符 命令
MySQL进阶-事务及索引
ESP32-C3入门教程 问题篇⑩——error: implicit declaration of function ‘esp_blufi_close‘;
【Golang | gRPC】使用openssl生成证书
微信核酸检测预约小程序系统毕业设计毕设(4)开题报告
Editor Editor Extension add button and logo in scene view
How to download wechat payment certificate (API certificate)
Finally detailed explanation
Wechat applet video sharing platform system graduation design completion (6) opening defense ppt
Web chat tool
A good programmer is worth five ordinary programmers!
[golang | grpc] generate certificates using OpenSSL