Open tkhe opened 4 years ago
I notice this also. timm only applies SE in the last block. I didn't see the papers mentioned any of these.
Have you figured out whether it is a bug?
Seems like SE is only applied to stage 2 and 3, since they have only 1 block? Still, it is pretty strange
From OSA stage I noticed that
SE
param can be changed to False in some cases, e.g.block_per_stage != 1
. I guess it means the following OSA module should not include SE module.https://github.com/youngwanLEE/vovnet-detectron2/blob/f96f53448a162cd5364ff9d4ef0530c7d9a961a6/vovnet/vovnet.py#L260-L265
But it seems that the
SE
param defined in OSA module is never used, so SE module will be applied in every OSA module.https://github.com/youngwanLEE/vovnet-detectron2/blob/f96f53448a162cd5364ff9d4ef0530c7d9a961a6/vovnet/vovnet.py#L186-L189
Is it a bug? or just I misunderstood it?