-
Notifications
You must be signed in to change notification settings - Fork 5
/
pretrain_scannet_enc3x.yaml
59 lines (55 loc) · 1.23 KB
/
pretrain_scannet_enc3x.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
59
optimizer : {
type: AdamW,
kwargs: {
lr : 0.0005,
weight_decay : 0.05
}}
scheduler: {
type: CosLR,
kwargs: {
epochs: 300,
initial_epochs : 3
}}
dataset : {
train : { _base_: cfgs/dataset_configs/ScanNet_medium.yaml,
others: {subset: 'train', npoints: 20000, whole: True}},
val : { _base_: cfgs/dataset_configs/ModelNet40.yaml,
others: {subset: 'test'}},
extra_train : { _base_: cfgs/dataset_configs/ModelNet40.yaml,
others: {subset: 'train'}}}
model : {
NAME: MaskPoint,
m: 0.999,
T: 0.07,
K: 16384,
pos_embed_hidden_dim: 128,
transformer_config: {
enc_arch: 3detr,
mask_ratio: 0.75,
trans_dim: 256,
depth: 3,
dec_depth: 1,
use_sigmoid: true,
use_moco_loss: false,
query_loss_weight: 1.0,
moco_loss_weight: 0.01,
use_focal_loss: true,
focal_loss_alpha: 0.25,
focal_loss_gamma: 2,
ambiguous_threshold: -1,
ambiguous_dynamic_threshold: 256,
dec_query_mode: points,
dec_query_real_num: 256,
dec_query_fake_num: 256,
drop_path_rate: 0.1,
cls_dim: 512,
num_heads: 4,
group_size: 64,
num_group: 2048,
encoder_dims: 256,
}
}
total_bs : 16
step_per_update : 1
grad_norm_clip : 10
max_epoch : 300