From b53d290dee2a2abab34e7990c06de4731d7e5d2c Mon Sep 17 00:00:00 2001 From: wangxinxin08 <69842442+wangxinxin08@users.noreply.github.com> Date: Wed, 19 Aug 2020 18:10:15 +0800 Subject: [PATCH] Remove unnecessary parameters in IouLoss (#1254) * fix deadlink in docs/tutorials/INSTALL_cn.md, slim/README.md and slim/extensions/distill_pruned_model/README.md --- ppdet/modeling/losses/iou_loss.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ppdet/modeling/losses/iou_loss.py b/ppdet/modeling/losses/iou_loss.py index 624cd47c0..d62dd8616 100644 --- a/ppdet/modeling/losses/iou_loss.py +++ b/ppdet/modeling/losses/iou_loss.py @@ -235,4 +235,5 @@ class IouLoss(object): dtype=numpy_array.dtype, default_initializer=NumpyArrayInitializer(numpy_array)) paddle_array.stop_gradient = True + paddle_array.persistable = False return paddle_array -- GitLab