当前位置:网站首页>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
边栏推荐
- 毕业总结
- Wechat applet video sharing platform system graduation design completion (1) development outline
- 微信小程序视频分享平台系统毕业设计毕设(8)毕业设计论文模板
- SteamOS 3.3 Beta 发布,Steam Deck 中文键盘终于来了
- 微信核酸检测预约小程序系统毕业设计毕设(4)开题报告
- Qt官方示例:Qt Quick Controls - Gallery
- Wechat applet video sharing platform system graduation design completion (6) opening defense ppt
- 面试,关于线程池的那些事
- Typescript
- 1.5.1版本官方docker镜像运行容器,能设置使用 mysql 8驱动吗?
猜你喜欢
Finally detailed explanation
QT official example: QT quick controls - Gallery
能解决80%故障的排查思路
[golang | grpc] generate certificates using OpenSSL
WPS inserts a picture and displays it completely
NVIDIA graphics card failed to initialize nvml driver/library version mismatch error solution
515. Find the maximum value in each tree row
Chrome officially supports MathML, which is enabled in chromium dev 105 by default
Wechat nucleic acid detection appointment applet system graduation design completion (1) development outline
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"
随机推荐
Embedded development board ~ description
微信核酸检测预约小程序系统毕业设计毕设(1)开发概要
MySQL进阶-事务及索引
Freemaker+poi realizes dynamic generation and parsing of Excel files
Typescript
Yingguang MCU development case
Steamos 3.3 beta release, steam deck Chinese keyboard finally came
MySQL --- 数据库的基本概念
Mysql 备份的三种方式
MySQL -- basic concept of database
利用DOSBox运行汇编超详细步骤「建议收藏」
977. Square of ordered array
Qt官方示例:Qt Quick Controls - Gallery
RDK simulation experiment
微信小程序视频分享平台系统毕业设计毕设(4)开题报告
719. 找出第 K 小的数对距离
1288_ Implementation analysis of vtask resume() interface and interrupt Security version interface in FreeRTOS
Customize a loading instruction
Graduation summary
微信核酸检测预约小程序系统毕业设计毕设(2)小程序功能