3da28fd634882d8fc11c5792afd635e3d0c9af2f,pytorch_lightning/trainer/trainer.py,Trainer,train,#Trainer#,503

Before Change


        self.run_sanity_check(self.get_model())

        // set stage for logging
        self.logger_connector.set_stage("train")

        self.checkpoint_connector.has_trained = False

        // enable train mode

After Change


        self.run_sanity_check(self.get_model())

        // set stage for logging
        self._set_wide_running_stage(RunningStage.TRAINING)

        self.checkpoint_connector.has_trained = False

        // enable train mode
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: williamFalcon/pytorch-lightning
Commit Name: 3da28fd634882d8fc11c5792afd635e3d0c9af2f
Time: 2021-01-27
Author: thomas@grid.ai
File Name: pytorch_lightning/trainer/trainer.py
Class Name: Trainer
Method Name: train


Project Name: williamFalcon/pytorch-lightning
Commit Name: 3da28fd634882d8fc11c5792afd635e3d0c9af2f
Time: 2021-01-27
Author: thomas@grid.ai
File Name: pytorch_lightning/trainer/trainer.py
Class Name: Trainer
Method Name: test


Project Name: williamFalcon/pytorch-lightning
Commit Name: 3da28fd634882d8fc11c5792afd635e3d0c9af2f
Time: 2021-01-27
Author: thomas@grid.ai
File Name: pytorch_lightning/trainer/trainer.py
Class Name: Trainer
Method Name: run_evaluation