-
Notifications
You must be signed in to change notification settings - Fork 103
/
default.yaml
64 lines (55 loc) · 1.48 KB
/
default.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
60
61
62
63
64
# ---------------------------------------------------------------------------- #
# Dataset cfgs
# ---------------------------------------------------------------------------- #
dataset:
common:
NAME: ScanObjectNNHardest
data_dir: './data/ScanObjectNN/h5_files/main_split'
train:
split: train
val:
split: val
num_points: 1024
num_points: 1024 # the number of points passed into model
num_classes: &nclass
15
datatransforms:
train: [PointsToTensor, PointCloudScaling, PointCloudCenterAndNormalize, PointCloudRotation]
vote: [PointCloudRotation]
val: [PointsToTensor, PointCloudCenterAndNormalize]
kwargs:
scale: [0.9, 1.1]
angle: [0.0, 1.0, 0.0]
gravity_dim: 1
batch_size: 32
val_batch_size: 64
dataloader:
num_workers: 6
# ---------------------------------------------------------------------------- #
# Training cfgs
# ---------------------------------------------------------------------------- #
# scheduler
criterion:
NAME: SmoothCrossEntropy
label_smoothing: 0.3
# Optimizer
lr: 0.002
optimizer:
NAME: 'adamw'
weight_decay: 0.05
sched: cosine
epochs: 250
warmup_epochs: 0
min_lr: 1.0e-4
t_max: 200
grad_norm_clip: 10
# ---------------------------------------------------------------------------- #
# io and misc
# ---------------------------------------------------------------------------- #
log_dir: 'scanobjectnn'
print_freq: 10
val_freq: 1
# ----------------- Model related
pretrained_path: null
wandb:
project: PointNeXt-ScanObjectNN