You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Proper ResNet Implementation for CIFAR10/CIFAR100
2
+
[Torchvision model zoo](https://github.com/pytorch/vision/tree/master/torchvision/models) provides number of implementations of various state-of-the-art architectures, however, most of them are defined and implemented for ImageNet.
3
+
Usually it is very straightforward to use them on other datasets, but sometimes this models needs manual setup.
4
+
5
+
Unfortunately, none of the repositories with ResNets on CIFAR10 provides an implementation as described in [original paper](https://arxiv.org/abs/1512.03385). If you just use torchvision's models on CIFAR10 you'll get the model **that differs in number of layers and parameters**. That is unacceptable if you want to directly compare ResNets on CIFAR10.
6
+
The purpose of this repo is to provide a valid implementation of ResNet-s for CIFAR10. Following models are provided:
7
+
| Name | # layers | # params|
8
+
|-----------|---------:|-------:|
9
+
|ResNet20 | 20 | 0.27M |
10
+
|ResNet32 | 32 | 0.46M |
11
+
|ResNet44 | 44 | 0.66M |
12
+
|ResNet56 | 56 | 0.85M |
13
+
|ResNet110 | 110 | 1.7M |
14
+
|ResNet1202 | 1202 | 19.4M |
15
+
And their implementation matches description in original paper.
0 commit comments