Skip to content

Commit e304f15

Browse files
committed
add configs for aug
1 parent 69cf0a5 commit e304f15

File tree

7 files changed

+61
-31
lines changed

7 files changed

+61
-31
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,8 @@ cython_debug/
169169
electra_pretrained.ckpt
170170
.isort.cfg
171171
/.vscode
172+
173+
*.err
174+
*.out
175+
*.sh
176+
*.ckpt

configs/data/chebi50_aug_all_props.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

configs/data/chebi50_aug_props_only.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

configs/model/gat_aug_aapool.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
class_path: chebai_graph.models.GATAugNodePoolGraphPred
2+
init_args:
3+
optimizer_kwargs:
4+
lr: 1e-3
5+
config:
6+
in_channels: 203 # number of node/atom properties
7+
hidden_channels: 256
8+
out_channels: 512
9+
num_layers: 4
10+
edge_dim: 11 # number of bond properties
11+
heads: 8 # the number of heads should be divisible by output channels (hidden channels if output channel not given)
12+
v2: False # set True to use `torch_geometric.nn.conv.GATv2Conv` convolution layers, default is GATConv
13+
dropout: 0
14+
n_molecule_properties: 0
15+
n_linear_layers: 1

configs/model/gat_aug_amgpool.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
class_path: chebai_graph.models.GATGraphNodeFGNodePoolGraphPred
2+
init_args:
3+
optimizer_kwargs:
4+
lr: 1e-3
5+
config:
6+
in_channels: 203 # number of node/atom properties
7+
hidden_channels: 256
8+
out_channels: 512
9+
num_layers: 4
10+
edge_dim: 11 # number of bond properties
11+
heads: 8 # the number of heads should be divisible by output channels (hidden channels if output channel not given)
12+
v2: True # set True to use `torch_geometric.nn.conv.GATv2Conv` convolution layers, default is GATConv
13+
dropout: 0
14+
n_molecule_properties: 0
15+
n_linear_layers: 1

configs/model/res_aug_aapool.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
class_path: chebai_graph.models.ResGatedAugNodePoolGraphPred
2+
init_args:
3+
optimizer_kwargs:
4+
lr: 1e-3
5+
config:
6+
in_channels: 203 # number of node/atom properties
7+
hidden_channels: 256
8+
out_channels: 512
9+
num_layers: 4
10+
edge_dim: 11 # number of bond properties
11+
dropout: 0
12+
n_molecule_properties: 0
13+
n_linear_layers: 1

configs/model/res_aug_amgpool.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
class_path: chebai_graph.models.ResGatedGraphNodeFGNodePoolGraphPred
2+
init_args:
3+
optimizer_kwargs:
4+
lr: 1e-3
5+
config:
6+
in_channels: 203 # number of node/atom properties
7+
hidden_channels: 256
8+
out_channels: 512
9+
num_layers: 4
10+
edge_dim: 11 # number of bond properties
11+
dropout: 0
12+
n_molecule_properties: 0
13+
n_linear_layers: 1

0 commit comments

Comments
 (0)