summaryrefslogtreecommitdiff
path: root/latest.pl
diff options
context:
space:
mode:
Diffstat (limited to 'latest.pl')
-rwxr-xr-xlatest.pl12
1 files changed, 7 insertions, 5 deletions
diff --git a/latest.pl b/latest.pl
index 3eef1a2..b135e1d 100755
--- a/latest.pl
+++ b/latest.pl
@@ -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;
}