-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* implement model steps and configure_optimizer * fix imports * dummy pr: logger pl callback (#3) implement logger pl callback * update logger * add test * fix test * fix * fixes * add test * update test * test configure optimizer * test configure optimizer * commit suggested change Co-authored-by: Jirka Borovec <[email protected]> * remove redundant parameters * add typing * apply pr suggestions * apply suggestions * apply suggestions * apply suggestions * test logger * remove graphgym from minimal installation * fix * fix minimal test * changelog * update * update * update * lint Co-authored-by: Jirka Borovec <[email protected]> Co-authored-by: Matthias Fey <[email protected]>
- Loading branch information
1 parent
6fd6f5b
commit c55729b
Showing
5 changed files
with
262 additions
and
9 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,11 @@ | ||
from torch_geometric.graphgym.logger import Logger, LoggerCallback | ||
from torch_geometric.testing import withPackage | ||
|
||
|
||
@withPackage('yacs') | ||
@withPackage('pytorch_lightning') | ||
def test_logger_callback(): | ||
logger = LoggerCallback() | ||
assert isinstance(logger.train_logger, Logger) | ||
assert isinstance(logger.val_logger, Logger) | ||
assert isinstance(logger.test_logger, Logger) |
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