-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from pyt-team/dev
Numpy style docstrings
- Loading branch information
Showing
96 changed files
with
2,147 additions
and
948 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# this file is needed here to include configs when building project as a package | ||
"""This file is needed here to include configs when building project as a package.""" |
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,57 @@ | ||
# @package _global_ | ||
|
||
# specify here default configuration | ||
# order of defaults determines the order in which configs override each other | ||
defaults: | ||
- _self_ | ||
- dataset: graph/ZINC | ||
- model: simplicial/sccn | ||
- transforms: no_transform | ||
- optimizer: adam | ||
- scheduler: step_lr | ||
- loss: default | ||
- evaluator: default | ||
- callbacks: default | ||
- logger: wandb # set logger here or use command line (e.g. `python train.py logger=tensorboard`) | ||
- trainer: cpu | ||
- paths: default | ||
- extras: default | ||
- hydra: default | ||
|
||
# experiment configs allow for version control of specific hyperparameters | ||
# e.g. best hyperparameters for given model and datamodule | ||
- experiment: null | ||
|
||
# config for hyperparameter optimization | ||
- hparams_search: null | ||
|
||
# optional local config for machine/user specific settings | ||
# it's optional since it doesn't need to exist and is excluded from version control | ||
- optional local: default | ||
|
||
# debugging config (enable through command line, e.g. `python train.py debug=default) | ||
- debug: null | ||
|
||
# evaluator: ${dataset.parameters.task} | ||
# callbacks: ${dataset.parameters.task} | ||
|
||
# task name, determines output directory path | ||
task_name: "train" | ||
|
||
# tags to help you identify your experiments | ||
# you can overwrite this in experiment configs | ||
# overwrite from command line with `python train.py tags="[first_tag, second_tag]"` | ||
tags: ["dev"] | ||
|
||
# set False to skip model training | ||
train: True | ||
|
||
# evaluate on test set, using best model weights achieved during training | ||
# lightning chooses best weights based on the metric specified in checkpoint callback | ||
test: True | ||
|
||
# simply provide checkpoint path to resume training | ||
ckpt_path: null | ||
|
||
# seed for random number generators in pytorch, numpy and python.random | ||
seed: 42 |
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 @@ | ||
"""Empty file to make the notebooks folder a package.""" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
"""TopoBenchmarkX.__main__ module.""" | ||
|
||
from .run import main | ||
|
||
if __name__ == "__main__": | ||
|
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.