mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Update metaformers.py
This commit is contained in:
parent
464ae0fe50
commit
bde9554604
@ -596,7 +596,7 @@ DOWNSAMPLE_LAYERS_FOUR_STAGES = [partial(Downsampling,
|
|||||||
)] + \
|
)] + \
|
||||||
[partial(Downsampling,
|
[partial(Downsampling,
|
||||||
kernel_size=3, stride=2, padding=1,
|
kernel_size=3, stride=2, padding=1,
|
||||||
pre_norm=partial(LayerNormGeneral, bias=False, eps=1e-6), pre_permute=True
|
pre_norm=partial(LayerNormGeneral, bias=False, eps=1e-6), pre_permute=False
|
||||||
)]*3
|
)]*3
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user