del head_init_scale (#2948)

pull/2950/head
zhangyubo0722 2023-09-01 20:15:35 +08:00 committed by GitHub
parent f4de50226a
commit 82317a21e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 3 deletions

View File

@ -567,7 +567,7 @@ class VisionTransformer(nn.Layer):
drop_path_rate=0.,
norm_layer='nn.LayerNorm',
epsilon=1e-5,
head_init_scale=1,
head_init_scale=0.001,
**kwargs):
super().__init__()
global _model_diff

View File

@ -27,7 +27,6 @@ Arch:
class_num: 1000
return_embed: False
pretrained: True
head_init_scale: 0.001
# loss function config for traing/eval process
Loss:

View File

@ -27,7 +27,6 @@ Arch:
class_num: 1000
return_embed: False
pretrained: True
head_init_scale: 0.001
# loss function config for traing/eval process
Loss: