From bec4aafe707be8e5763ad6b2194d4589f20594a9 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 27 Oct 2021 22:41:39 +0200 Subject: Rename to criterion --- training/conf/criterion/label_smoothing.yaml | 2 +- training/conf/criterion/vqgan_loss.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'training') diff --git a/training/conf/criterion/label_smoothing.yaml b/training/conf/criterion/label_smoothing.yaml index 45190e5..d7f2742 100644 --- a/training/conf/criterion/label_smoothing.yaml +++ b/training/conf/criterion/label_smoothing.yaml @@ -1,3 +1,3 @@ -_target_: text_recognizer.criterions.label_smoothing.LabelSmoothingLoss +_target_: text_recognizer.criterion.label_smoothing.LabelSmoothingLoss smoothing: 0.1 ignore_index: 1000 diff --git a/training/conf/criterion/vqgan_loss.yaml b/training/conf/criterion/vqgan_loss.yaml index 43e05cd..34a67ae 100644 --- a/training/conf/criterion/vqgan_loss.yaml +++ b/training/conf/criterion/vqgan_loss.yaml @@ -1,4 +1,4 @@ -_target_: text_recognizer.criterions.vqgan_loss.VQGANLoss +_target_: text_recognizer.criterion.vqgan_loss.VQGANLoss reconstruction_loss: _target_: torch.nn.MSELoss reduction: mean -- cgit v1.2.3-70-g09d2