f4cc7451a94010a572480c43ad5f0af7ad52cd21,pytorch_lightning/callbacks/progress.py,ProgressBar,on_validation_end,#ProgressBar#Any#Any#,427
Before Change
def on_validation_end(self, trainer, pl_module):
super().on_validation_end(trainer, pl_module)
self.main_progress_bar.set_postfix(trainer.progress_bar_dict)
self.val_progress_bar.close()
def on_train_end(self, trainer, pl_module):
super().on_train_end(trainer, pl_module)
After Change
def on_validation_end(self, trainer, pl_module):
super().on_validation_end(trainer, pl_module)
if self.main_progress_bar is not None:
self.main_progress_bar.set_postfix(trainer.progress_bar_dict)
self.val_progress_bar.close()
def on_train_end(self, trainer, pl_module):
super().on_train_end(trainer, pl_module)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: williamFalcon/pytorch-lightning
Commit Name: f4cc7451a94010a572480c43ad5f0af7ad52cd21
Time: 2021-03-10
Author: eliacereda@gmail.com
File Name: pytorch_lightning/callbacks/progress.py
Class Name: ProgressBar
Method Name: on_validation_end
Project Name: ncullen93/torchsample
Commit Name: 0c6493a064b94e92ed430001fc7d72100ad53801
Time: 2017-04-20
Author: ncullen@Nicks-MacBook-Pro.local
File Name: torchsample/callbacks.py
Class Name: TQDM
Method Name: on_epoch_end
Project Name: pyannote/pyannote-audio
Commit Name: a6cd8771f4ea35240253da9d306296900fc07a2d
Time: 2019-11-22
Author: bredin@limsi.fr
File Name: pyannote/audio/train/logging.py
Class Name: Logging
Method Name: on_batch_end