提交 954d0751 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!223 fix log levels too high

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