summaryrefslogtreecommitdiff
path: root/training
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-08-19 21:57:16 +0100
committerPatrick Simianer <p@simianer.de>2014-08-19 21:57:16 +0100
commitc71f66b3aae84ae1974f12a314468dc5f3ce201b (patch)
tree294f566859de7a47bf2d88735202868fe4b15a99 /training
parentd1bf6b1645a45b555dba79cbcbaf88db819dc2d7 (diff)
pro: fix setting of parameter max_iterations
Diffstat (limited to 'training')
-rwxr-xr-xtraining/pro/pro.pl23
1 files changed, 12 insertions, 11 deletions
diff --git a/training/pro/pro.pl b/training/pro/pro.pl
index a059477d..8ebb5864 100755
--- a/training/pro/pro.pl
+++ b/training/pro/pro.pl
@@ -69,18 +69,19 @@ my $reg_previous = 5000;
# Process command-line options
if (GetOptions(
- "config=s" => \$iniFile,
- "weights=s" => \$initial_weights,
- "devset=s" => \$devset,
- "jobs=i" => \$jobs,
- "metric=s" => \$metric,
- "pass-suffix=s" => \$pass_suffix,
- "qsub" => \$useqsub,
- "help" => \$help,
- "reg=f" => \$reg,
- "reg-previous=f" => \$reg_previous,
+ "config=s" => \$iniFile,
+ "weights=s" => \$initial_weights,
+ "devset=s" => \$devset,
+ "jobs=i" => \$jobs,
+ "max-iterations=i" => \$max_iterations,
+ "metric=s" => \$metric,
+ "pass-suffix=s" => \$pass_suffix,
+ "qsub" => \$useqsub,
+ "help" => \$help,
+ "reg=f" => \$reg,
+ "reg-previous=f" => \$reg_previous,
"pmem=s" => \$pmem,
- "output-dir=s" => \$dir,
+ "output-dir=s" => \$dir,
) == 0 || @ARGV!=0 || $help) {
print_help();
exit;