Commit 7f483801 by xiaotong

rename the model for dumping

parent cb51dc13
...@@ -403,8 +403,8 @@ void T2TTrainer::MakeCheckpoint(T2TModel * model, const char * validFN, const ch ...@@ -403,8 +403,8 @@ void T2TTrainer::MakeCheckpoint(T2TModel * model, const char * validFN, const ch
{ {
char * fn = new char[MAX_LINE_LENGTH]; char * fn = new char[MAX_LINE_LENGTH];
char * fn2 = new char[MAX_LINE_LENGTH]; char * fn2 = new char[MAX_LINE_LENGTH];
sprintf(fn, "%s.%s.%3d", modelFN, label, id); sprintf(fn, "%s.%s.%03d", modelFN, label, id);
sprintf(fn2, "%s.%s.%3d.output", modelFN, label, id); sprintf(fn2, "%s.%s.%03d.output", modelFN, label, id);
//model->Dump(fn); //model->Dump(fn);
if(validFN != NULL){ if(validFN != NULL){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论