-
Notifications
You must be signed in to change notification settings - Fork 3
/
er-GIN+GPSE.yaml
75 lines (75 loc) · 1.38 KB
/
er-GIN+GPSE.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
65
66
67
68
69
70
71
72
73
74
75
---
out_dir: results
metric_best: auc
wandb:
use: false
project: GPSE-MolNetSmall
dataset:
format: er
task: graph
task_type: classification
transductive: false
node_encoder: true
node_encoder_name: GPSE
node_encoder_bn: false
split_mode: random
er:
num_samples: 1000
n_min: 1000
n_max: 1000
p: 0.1
posenc_GPSE:
enable: true
rand_type: NormalSE
model_dir: pretrained_models/gpse_molpcba.pt
dim_pe: 64
use_repr: true
repr_type: no_post_mp
model: Linear
virtual_node: true
input_dropout_be: 0.3
input_dropout_ae: 0.1
raw_norm_type: BatchNorm
gnn_cfg:
head: inductive_hybrid_multi
layers_pre_mp: 1
layers_mp: 20
layers_post_mp: 2
dim_inner: 512
layer_type: resgatedgcnconv
multi_head_dim_inner: 32 # use dim_inner if None
stage_type: skipsum
batchnorm: true
act: relu
dropout: 0.2
agg: mean
normalize_adj: false
train:
mode: custom
batch_size: 32
eval_period: 1
ckpt_period: 100
model:
type: gnn
loss_fun: cross_entropy
edge_decoding: dot
graph_pooling: mean
gnn:
layers_pre_mp: 0
layers_mp: 5
layers_post_mp: 1
dim_inner: 300
layer_type: gine2conv
stage_type: skipsum
batchnorm: true
act: relu
dropout: 0.3
agg: mean
normalize_adj: false
optim:
base_lr: 0.003
max_epoch: 100
optimizer: adamW
weight_decay: 1e-5
scheduler: cosine_with_warmup
num_warmup_epochs: 5