-
Notifications
You must be signed in to change notification settings - Fork 2
/
run_experiment_classification_cifar10.sh
executable file
·36 lines (31 loc) · 1.6 KB
/
run_experiment_classification_cifar10.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
#!/usr/bin/env bash
LOG_DIR=logs/exp_classification_hierarchical_cifar10_bandit/
mkdir -p $LOG_DIR
for i in {1..10}; do
python run.py --environment classification --scenario hierarchical --agent bandit --iterations 10000 --log_interval 100 --log_dir $LOG_DIR --seed $i --dataset cifar10
done
LOG_DIR=logs/exp_classification_hierarchical_cifar10_random/
mkdir -p $LOG_DIR
for i in {1..10}; do
python run.py --environment classification --scenario hierarchical --agent random --iterations 10000 --log_interval 100 --log_dir $LOG_DIR --seed $i --dataset cifar10
done
LOG_DIR=logs/exp_classification_rotation_cifar10_bandit/
mkdir -p $LOG_DIR
for i in {1..10}; do
python run.py --environment classification --scenario rotation --agent bandit --iterations 10000 --log_interval 100 --log_dir $LOG_DIR --seed $i --dataset cifar10
done
LOG_DIR=logs/exp_classification_rotation_cifar10_random/
mkdir -p $LOG_DIR
for i in {1..10}; do
python run.py --environment classification --scenario rotation --agent random --iterations 10000 --log_interval 100 --log_dir $LOG_DIR --seed $i --dataset cifar10
done
LOG_DIR=logs/exp_classification_shear_cifar10_bandit/
mkdir -p $LOG_DIR
for i in {1..10}; do
python run.py --environment classification --scenario shear --agent bandit --iterations 10000 --log_interval 100 --log_dir $LOG_DIR --seed $i --dataset cifar10
done
LOG_DIR=logs/exp_classification_shear_cifar10_random/
mkdir -p $LOG_DIR
for i in {1..10}; do
python run.py --environment classification --scenario shear --agent random --iterations 10000 --log_interval 100 --log_dir $LOG_DIR --seed $i --dataset cifar10
done