From b1f6f568a69fba47bc5cb9071c51352294f164ca Mon Sep 17 00:00:00 2001 From: wuzewu Date: Mon, 22 Apr 2019 17:50:27 +0800 Subject: [PATCH] update strategy --- paddlehub/finetune/strategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlehub/finetune/strategy.py b/paddlehub/finetune/strategy.py index b06d4906..22fdb61b 100644 --- a/paddlehub/finetune/strategy.py +++ b/paddlehub/finetune/strategy.py @@ -91,7 +91,7 @@ class AdamWeightDecayStrategy(DefaultStrategy): lr_scheduler="linear_decay", warmup_proportion=0.0, weight_decay=0.01, - optimizer_name=None): + optimizer_name="adam"): super(AdamWeightDecayStrategy, self).__init__( learning_rate=learning_rate, optimizer_name=optimizer_name) # check strategy correctness -- GitLab