From c8ca03c0a19b1a0707a3c6420386571a2e777b5f Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Thu, 22 Sep 2022 16:06:14 +0800 Subject: [PATCH] update ser_vi_layoutxlm_xfund_zh_udml.yml --- configs/kie/vi_layoutxlm/ser_vi_layoutxlm_xfund_zh_udml.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configs/kie/vi_layoutxlm/ser_vi_layoutxlm_xfund_zh_udml.yml b/configs/kie/vi_layoutxlm/ser_vi_layoutxlm_xfund_zh_udml.yml index 238bbd2b..79abe540 100644 --- a/configs/kie/vi_layoutxlm/ser_vi_layoutxlm_xfund_zh_udml.yml +++ b/configs/kie/vi_layoutxlm/ser_vi_layoutxlm_xfund_zh_udml.yml @@ -70,14 +70,16 @@ Loss: mode: "l2" model_name_pairs: - ["Student", "Teacher"] - key: hidden_states_5 + key: hidden_states + index: 5 name: "loss_5" - DistillationVQADistanceLoss: weight: 0.5 mode: "l2" model_name_pairs: - ["Student", "Teacher"] - key: hidden_states_8 + key: hidden_states + index: 8 name: "loss_8" -- GitLab