From b21b50b2b146d9f63429cb844fe66823fad32117 Mon Sep 17 00:00:00 2001 From: xiexionghang Date: Thu, 19 Sep 2019 21:32:58 +0800 Subject: [PATCH] support weightAdjust by show --- paddle/fluid/train/custom_trainer/feed/scripts/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/train/custom_trainer/feed/scripts/update.py b/paddle/fluid/train/custom_trainer/feed/scripts/update.py index aa5c2f3f..4be67e8c 100644 --- a/paddle/fluid/train/custom_trainer/feed/scripts/update.py +++ b/paddle/fluid/train/custom_trainer/feed/scripts/update.py @@ -50,7 +50,7 @@ def inference(): accessors = [ { "class": "AbacusSparseUpdateAccessor", "input": "sparses", "table_id": 0, "need_gradient": True}, - { "class": "DenseInputAccessor", "input": "vars", "table_id": 5, "need_gradient": True, "async_pull": True}, + { "class": "DenseInputAccessor", "input": "vars", "table_id": 3, "need_gradient": True, "async_pull": True}, { "class": "WeightsAdjustAccessor", "input": "ins_weight", "slot_id": 6002, "adjw_ratio": 20, "adjw_threshold": 1000}, { "class": "LabelInputAccessor", "input": "labels"} -- GitLab