summaryrefslogtreecommitdiff
path: root/training
diff options
context:
space:
mode:
Diffstat (limited to 'training')
-rw-r--r--training/conf/criterion/label_smoothing.yaml2
-rw-r--r--training/conf/criterion/vqgan_loss.yaml2
2 files changed, 2 insertions, 2 deletions
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