提交 31b697df 编写于 作者: S Steffy-zxf 提交者: wuzewu

Fix the super compatible code between python2.x and python3.x (#25)

上级 163b7b19
......@@ -92,7 +92,7 @@ class AdamWeightDecayStrategy(DefaultStrategy):
warmup_proportion=0.0,
weight_decay=0.01,
optimizer_name=None):
super().__init__(
super(AdamWeightDecayStrategy, self).__init__(
learning_rate=learning_rate, optimizer_name=optimizer_name)
# check strategy correctness
if lr_scheduler not in ["linear_decay", "noam_decay"]:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册