forked from CGuangyan-BIT/PointGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fewshot.yaml
41 lines (38 loc) · 832 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
41
optimizer: { type: AdamW, kwargs: { lr: 0.0005, weight_decay: 0.05 } }
scheduler: { type: CosLR, kwargs: { epochs: 300, initial_epochs: 30 } }
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: 768,
depth: 12,
drop_path_rate: 0.1,
cls_dim: 40,
num_heads: 12,
group_size: 32,
num_group: 64,
encoder_dims: 768,
decoder_depth: 4,
}
npoints: 1024
total_bs: 32
step_per_update: 1
max_epoch: 300
grad_norm_clip: 10