forked from dmlc/dgl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
56 lines (47 loc) · 1008 Bytes
/
conf.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
54
55
56
import torch as th
import torch.nn.functional as F
GCN_CONFIG = {
"extra_args": [16, 1, F.relu, 0.5],
"lr": 1e-2,
"weight_decay": 5e-4,
}
GAT_CONFIG = {
"extra_args": [8, 1, [8] * 1 + [1], F.elu, 0.6, 0.6, 0.2, False],
"lr": 0.005,
"weight_decay": 5e-4,
}
GRAPHSAGE_CONFIG = {
"extra_args": [16, 1, F.relu, 0.5, "gcn"],
"lr": 1e-2,
"weight_decay": 5e-4,
}
APPNP_CONFIG = {
"extra_args": [64, 1, F.relu, 0.5, 0.5, 0.1, 10],
"lr": 1e-2,
"weight_decay": 5e-4,
}
TAGCN_CONFIG = {
"extra_args": [16, 1, F.relu, 0.5],
"lr": 1e-2,
"weight_decay": 5e-4,
}
AGNN_CONFIG = {
"extra_args": [32, 2, 1.0, True, 0.5],
"lr": 1e-2,
"weight_decay": 5e-4,
}
SGC_CONFIG = {
"extra_args": [None, 2, False],
"lr": 0.2,
"weight_decay": 5e-6,
}
GIN_CONFIG = {
"extra_args": [16, 1, 0, True],
"lr": 1e-2,
"weight_decay": 5e-6,
}
CHEBNET_CONFIG = {
"extra_args": [32, 1, 2, True],
"lr": 1e-2,
"weight_decay": 5e-4,
}