未验证 提交 59be8e46 编写于 作者: W Wei Shengyu 提交者: GitHub

Merge branch 'release/2.2' into develop

......@@ -350,7 +350,6 @@ class PyramidVisionTransformer(nn.Layer):
shape=[1, 1, embed_dims[-1]],
default_initializer=zeros_,
attr=paddle.ParamAttr(regularizer=L2Decay(0.0)))
self.add_parameter("cls_token", self.cls_token)
# classification head
self.head = nn.Linear(embed_dims[-1],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册