diff --git a/pytorch_lightning/callbacks/base.py b/pytorch_lightning/callbacks/base.py index b804241aa1..f241318fbf 100644 --- a/pytorch_lightning/callbacks/base.py +++ b/pytorch_lightning/callbacks/base.py @@ -47,11 +47,11 @@ class Callback(abc.ABC): pass def on_train_batch_start(self, trainer, pl_module, batch, batch_idx, dataloader_idx): - """Called when the validation batch begins.""" + """Called when the train batch begins.""" pass def on_train_batch_end(self, trainer, pl_module, batch, batch_idx, dataloader_idx): - """Called when the validation batch ends.""" + """Called when the train batch ends.""" pass def on_train_epoch_start(self, trainer, pl_module): diff --git a/pytorch_lightning/metrics/regression.py b/pytorch_lightning/metrics/regression.py index a2cbaaf4f8..1edb388fe2 100644 --- a/pytorch_lightning/metrics/regression.py +++ b/pytorch_lightning/metrics/regression.py @@ -101,7 +101,7 @@ class RMSE(Metric): class MAE(Metric): """ - Computes the root mean absolute loss or L1-loss. + Computes the mean absolute loss or L1-loss. Example: