forked from Gorilla-Lab-SCUT/AffordanceNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestimation_cfg.py
53 lines (48 loc) · 979 Bytes
/
estimation_cfg.py
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
import os
from os.path import join as opj
exp_name = "DGCNN_ESTIMATION_Release"
work_dir = opj("./log/dgcnn", exp_name)
seed = 1
try:
os.makedirs(work_dir)
except:
print('Working Dir is already existed!')
scheduler = dict(
type='cos',
T_max=200,
eta_min=1e-3
)
optimizer = dict(
type='sgd',
lr=0.1,
momentum=0.9,
weight_decay=1e-4
)
model = dict(
type='dgcnn',
k=40,
emb_dims=1024
)
training_cfg = dict(
model=model,
estimate=True,
partial=False,
rotate='None', # z,so3
semi=False,
rotate_type=None,
batch_size=16,
epoch=200,
seed=1,
dropout=0.5,
gpu='4,5',
workflow=dict(
train=1,
val=1
)
)
data = dict(
data_root='data_root',
category=['grasp', 'contain', 'lift', 'openable', 'layable', 'sittable',
'support', 'wrap_grasp', 'pourable', 'move', 'displaY', 'pushable', 'pull',
'listen', 'wear', 'press', 'cut', 'stab']
)