Skip to content
Snippets Groups Projects
Unverified Commit bc3ce163 authored by i-robot's avatar i-robot Committed by Gitee
Browse files

!3736 lstm_crf

Merge pull request !3736 from nomindcarry/master
parents 25a9c4f2 f6d852ec
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,9 @@ class EvalCabllBack(TimeMonitor):
self.callback = F1(len(self.tags_to_index_map))
self._best_val_F1 = 0
def epoch_begin(self, run_context):
self.network.is_training = True
def epoch_end(self, run_context):
"""save .ckpt files"""
self.network.is_training = False
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment