From 87cb15aa4c4dba82c0c5ab90709cbf65244394e5 Mon Sep 17 00:00:00 2001 From: tink2123 Date: Sun, 14 Jun 2020 21:41:12 +0800 Subject: [PATCH] Adapted to 1.8 --- ppocr/modeling/heads/det_db_head.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ppocr/modeling/heads/det_db_head.py b/ppocr/modeling/heads/det_db_head.py index c89a1255..56998044 100644 --- a/ppocr/modeling/heads/det_db_head.py +++ b/ppocr/modeling/heads/det_db_head.py @@ -115,7 +115,6 @@ class DBHead(object): initializer = fluid.initializer.Uniform(-stdv, stdv) bias_attr = fluid.ParamAttr( regularizer=regularizer, - gradient_clip=gradient_clip, initializer=initializer, name=name + "_b_attr") return bias_attr -- GitLab