From 7e8e54e84c63171e748bbf09516fd517e6821ace Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 20 Mar 2021 18:09:06 +0100 Subject: Inital commit for refactoring to lightning --- training/trainer/callbacks/__init__.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 training/trainer/callbacks/__init__.py (limited to 'training/trainer/callbacks/__init__.py') diff --git a/training/trainer/callbacks/__init__.py b/training/trainer/callbacks/__init__.py new file mode 100644 index 0000000..80c4177 --- /dev/null +++ b/training/trainer/callbacks/__init__.py @@ -0,0 +1,29 @@ +"""The callback modules used in the training script.""" +from .base import Callback, CallbackList +from .checkpoint import Checkpoint +from .early_stopping import EarlyStopping +from .lr_schedulers import ( + LRScheduler, + SWA, +) +from .progress_bar import ProgressBar +from .wandb_callbacks import ( + WandbCallback, + WandbImageLogger, + WandbReconstructionLogger, + WandbSegmentationLogger, +) + +__all__ = [ + "Callback", + "CallbackList", + "Checkpoint", + "EarlyStopping", + "LRScheduler", + "WandbCallback", + "WandbImageLogger", + "WandbReconstructionLogger", + "WandbSegmentationLogger", + "ProgressBar", + "SWA", +] -- cgit v1.2.3-70-g09d2