vgg2-short.sh 2.36 KB
Newer Older
Tiago de Freitas Pereira's avatar
Update  
Tiago de Freitas Pereira committed
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
BASE_PATH=/idiap/temp/tpereira/2.FRDemographics/regularization/models/contrastive/vgg2-short/

#COMMAND=./bob/bio/demographics/script/train_regularization_level_fairness_commands.py


BACKBONE=iresnet34

#jman submit --name O.IRESNET34 -q gpu --sge-extra-args="-l hostname=vgni001|vgni00[1-9]|vgni01[0-9]|vgni02[0-9]|vgni03[0-2]" -- 


./bin/bob bio demographics train-regularization-level-fairness train-contrastive \
  $BASE_PATH/$BACKBONE \
 --database ./bob/bio/demographics/config/train/databases/vgg2/vgg2-short.py \
 --identity-backbone ./bob/bio/demographics/config/train/backbones/$BACKBONE.py \
 --training-config ./bob/bio/demographics/config/train/training_configs/regular_sgd_crossentropy.py \
 --max-epochs 30 --batch-size 64 \
 --max-positive-pairs-per-subject 2 --negative-pairs-per-subject 2



#BACKBONE=iresnet50

#jman submit --name O.IRESNET50 -q gpu --sge-extra-args="-l hostname=vgni001|vgni00[1-9]|vgni01[0-9]|vgni02[0-9]|vgni03[0-2]" -- ./bin/bob bio demographics train-regularization-level-fairness train-contrastive \
#  $BASE_PATH/$BACKBONE \
# --database ./bob/bio/demographics/config/train/databases/vgg2/vgg2-full.py \
# --identity-backbone ./bob/bio/demographics/config/train/backbones/$BACKBONE.py \
# --demographic-backbone ./bob/bio/demographics/config/train/backbones/iresnet34.py \
# --head ./bob/bio/demographics/config/train/heads/arcface.py \
# --training-config ./bob/bio/demographics/config/train/training_configs/regular_sgd_crossentropy.py \
# --identity-factor 1 \
# --orthogonality-factor 1 \
# --demographic-epochs 20 \
# --identity-epochs 3 \
# --max-epochs 30
 
 
#BACKBONE=iresnet100

#jman submit --name O.IRESNET100 -q gpu --sge-extra-args="-l hostname=vgni001|vgni00[1-9]|vgni01[0-9]|vgni02[0-9]|vgni03[0-2]" -- ./bin/bob bio demographics train-regularization-level-fairness train-contrastive \
#  $BASE_PATH/$BACKBONE \
# --database ./bob/bio/demographics/config/train/databases/vgg2/vgg2-full.py \
# --identity-backbone ./bob/bio/demographics/config/train/backbones/$BACKBONE.py \
# --demographic-backbone ./bob/bio/demographics/config/train/backbones/iresnet34.py \
# --head ./bob/bio/demographics/config/train/heads/arcface.py \
# --training-config ./bob/bio/demographics/config/train/training_configs/regular_sgd_crossentropy.py \
# --identity-factor 1 \
# --orthogonality-factor 1 \
# --demographic-epochs 20 \
# --identity-epochs 3 \
 #--max-epochs 30