From e10a178010cccdcd18cb21454eef98c36ae0c3a7 Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Wed, 1 Sep 2021 17:04:18 +0800 Subject: [PATCH] add , in init --- ppocr/losses/det_pse_loss.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ppocr/losses/det_pse_loss.py b/ppocr/losses/det_pse_loss.py index 1333c2a9..78423091 100644 --- a/ppocr/losses/det_pse_loss.py +++ b/ppocr/losses/det_pse_loss.py @@ -25,7 +25,8 @@ class PSELoss(nn.Layer): ohem_ratio=3, kernel_sample_mask='pred', reduction='sum', - eps=1e-6**kwargs): + eps=1e-6, + **kwargs): """Implement PSE Loss. """ super(PSELoss, self).__init__() -- GitLab