face_recognition.pytorch icon indicating copy to clipboard operation
face_recognition.pytorch copied to clipboard

Why Resnet first conv layer has kernel_size=3 and not =7, like the original paper?

Open acnazarejr opened this issue 6 years ago • 1 comments

https://github.com/grib0ed0v/face_recognition.pytorch/blob/b5c4be96d217619b472630c455155475e6a923b3/model/backbones/resnet.py#L24

acnazarejr avatar Apr 08 '19 18:04 acnazarejr

@acnazarejr actually, 7x7 convolution is much heavier than 3x3, that's why we decided to choose 3x3. Since we don't use pre-trained weights from ImageNet, that's should be OK.

grib0ed0v avatar Apr 08 '19 19:04 grib0ed0v