Skip to content

Commit

Permalink
remove unnecessary comments :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninginthecloud committed Aug 12, 2021
1 parent 1e694fc commit a8e1fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/callbacks/progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def disable(self):
self.enable = False
def on_train_batch_end(self, trainer, pl_module, outputs, batch, batch_idx, dataloader_idx):
super().on_train_batch_end(trainer, pl_module, outputs, batch, batch_idx, dataloader_idx) # important :-)
super().on_train_batch_end(trainer, pl_module, outputs, batch, batch_idx, dataloader_idx) # important
percent = (self.train_batch_idx / self.total_train_batches) * 100
sys.stdout.flush()
sys.stdout.write(f'{percent:.01f} percent complete \r')
Expand Down

0 comments on commit a8e1fe6

Please sign in to comment.