diff --git a/mindinsight/datavisual/data_transform/summary_watcher.py b/mindinsight/datavisual/data_transform/summary_watcher.py index 8a4fff434d89f08fba774cb28475bfb7f0a54d97..530189312cd1dd28692f5fd58549739a4b2ec877 100644 --- a/mindinsight/datavisual/data_transform/summary_watcher.py +++ b/mindinsight/datavisual/data_transform/summary_watcher.py @@ -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): """