# Deep Residual Learning for Image Recognition¶

## Abstract¶

Deeper neural networks are more difficult to train. We present a residual learning framework to ease the training of networks that are substantially deeper than those used previously. We explicitly reformulate the layers as learning residual functions with reference to the layer inputs, instead of learning unreferenced functions. We provide comprehensive empirical evidence showing that these residual networks are easier to optimize, and can gain accuracy from considerably increased depth. On the ImageNet dataset we evaluate residual nets with a depth of up to 152 layers—8x deeper than VGG nets but still having lower complexity. An ensemble of these residual nets achieves 3.57% error on the ImageNet test set. This result won the 1st place on the ILSVRC 2015 classification task. We also present analysis on CIFAR-10 with 100 and 1000 layers.

The depth of representations is of central importance for many visual recognition tasks. Solely due to our extremely deep representations, we obtain a 28% relative improvement on the COCO object detection dataset. Deep residual nets are foundations of our submissions to ILSVRC & COCO 2015 competitions, where we also won the 1st places on the tasks of ImageNet detection, ImageNet localization, COCO detection, and COCO segmentation.

## Citation¶

@inproceedings{he2016deep,
title={Deep residual learning for image recognition},
author={He, Kaiming and Zhang, Xiangyu and Ren, Shaoqing and Sun, Jian},
booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition},
pages={770--778},
year={2016}
}


## Cifar10¶

ResNet-18-b16x8 11.17 0.56 94.82 99.87 config model | log
ResNet-34-b16x8 21.28 1.16 95.34 99.87 config model | log
ResNet-50-b16x8 23.52 1.31 95.55 99.91 config model | log
ResNet-101-b16x8 42.51 2.52 95.58 99.87 config model | log
ResNet-152-b16x8 58.16 3.74 95.76 99.89 config model | log

## Cifar100¶

ResNet-50-b16x8 23.71 1.31 79.90 95.19 config model | log