diff options
Diffstat (limited to 'text_recognizer/models')
-rw-r--r-- | text_recognizer/models/vqvae.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/text_recognizer/models/vqvae.py b/text_recognizer/models/vqvae.py index 078235e..9857420 100644 --- a/text_recognizer/models/vqvae.py +++ b/text_recognizer/models/vqvae.py @@ -35,12 +35,7 @@ class LitVQVAEModel(LitBaseModel): """Logs prediction on image with wandb.""" try: self.logger.experiment.log( - { - title: [ - wandb.Image(data[0]), - wandb.Image(reconstructions[0]), - ] - } + {title: [wandb.Image(data[0]), wandb.Image(reconstructions[0]),]} ) except AttributeError: pass |