Commit af3acf68 by xiaotong

move the hard dump of model

parent 78339123
...@@ -68,7 +68,7 @@ int TransformerMain(int argc, const char ** argv) ...@@ -68,7 +68,7 @@ int TransformerMain(int argc, const char ** argv)
char * fn = new char[MAX_LINE_LENGTH]; char * fn = new char[MAX_LINE_LENGTH];
char * fn1 = new char[MAX_LINE_LENGTH]; char * fn1 = new char[MAX_LINE_LENGTH];
char * fn2 = new char[MAX_LINE_LENGTH]; char * fn2 = new char[MAX_LINE_LENGTH];
modelFN = strcmp(modelFN, "") ? modelFN : (char *)"checkpoint.model"; //modelFN = strcmp(modelFN, "") ? modelFN : (char *)"checkpoint.model";
int epoch; int epoch;
bool isTrain; bool isTrain;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论