diff options
Diffstat (limited to 'latest.pl')
| -rwxr-xr-x | latest.pl | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -8,10 +8,10 @@ our $opt_v; # print log for all files our $opt_n; # name/tag for file our $opt_e; # endpoint for cortex upload getopts('lave:n:'); -print "n: $opt_n\n"; -print "v: $opt_v\n"; -print "e: $opt_e\n"; -print "l: $opt_l\n"; +print STDERR "n: $opt_n\n"; +print STDERR "v: $opt_v\n"; +print STDERR "e: $opt_e\n"; +print STDERR "l: $opt_l\n"; our $matches = 0; if (scalar @ARGV) { @@ -26,6 +26,7 @@ sub process($){ my ($dir) = @_; my @exp = split(":", $dir); my $name = $exp[4]; + my $dataset = $name; my $ep; my $path = "results/" . $dir . "/"; my $chex = $path . "checkpoints/"; @@ -96,7 +97,8 @@ sub process($){ print "\n"; print $name . ", $c samples\n"; print "\n"; - system('/bin/bash', 'mix.sh', $path, $name, $opt_e, $epoch_num); + print "$path $name $opt_e $dataset $epoch_num\n"; + system('/bin/bash', 'mix.sh', $path, $name, $opt_e, $dataset, $epoch_num); return 0; } |
