Skip to content

Commit

Permalink
Apply yapf
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Clement committed Jan 17, 2021
1 parent ed7c4bf commit 1bf5420
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pl_bolts/callbacks/vision/image_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,4 @@ def on_epoch_end(self, trainer: Trainer, pl_module: LightningModule) -> None:
pad_value=self.pad_value,
)
str_title = f"{pl_module.__class__.__name__}_images"
trainer.logger.experiment.add_image(
str_title, grid, global_step=trainer.global_step
)
trainer.logger.experiment.add_image(str_title, grid, global_step=trainer.global_step)

0 comments on commit 1bf5420

Please sign in to comment.