Browse Source

!170 fix bugs of summary watcher

Merge pull request !170 from liangyongxiong/fix-summary-watcher
tags/v0.5.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
39ff1c3708
1 changed files with 5 additions and 6 deletions
  1. +5
    -6
      mindinsight/datavisual/data_transform/summary_watcher.py

+ 5
- 6
mindinsight/datavisual/data_transform/summary_watcher.py View File

@@ -257,12 +257,11 @@ class SummaryWatcher:
'mtime': mtime,
}
if relative_path not in summary_dict:
summary_dict[relative_path] = {
'ctime': ctime,
'mtime': mtime,
'profiler': profiler,
}
summary_dict[relative_path] = {
'ctime': ctime,
'mtime': mtime,
'profiler': profiler,
}
def is_summary_directory(self, summary_base_dir, relative_path):
"""


Loading…
Cancel
Save