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
|
2021-04-27 20:23:55 +00:00
|
|
|
from pytorch_lightning.callbacks.prediction_writer import BasePredictionWriter
|
2021-08-24 02:40:36 +00:00
|
|
|
from pytorch_lightning.callbacks.progress import ProgressBar, ProgressBarBase, RichProgressBar
|
2021-01-27 06:00:42 +00:00
|
|
|
from pytorch_lightning.callbacks.pruning import ModelPruning
|
2021-02-11 12:04:57 +00:00
|
|
|
from pytorch_lightning.callbacks.quantization import QuantizationAwareTraining
|
2021-03-01 18:10:27 +00:00
|
|
|
from pytorch_lightning.callbacks.stochastic_weight_avg import StochasticWeightAveraging
|
2021-04-16 11:38:57 +00:00
|
|
|
from pytorch_lightning.callbacks.timer import Timer
|
2021-07-05 11:39:46 +00:00
|
|
|
from pytorch_lightning.callbacks.xla_stats_monitor import XLAStatsMonitor
|
2019-08-05 21:57:39 +00:00
|
|
|
|
|
|
|
__all__ = [
|
2021-07-26 11:37:35 +00:00
|
|
|
"BackboneFinetuning",
|
|
|
|
"BaseFinetuning",
|
|
|
|
"Callback",
|
|
|
|
"EarlyStopping",
|
|
|
|
"GPUStatsMonitor",
|
|
|
|
"XLAStatsMonitor",
|
|
|
|
"GradientAccumulationScheduler",
|
|
|
|
"LambdaCallback",
|
|
|
|
"LearningRateMonitor",
|
|
|
|
"ModelCheckpoint",
|
|
|
|
"ModelPruning",
|
|
|
|
"BasePredictionWriter",
|
|
|
|
"ProgressBar",
|
|
|
|
"ProgressBarBase",
|
|
|
|
"QuantizationAwareTraining",
|
|
|
|
"StochasticWeightAveraging",
|
|
|
|
"Timer",
|
2021-08-24 02:40:36 +00:00
|
|
|
"RichProgressBar",
|
2019-08-05 21:57:39 +00:00
|
|
|
]
|