Res2Net/Res2Net-PretrainedModels

About stype.stage

Liqq1 opened this issue · 3 comments

Liqq1 commented

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

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

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

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

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