SwinTransformer/Transformer-SSL

config setting "NORM_BEFORE_MLP" takes no effect

flishwang opened this issue · 0 comments

in models/build.py:41,
the keyword passed to partial(SwinTransformer,...) is norm_befor_mlp,
while the keyword in SwinTransformer (models/swin_transformer.py:497) is norm_before_mlp.
The formmer missed a letter E compared with the latter.

Therefore, the 'bn' setting in configs takes no effect.