forked from CGuangyan-BIT/PointGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
post_pretrain.yaml
43 lines (40 loc) · 866 Bytes
/
post_pretrain.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
optimizer: { type: AdamW, kwargs: { lr: 0.0001, weight_decay: 0.05 } }
scheduler: { type: CosLR, kwargs: { epochs: 100, initial_epochs: 10 } }
dataset:
{
train:
{
_base_: cfgs/dataset_configs/LabeledHybrid.yaml,
others: { subset: "train" },
},
val:
{
_base_: cfgs/dataset_configs/LabeledHybrid.yaml,
others: { subset: "test" },
},
test:
{
_base_: cfgs/dataset_configs/LabeledHybrid.yaml,
others: { subset: "test" },
},
}
model:
{
NAME: PointTransformer,
trans_dim: 768,
depth: 12,
drop_path_rate: 0.2,
cls_dim: 87,
num_heads: 12,
group_size: 32,
num_group: 64,
encoder_dims: 768,
decoder_depth: 4,
loss: cdl2,
weight_center: 1,
}
npoints: 1024
total_bs: 256
step_per_update: 1
max_epoch: 100
grad_norm_clip: 10