akamaster / pytorch_resnet_cifar10

Proper implementation of ResNet-s for CIFAR10/100 in pytorch that matches description of the original paper.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

an issue about resnet implementation

xiaohua-chen opened this issue · comments

Dear professor,I have two questions.
1、Why it is line 81: out += self.shortcut(x) but not out += x

2、For ImageNet/iNaturalist ResNet paper uses option 'B'.? For cifar10/cifar100 uses option 'A'.
Not sure if I am understanding this right.

Look forward to your kind advic.

  1. Please see #23 and comments within.
  2. Your understanding is correct. For ImageNet resnets, the configuration B was used historically. However for CIFAR10, the config A was used in the original paper.