forked from rampasek/GraphGPS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added GELU * added activation function configurability and attention-weight logging * PCQM4Mv2 inference data loader for `dev` and `challenge` splits; + PNA fix * activation function configurability * run modes to run: PCQM4M offical inference; attention-weight logging * PCQM4Mv2 GPS 16layer deep architecture and corresponding inference config * updated run cmds script * PCQM4Mv2 configs * updated README with PCQM4M instructions
- Loading branch information
Showing
17 changed files
with
418 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
out_dir: results | ||
metric_best: mae | ||
metric_agg: argmin | ||
wandb: | ||
use: True | ||
project: pcqm4m | ||
dataset: | ||
format: OGB | ||
name: PCQM4Mv2-full | ||
task: graph | ||
task_type: regression | ||
transductive: False | ||
node_encoder: True | ||
node_encoder_name: Atom+RWSE | ||
node_encoder_bn: False | ||
edge_encoder: True | ||
edge_encoder_name: Bond | ||
edge_encoder_bn: False | ||
posenc_RWSE: | ||
enable: True | ||
kernel: | ||
times_func: range(1,17) | ||
model: Linear | ||
dim_pe: 20 | ||
raw_norm_type: BatchNorm | ||
train: | ||
mode: custom | ||
batch_size: 256 | ||
eval_period: 1 | ||
ckpt_best: True | ||
# ckpt_period: 100 | ||
model: | ||
type: GPSModel | ||
loss_fun: l1 | ||
graph_pooling: mean | ||
gt: | ||
layer_type: CustomGatedGCN+Transformer | ||
layers: 16 | ||
n_heads: 8 | ||
dim_hidden: 256 # `gt.dim_hidden` must match `gnn.dim_inner` | ||
dropout: 0.1 | ||
attn_dropout: 0.1 | ||
layer_norm: False | ||
batch_norm: True | ||
gnn: | ||
head: san_graph | ||
layers_pre_mp: 0 | ||
layers_post_mp: 3 # Not used when `gnn.head: san_graph` | ||
dim_inner: 256 # `gt.dim_hidden` must match `gnn.dim_inner` | ||
batchnorm: True | ||
act: gelu | ||
dropout: 0.0 | ||
optim: | ||
clip_grad_norm: True | ||
optimizer: adamW | ||
weight_decay: 0.0 | ||
base_lr: 0.0002 | ||
max_epoch: 150 | ||
scheduler: linear_with_warmup | ||
num_warmup_epochs: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.