From 371fdc4eb01fc0ab116bf60f27b2fd25ea7546d4 Mon Sep 17 00:00:00 2001 From: Chang Xu Date: Mon, 5 Sep 2022 13:53:43 +0800 Subject: [PATCH] Fix Bug in Analysis (#1411) --- paddleslim/quant/analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddleslim/quant/analysis.py b/paddleslim/quant/analysis.py index d81e80f8..35b650f7 100644 --- a/paddleslim/quant/analysis.py +++ b/paddleslim/quant/analysis.py @@ -308,5 +308,5 @@ class AnalysisQuant(object): plt.title("Hist of variable {}".format(name)) plt.show() pdf.savefig() - plt.close() + plt.close() _logger.info('Histogram plot is saved in {}'.format(pdf_path)) -- GitLab