summaryrefslogtreecommitdiff
path: root/training/conf/criterion/vqgan_loss.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'training/conf/criterion/vqgan_loss.yaml')
-rw-r--r--training/conf/criterion/vqgan_loss.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/conf/criterion/vqgan_loss.yaml b/training/conf/criterion/vqgan_loss.yaml
index a1c886e..f983f6f 100644
--- a/training/conf/criterion/vqgan_loss.yaml
+++ b/training/conf/criterion/vqgan_loss.yaml
@@ -1,6 +1,6 @@
_target_: text_recognizer.criterions.vqgan_loss.VQGANLoss
reconstruction_loss:
- _target_: torch.nn.L1Loss
+ _target_: torch.nn.MSELoss
reduction: mean
discriminator:
_target_: text_recognizer.criterions.n_layer_discriminator.NLayerDiscriminator