Open lovekittynine opened 1 year ago
Thanks for the questions.
1) We do miss the description on the use of 3x3 dwise conv in MLP and will update the paper. 2) You may refer to the paper termed RepLKNet for more explanations on this. In addition, this is benefitial to downstream tasks, which need higher-resolution images.
Extra Question: you add self.layer_scale_1 and self.layer_scale_2 to ConvMod block, it also introduce extra parameters, what's the effective of the two scale params ???
If you use Hadamard product, the magnitude of the feature values tend to be larger than using addition. These parameters help the optimization process, which has been widely used in modern network architectures. You may refer to CaiT by Touvron et al. for more details.
Hello, i have some small questions about the code.
self.pos
layer, actually, the author hadn't mentioned it in the paper. It acts like a depth-wise separable convolution together withself.fc2
, but it add some extra parameters, the effective of this layer are huge???self.a
layer, however, in the last stage(stage 4), the size of feature map is 7x7 (224x224 inputs), using kernel_size = 11 for convolution seems some strange.Thanks for your replay!