diff --git a/pytorch_lightning/trainer/trainer.py b/pytorch_lightning/trainer/trainer.py index cbe9af374a120..a5beecc4b2b9f 100644 --- a/pytorch_lightning/trainer/trainer.py +++ b/pytorch_lightning/trainer/trainer.py @@ -432,6 +432,9 @@ def run_pretrain_routine(self, model): # when testing requested only run test and return if self.testing: + if self.show_progress_bar: + self.progress_bar.reset(self.nb_test_batches) + self.run_evaluation(test=True) return