-
Notifications
You must be signed in to change notification settings - Fork 11
/
fewshot.yaml
40 lines (36 loc) · 758 Bytes
/
fewshot.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
optimizer : {
type: AdamW,
kwargs: {
lr : 5e-4,
weight_decay : 0.05
}}
scheduler: {
type: CosLR,
kwargs: {
epochs: 150,
initial_epochs : 10
}}
dataset : {
train : { _base_: cfgs/dataset_configs/ModelNet40FewShot.yaml,
others: {subset: 'train'}},
val : { _base_: cfgs/dataset_configs/ModelNet40FewShot.yaml,
others: {subset: 'test'}},
test : { _base_: cfgs/dataset_configs/ModelNet40.yaml,
others: {subset: 'test'}}}
model : {
NAME: PointTransformer,
trans_dim: 384,
depth: 12,
drop_path_rate: 0.1,
cls_dim: 40,
num_heads: 6,
group_size: 32,
num_group: 64,
encoder_dims: 384,
type: full
}
npoints: 1024
total_bs : 32
step_per_update : 1
max_epoch : 150
grad_norm_clip : 10