Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippThoelke committed May 10, 2021
1 parent 8044dca commit 06fecc1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 0 additions & 2 deletions examples/graph-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ activation: silu
batch_size: 128
cutoff_lower: 0.0
cutoff_upper: 5.0
dataset: QM9
dataset_arg: energy_U0
distributed_backend: ddp
early_stopping_patience: 100
embedding_dimension: 256
Expand Down
2 changes: 1 addition & 1 deletion examples/train_GN_ANI1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ dev=1 # list CUDA devices to use
logdir="logs" # log dir for storing checkpoints and metrics

mkdir -p $logdir
CUDA_VISIBLE_DEVICES=$dev python scripts/train.py --conf examples/graph-network.yaml --dataset ANI1 --dataset-root ~/data/ani1 --log-dir $logdir --redirect $logdir/log &
CUDA_VISIBLE_DEVICES=$dev python scripts/train.py --conf examples/graph-network.yaml --dataset ANI1 --dataset-root ~/data/ani1 --log-dir $logdir --redirect true &
echo "Starting training... (saving logs at $logdir/log)"
8 changes: 8 additions & 0 deletions examples/train_GN_MD17.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

dev=1 # list CUDA devices to use
logdir="logs" # log dir for storing checkpoints and metrics

mkdir -p $logdir
CUDA_VISIBLE_DEVICES=$dev python scripts/train.py --conf examples/graph-network.yaml --dataset QM9 --dataset-root ~/data/qm9 --dataset-arg energy_U0 --log-dir $logdir --redirect true &
echo "Starting training... (saving logs at $logdir/log)"
2 changes: 1 addition & 1 deletion examples/train_GN_QM9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ dev=1 # list CUDA devices to use
logdir="logs" # log dir for storing checkpoints and metrics

mkdir -p $logdir
CUDA_VISIBLE_DEVICES=$dev python scripts/train.py --conf examples/graph-network.yaml --dataset QM9 --dataset-root ~/data/qm9 --log-dir $logdir --redirect $logdir/log &
CUDA_VISIBLE_DEVICES=$dev python scripts/train.py --conf examples/graph-network.yaml --dataset MD17 --dataset-root ~/data/md17 --dataset-arg aspirin --log-dir $logdir --redirect true &
echo "Starting training... (saving logs at $logdir/log)"

0 comments on commit 06fecc1

Please sign in to comment.