diff --git a/pytorch_lightning/models/trainer.py b/pytorch_lightning/models/trainer.py index 2a23cf62..2b1114a6 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -86,7 +86,7 @@ class Trainer(TrainerIO): self.test_percent_check = overfit_pct def __is_function_implemented(self, f_name): - f_op = getattr(self, f_name, None) + f_op = getattr(self.model, f_name, None) return callable(f_op) @property