Skip to content

Commit

Permalink
Experiments 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Tambet Matiisen committed Feb 2, 2015
1 parent afc5e2c commit d2d0e8f
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
10 changes: 10 additions & 0 deletions batch1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH --partition=long
#SBATCH --ntasks-per-node 10
#SBATCH --cpus-per-task 2
#SBATCH --mem 4096
#SBATCH --time=100:00:00
#SBATCH --mail-type=end
#SBATCH [email protected]

srun -l -n 9 ./wrapper1.sh 3000
20 changes: 20 additions & 0 deletions experiment1.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
function experiment1(i, n)
p = {
0.05, 0.9, 0.01, 0, [256 256], 32;
0.1, 0.9, 0.01, 0, [256 256], 32;
0.01, 0.9, 0.01, 0, [256 256], 32;
0.05, 0.9, 0.001, 0, [256 256], 32;
0.05, 0.9, 0.01, 0.9, [256 256], 32;
0.05, 0.9, 0.01, 0, [256], 32;
0.05, 0.9, 0.01, 0, [100 100], 32;
0.05, 0.9, 0.01, 0, [512 512], 32;
0.05, 0.9, 0.01, 0, [256 256], 128;
};

addpath(genpath('DeepLearnToolbox'));
rng('shuffle');
a = NNAgent(p{i,1}, p{i,2}, p{i,3}, p{i,4}, p{i,5}, p{i,6});
results = a.play(n);
save(['results' num2str(i) '.mat']);
quit;
end
3 changes: 3 additions & 0 deletions wrapper1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

/storage/software/MATLAB_R2013b/bin/matlab -nodisplay -nosplash -nojvm -r "experiment1($(($SLURM_PROCID + 1)),$1)"

0 comments on commit d2d0e8f

Please sign in to comment.