Skip to content

Commit ae297d9

Browse files
committed
Model configs updated for new DVS experiments
1 parent 60ee4d2 commit ae297d9

File tree

3 files changed

+34
-10
lines changed

3 files changed

+34
-10
lines changed

configs/model/dvs/medium.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# @package _global_
2+
3+
model:
4+
ssm_init:
5+
C_init: lecun_normal
6+
dt_min: 0.001
7+
dt_max: 0.1
8+
conj_sym: true
9+
clip_eigs: true
10+
ssm:
11+
discretization: async
12+
d_model: 128
13+
d_ssm: 64
14+
ssm_block_size: 16
15+
num_stages: 2
16+
num_layers_per_stage: 3
17+
dropout: 0.25
18+
classification_mode: pool
19+
prenorm: true
20+
batchnorm: false
21+
bn_momentum: 0.95
22+
pooling_stride: 16
23+
pooling_mode: avgpool
24+
state_expansion_factor: 2

configs/model/dvs/small.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ model:
55
C_init: lecun_normal
66
dt_min: 0.001
77
dt_max: 0.1
8-
conj_sym: false
8+
conj_sym: true
99
clip_eigs: true
1010
ssm:
1111
discretization: async
12-
d_model: 128
12+
d_model: 32
1313
d_ssm: 128
1414
ssm_block_size: 16
1515
num_stages: 2
1616
num_layers_per_stage: 3
1717
dropout: 0.25
18-
classification_mode: timepool
18+
classification_mode: pool
1919
prenorm: true
2020
batchnorm: false
2121
bn_momentum: 0.95
2222
pooling_stride: 16
23-
pooling_mode: timepool
23+
pooling_mode: avgpool
2424
state_expansion_factor: 2

configs/task/dvs-gesture.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# @package _global_
22
defaults:
3-
- /model: dvs/small
3+
- /model: dvs/medium
44

55
task:
66
name: dvs-gesture-classification
77

88
training:
9-
num_epochs: 100
10-
per_device_batch_size: 16
9+
num_epochs: 200
10+
per_device_batch_size: 32
1111
per_device_eval_batch_size: 4
12-
num_workers: 4
12+
num_workers: 6
1313
time_jitter: 5
1414
spatial_jitter: 0.3
1515
noise: 0.0
@@ -20,7 +20,7 @@ training:
2020
max_scale: 1.2
2121
max_drop_chunk: 0.02
2222
cut_mix: 0.4
23-
pad_unit: 524288
23+
pad_unit: 65536
2424
slice_events: 65536
2525
validate_on_test: true
2626

@@ -31,4 +31,4 @@ optimizer:
3131
ssm_weight_decay: 0.0
3232
weight_decay: 0.02
3333
schedule: cosine
34-
accumulation_steps: 4
34+
accumulation_steps: 1

0 commit comments

Comments
 (0)