Browse Source

fix bugs of summary watcher when discovering profiler directory

pull/172/head
liangyongxiong 5 years ago
parent
commit
cbd50af8ad
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