-
Notifications
You must be signed in to change notification settings - Fork 10
/
eval_other.sh
40 lines (34 loc) · 1012 Bytes
/
eval_other.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
#SBATCH --job-name=slr-e-other
#SBATCH --output=log_eval_other.log
#SBATCH --nodes=1
#SBATCH --cpus-per-task=1
#SBATCH --mem=32GB
#SBATCH --time=7-00:00:00
#SBATCH --gres=gpu:1
source activate lensing
base=/scratch/jb6504/recycling_strong_lensing/
cd $base
tag=full
for variation in batchsize64 fromscratch deep batchsize256
do
modeltag=${tag}_${variation}
echo ""
echo ""
echo ""
echo "Evaluating ${modeltag} on prior sample"
echo ""
python -u test.py alices_${modeltag} test_${tag}_prior alices_${modeltag}_prior --dir $base
echo ""
echo ""
echo ""
echo "Evaluating ${modeltag} on shuffled prior sample"
echo ""
python -u test.py alices_${modeltag} test_${tag}_prior alices_${modeltag}_shuffledprior --shuffle --dir $base
echo ""
echo ""
echo ""
echo "Evaluating ${modeltag} on point sample / param grid"
echo ""
python -u test.py alices_${modeltag} test_${tag}_point alices_${modeltag}_grid --grid --dir $base
done