diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-10-27 22:41:39 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-10-27 22:41:39 +0200 |
commit | bec4aafe707be8e5763ad6b2194d4589f20594a9 (patch) | |
tree | 506517ca6a17241a305114e787d1b899a48a3d86 /training/conf/criterion | |
parent | 9a8044f4a3826a119416665741b709cd686fca87 (diff) |
Rename to criterion
Diffstat (limited to 'training/conf/criterion')
-rw-r--r-- | training/conf/criterion/label_smoothing.yaml | 2 | ||||
-rw-r--r-- | training/conf/criterion/vqgan_loss.yaml | 2 |
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 |