From a2bad5c72d6b139e8a4694841d9c411ebc5cef81 Mon Sep 17 00:00:00 2001 From: wenkai Date: Wed, 17 Jun 2020 09:49:04 +0800 Subject: [PATCH] fix log level too high: step has no record is normal. --- mindspore/train/summary/summary_record.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/train/summary/summary_record.py b/mindspore/train/summary/summary_record.py index b2bc872a1f..147be8173b 100644 --- a/mindspore/train/summary/summary_record.py +++ b/mindspore/train/summary/summary_record.py @@ -182,7 +182,7 @@ class SummaryRecord: data = _get_summary_tensor_data() if not data: - logger.error("The step(%r) does not have record data.", step) + logger.info("The step(%r) does not have record data.", step) return False if self.queue_max_size > 0 and len(data) > self.queue_max_size: logger.error("The size of data record is %r, which is greater than queue_max_size %r.", len(data),