提交 1895275e 编写于 作者: W wenkai

fix log levels too high

上级 dc75de77
......@@ -405,8 +405,8 @@ class _SummaryParser(_Parser):
# Drop steps if original_buckets_count exceeds HistogramContainer.MAX_ORIGINAL_BUCKETS_COUNT
# to avoid time-consuming re-sample process.
if tensor_event_value.original_buckets_count > HistogramContainer.MAX_ORIGINAL_BUCKETS_COUNT:
logger.warning('original_buckets_count exceeds '
'HistogramContainer.MAX_ORIGINAL_BUCKETS_COUNT')
logger.info('original_buckets_count exceeds '
'HistogramContainer.MAX_ORIGINAL_BUCKETS_COUNT')
continue
tensor_event = TensorEvent(wall_time=event.wall_time,
......
......@@ -213,8 +213,7 @@ class HistogramReservoir(Reservoir):
visual_range.update(histogram.max, histogram.min)
if visual_range.max == visual_range.min and not max_count:
logger.warning("Max equals to min, however, count is zero. Please check mindspore "
"does write max and min values to histogram summary file.")
logger.info("Max equals to min. Count is zero.")
bins = calc_histogram_bins(max_count)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册