Res2Net / Res2Net-PretrainedModels

(ImageNet pretrained models) The official pytorch implemention of the TPAMI paper "Res2Net: A New Multi-scale Backbone Architecture"
https://mmcheng.net/res2net/
1.07k stars 215 forks source link

About stype.stage #65

Closed Liqq1 closed 2 years ago

Liqq1 commented 2 years ago

Hi Could you please explain the meaning of 'stage' for me in more detail? Is it not used in the entire Res2Net network? type: 'normal': normal set. 'stage': first block of a new stage.

gasvn commented 2 years ago

The normal block is the exact res2net block, and the stage block is the res2net block without shortcut inside bacause the feature shape changes for each block of a new stage.

Liqq1 commented 2 years ago

The normal block is the exact res2net block, and the stage block is the res2net block without shortcut inside bacause the feature shape changes for each block of a new stage.

感谢回复 另外还有一个问题就是,为什么对于stype=='stage‘的时候不用加上前一小块的输出结果,而是直接 sp = spx[i]呢?

image
gasvn commented 2 years ago

The normal block is the exact res2net block, and the stage block is the res2net block without shortcut inside bacause the feature shape changes for each block of a new stage.

感谢回复 另外还有一个问题就是,为什么对于stype=='stage‘的时候不用加上前一小块的输出结果,而是直接 sp = spx[i]呢?

image

因为输入输出特征的尺寸不一致,所以没法直接加起来