Browse Source

fix log level too high: step has no record is normal.

tags/v0.5.0-beta
wenkai 6 years ago
parent
commit
a2bad5c72d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/train/summary/summary_record.py

+ 1
- 1
mindspore/train/summary/summary_record.py View File

@@ -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),


Loading…
Cancel
Save