This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
!660
Fix bug: summary graph and record misjudgment
Merge pull request
!660
from candanzg/summary_record_bug
tags/v0.3.0-alpha
mindspore-ci-bot
Gitee
5 years ago
parent
3b625ac9ae
7e8e44ef56
commit
5633f6c68b
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
mindspore/train/summary/summary_record.py
+ 3
- 0
mindspore/train/summary/summary_record.py
View File
@@ -158,6 +158,9 @@ class SummaryRecord:
package_graph_event(graph_proto).SerializeToString())
self.event_writer.flush()
self.has_graph = True
data = _summary_tensor_cache.get("SummaryRecord")
if data is None:
return True
data = _summary_tensor_cache.get("SummaryRecord")
if data is None:
Write
Preview
Loading…
Cancel
Save