We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c557b0 commit 82ad4b4Copy full SHA for 82ad4b4
parser/lstm-parse.cc
@@ -558,7 +558,7 @@ int main(int argc, char** argv) {
558
<< '_' << REL_DIM
559
<< "-pid" << getpid() << ".params";
560
int best_correct_heads = 0;
561
- const string fname = os.str();
+ const string fname = conf.count("model") ? conf["model"].as<string>() : os.str();
562
cerr << "Writing parameters to file: " << fname << endl;
563
bool softlinkCreated = false;
564
corpus.load_correct_actions(conf["training_data"].as<string>());
0 commit comments