Closed qishuaihui closed 1 year ago
how to understand the meaning of variable 'hs' in RepViTBlock? I find it can not control the activation function.
we can find it from the repvit.py and it is defined as follows: nn.GELU() if use_hs else nn.GELU(),
Hi, 'hs' is indeed an unused variable. It can be removed in RepViTBlock.
how to understand the meaning of variable 'hs' in RepViTBlock? I find it can not control the activation function.
we can find it from the repvit.py and it is defined as follows: nn.GELU() if use_hs else nn.GELU(),