-
Notifications
You must be signed in to change notification settings - Fork 17
/
cifar_dytox.yaml
58 lines (46 loc) · 873 Bytes
/
cifar_dytox.yaml
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
55
56
57
58
#######################
# DyTox, for CIFAR100 #
#######################
# Model definition
model: convit
embed_dim: 384
depth: 6
num_heads: 12
patch_size: 4
input_size: 32
local_up_to_layer: 5
class_attention: true
# Training setting
no_amp: true
eval_every: 50
# Base hyperparameter
weight_decay: 0.000001
batch_size: 128
incremental_batch_size: 128
incremental_lr: 0.0005
rehearsal: icarl_all
# Knowledge Distillation
auto_kd: true
# Finetuning
finetuning: balanced
finetuning_epochs: 20
ft_no_sampling: true
# Dytox model
dytox: true
freeze_task: [old_task_tokens, old_heads]
freeze_ft: [sab]
# Divergence head to get diversity
head_div: 0.1
head_div_mode: tr
# Independent Classifiers
ind_clf: 1-1
bce_loss: true
# Advanced Augmentations, here disabled
## Erasing
reprob: 0.0
remode: pixel
recount: 1
resplit: false
## MixUp & CutMix
mixup: 0.0
cutmix: 0.0