PatrickHua / SimSiam

A pytorch implementation for paper 'Exploring Simple Siamese Representation Learning'
MIT License
814 stars 135 forks source link

Do cifar_resnet_1.py and cifar_resnet_2.py are the same? #30

Closed guixianjin closed 3 years ago

guixianjin commented 3 years ago

Dear author:

 Do the following cifar_resnet_1.py and cifar_resnet_2.py are the same? If not, what's the difference between them?

   + https://github.com/PatrickHua/SimSiam/blob/main/models/backbones/cifar_resnet_1.py
   + https://github.com/PatrickHua/SimSiam/blob/main/models/backbones/cifar_resnet_2.py

And are they the same as the network used in MoCo_cifar_10_demo ?
    + https://colab.research.google.com/github/facebookresearch/moco/blob/colab-notebook/colab/moco_cifar10_demo.ipynb
PatrickHua commented 3 years ago

the two cifar variants are the same, but from different sources. They both use 3x3 kernel size in the first convolutional layer and removed max pooling.

guixianjin commented 3 years ago

I get it. Thanks for your prompt reply! : )