当前位置:网站首页>Article reproduction: srcnn
Article reproduction: srcnn
2022-07-27 13:07:00 【GIS and climate】
12 year ,AlexNet stay ImageNet Super performance in image classification competition ( Reference link 【1】), The powerful ability of convolutional neural network in image classification is proved , Later, various scholars in CNN A variety of improved image classification network architectures are proposed .
14 year ,DONG For the first time CNN To carry out super-resolution image reconstruction ( Reference link 【2】), The article puts forward SRCNN The architecture of . Image hyperfractionation can be considered as a pixel level regression task .
stay climate field , Generally, it is a return mission , After all, most of them are continuous values .
Let's reproduce it in this article SRCNN.
Article summary
We propose a deep learning method for single image super- resolution (SR). Our method directly learns an end-to-end mapping be- tween the low/high-resolution images. The mapping is represented as a deep convolutional neural network (CNN) [15] that takes the low- resolution image as the input and outputs the high-resolution one. We further show that traditional sparse-coding-based SR methods can also be viewed as a deep convolutional network. But unlike traditional meth- ods that handle each component separately, our method jointly optimizes all layers. Our deep CNN has a lightweight structure, yet demonstrates state-of-the-art restoration quality, and achieves fast speed for practical on-line usage.
The general idea is that this paper proposes a lightweight 、 End to end 、 be based on CNN The neural network of , It outperforms the traditional sparse coding method in the task of image super segmentation , And it's very fast .
Network architecture
SRCNN The network architecture of is really simple , Its network has only three convolution layers :

The corresponding code :
class SRCNN(nn.Module):
def __init__(self, inchannels):
super(SRCNN, self).__init__()
self.main = nn.Sequential(
nn.Conv2d(inchannels, 64, kernel_size=9, stride=(1, 1), padding=(4, 4)),
nn.ReLU(),
nn.Conv2d(64, 32, kernel_size=1, stride=(1, 1), padding=(0, 0)),
nn.ReLU(),
nn.Conv2d(32, 1, kernel_size=5, stride=(1, 1), padding=(2, 2))
)
def forward(self, x):
y = self.main(x)
return y
This article uses 9-1-5 Convolution kernel , This can be adjusted by yourself ; SRCNN The input of is to use bilinear interpolation to the target size , Then input it into the network ; Each layer padding The quantity of can be calculated by yourself , Make sure the input and output are the same size ;

SRCNN It's the first chapter of using depth convolution to carry out hyperdivision , It is also a groundbreaking work , But I want to apply it according to my own research , It can only be said that the resistance is long ....
Reference resources
【1】CNN The first article for image classification :KRIZHEVSKY A, SUTSKEVER I, HINTON G E J C O T A 2012. ImageNet classification with deep convolutional neural networks. 60: 84 - 90.
【2】CNN The first article for image regression :DONG C, LOY C C, HE K, et al. Learning a Deep Convolutional Network for Image Super-Resolution[C]//Computer Vision – ECCV 2014.Springer International Publishing,2014:184-199. 10.1007/978-3-319-10593-2_13.
边栏推荐
- Keil mdk5.37 and above can add AC5 (armcc) compiler by themselves
- BSP视频教程第21期:轻松一键实现串口DMA不定长收发,支持裸机和RTOS,含MDK和IAR两种玩法,比STM32CubeMX还方便(2022-07-24)
- Will causal learning open the next generation of AI? Chapter 9 Yunji datacanvas officially released the open source project of ylarn causal learning
- Overview of famous inner classes and anonymous inner classes
- Complete data summary of lapsus$apt organization that stole Microsoft's source code in March 2022
- Insert sort summary
- SSM实战项目-前后分离(简单易懂)
- Unity 2D game tutorial
- Delay queue performance test
- 关于2022年3月9日之后Typora登录不了--已解决
猜你喜欢

12 pictures, take you to thoroughly understand ZGC garbage collector!

CEPH distributed storage performance tuning (6)

概述静态内部类与非静态内部类

multi-table query

程序员培训学习后好找工作吗

Open source project - taier1.2 release, new workflow, tenant binding simplification and other functions

MySQL extensions

Error: the source of the existing CacheManager is: urlconfigurationsource

500强企业如何提升研发效能?来看看行业专家怎么说!

4. Analysis of the execution process of make modules for general purposes
随机推荐
Mongodb slow query and index
SQL question brushing: find out the current salary of all employees
一款能模糊的地方都能模糊的测试工具——Wfuzz
What should I do if I can't see any tiles on SAP Fiori launchpad?
flinksql从Oracle同步数据到Doris,一共50几个字段,Oracle表中3000多万条
Overview of static inner classes and non static inner classes
堆
(07) flask is OK if you have a hand -- flask Sqlalchemy
GAN:生成对抗网络 Generative Adversarial Networks
Will MySQL fail to insert data? Why?
Complete data summary of lapsus$apt organization that stole Microsoft's source code in March 2022
Specify the add method of HashSet
Error: slf4j: class path contains multiple slf4j bindings
js真伪数组转换
Gartner 权威预测未来4年网络安全的8大发展趋势
multi-table query
事务四大特性(ACID):
Flinksql synchronizes data from Oracle to Doris, with a total of more than 50 fields and more than 30 million entries in Oracle tables
Basic architecture of data Lake
592. 分数加减运算 : 表达式计算入门题