-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_eval_mem.py
33 lines (30 loc) · 4.18 KB
/
run_eval_mem.py
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
import os
import sys
job_id = int(sys.argv[1]) - 1
print(f"Starting job: {job_id}")
jobs = [
"python eval_experiments.py exp-results/diabetes_logits_False_globalrecourse.npz globalrecourse mem False False > exp-eval-results/diabetes_logits_False_mem_globalrecourse.txt",
"python eval_experiments.py exp-results/diabetes_logits_True_globalrecourse.npz globalrecourse mem True False > exp-eval-results/diabetes_logits_True_mem_globalrecourse.txt",
"python eval_experiments.py exp-results/german_logits_False_globalrecourse.npz globalrecourse mem False False > exp-eval-results/german_logits_False_mem_globalrecourse.txt",
"python eval_experiments.py exp-results/german_logits_True_globalrecourse.npz globalrecourse mem True False > exp-eval-results/german_logits_True_mem_globalrecourse.txt",
"python eval_experiments.py exp-results/diabetes_logits_False_accuracy.npz globalrecourse mem False False > exp-eval-results/diabetes_logits_False_mem_globalrecourse_accuracy.txt",
"python eval_experiments.py exp-results/diabetes_logits_True_accuracy.npz globalrecourse mem True False > exp-eval-results/diabetes_logits_True_mem_globalrecourse_accuracy.txt",
"python eval_experiments.py exp-results/german_logits_False_accuracy.npz globalrecourse mem False False > exp-eval-results/german_logits_False_mem_globalrecourse_accuracy.txt",
"python eval_experiments.py exp-results/german_logits_True_accuracy.npz globalrecourse mem True False > exp-eval-results/german_logits_True_mem_globalrecourse_accuracy.txt",
"python eval_experiments.py exp-results/diabetes_logits_False_globalrecourse.npz globalrecourse mem False True > exp-eval-results/diabetes_logits_False_mem_globalrecourse_random.txt",
"python eval_experiments.py exp-results/diabetes_logits_True_globalrecourse.npz globalrecourse mem True True > exp-eval-results/diabetes_logits_True_mem_globalrecourse_random.txt",
"python eval_experiments.py exp-results/german_logits_False_globalrecourse.npz globalrecourse mem False True > exp-eval-results/german_logits_False_mem_globalrecourse_random.txt",
"python eval_experiments.py exp-results/german_logits_True_globalrecourse.npz globalrecourse mem True True > exp-eval-results/german_logits_True_mem_globalrecourse_random.txt",
"python eval_experiments.py exp-results/diabetes_logits_False_groupfaircf.npz groupfaircf mem False False > exp-eval-results/diabetes_logits_False_mem_groupfaircf.txt",
"python eval_experiments.py exp-results/diabetes_logits_True_groupfaircf.npz groupfaircf mem True False > exp-eval-results/diabetes_logits_True_mem_groupfaircf.txt",
"python eval_experiments.py exp-results/german_logits_False_groupfaircf.npz groupfaircf mem False False > exp-eval-results/german_logits_False_mem_groupfaircf.txt",
"python eval_experiments.py exp-results/german_logits_True_groupfaircf.npz groupfaircf mem True False > exp-eval-results/german_logits_True_mem_groupfaircf.txt",
"python eval_experiments.py exp-results/diabetes_logits_False_accuracy.npz groupfaircf mem False False > exp-eval-results/diabetes_logits_False_mem_groupfaircf_accuracy.txt",
"python eval_experiments.py exp-results/diabetes_logits_True_accuracy.npz groupfaircf mem True False > exp-eval-results/diabetes_logits_True_mem_groupfaircf_accuracy.txt",
"python eval_experiments.py exp-results/german_logits_False_accuracy.npz groupfaircf mem False False > exp-eval-results/german_logits_False_mem_groupfaircf_accuracy.txt",
"python eval_experiments.py exp-results/german_logits_True_accuracy.npz groupfaircf mem True False > exp-eval-results/german_logits_True_mem_groupfaircf_accuracy.txt",
"python eval_experiments.py exp-results/diabetes_logits_False_groupfaircf.npz groupfaircf mem False True > exp-eval-results/diabetes_logits_False_mem_groupfaircf_random.txt",
"python eval_experiments.py exp-results/diabetes_logits_True_groupfaircf.npz groupfaircf mem True True > exp-eval-results/diabetes_logits_True_mem_groupfaircf_random.txt",
"python eval_experiments.py exp-results/german_logits_False_groupfaircf.npz groupfaircf mem False True > exp-eval-results/german_logits_False_mem_groupfaircf_random.txt",
"python eval_experiments.py exp-results/german_logits_True_groupfaircf.npz groupfaircf mem True True > exp-eval-results/german_logits_True_mem_groupfaircf_random.txt"]
os.system(jobs[job_id])