2020-10-13 11:18:07 +00:00
|
|
|
# Copyright The PyTorch Lightning team.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2020-03-19 13:14:29 +00:00
|
|
|
from pytorch_lightning.callbacks.base import Callback
|
|
|
|
from pytorch_lightning.callbacks.early_stopping import EarlyStopping
|
2021-02-04 18:36:54 +00:00
|
|
|
from pytorch_lightning.callbacks.finetuning import BackboneFinetuning, BaseFinetuning
|
2020-09-03 18:17:15 +00:00
|
|
|
from pytorch_lightning.callbacks.gpu_stats_monitor import GPUStatsMonitor
|
2020-03-19 13:14:29 +00:00
|
|
|
from pytorch_lightning.callbacks.gradient_accumulation_scheduler import GradientAccumulationScheduler
|
2021-01-13 09:42:49 +00:00
|
|
|
from pytorch_lightning.callbacks.lambda_function import LambdaCallback
|
2020-09-03 18:17:15 +00:00
|
|
|
from pytorch_lightning.callbacks.lr_monitor import LearningRateMonitor
|
2020-08-07 22:33:51 +00:00
|
|
|
from pytorch_lightning.callbacks.model_checkpoint import ModelCheckpoint
|
2020-09-03 18:17:15 +00:00
|
|
|
from pytorch_lightning.callbacks.progress import ProgressBar, ProgressBarBase
|
2021-01-27 06:00:42 +00:00
|
|
|
from pytorch_lightning.callbacks.pruning import ModelPruning
|
2021-02-11 00:05:59 +00:00
|
|
|
from pytorch_lightning.callbacks.swa import StochasticWeightAveraging
|
2019-08-05 21:57:39 +00:00
|
|
|
|
|
|
|
__all__ = [
|
2021-02-04 18:36:54 +00:00
|
|
|
'BackboneFinetuning',
|
|
|
|
'BaseFinetuning',
|
2020-02-23 02:45:34 +00:00
|
|
|
'Callback',
|
2019-08-05 21:57:39 +00:00
|
|
|
'EarlyStopping',
|
2020-09-03 18:17:15 +00:00
|
|
|
'GPUStatsMonitor',
|
2019-08-30 14:56:14 +00:00
|
|
|
'GradientAccumulationScheduler',
|
2021-01-13 09:42:49 +00:00
|
|
|
'LambdaCallback',
|
2020-09-03 18:17:15 +00:00
|
|
|
'LearningRateMonitor',
|
|
|
|
'ModelCheckpoint',
|
2021-02-11 00:05:59 +00:00
|
|
|
'ModelPruning',
|
2020-04-24 00:46:18 +00:00
|
|
|
'ProgressBar',
|
2020-09-03 18:17:15 +00:00
|
|
|
'ProgressBarBase',
|
2021-02-11 00:05:59 +00:00
|
|
|
'StochasticWeightAveraging',
|
2019-08-05 21:57:39 +00:00
|
|
|
]
|