blob: 43e05cd05ad4c2396b033c85c2642d0d7d166591 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
_target_: text_recognizer.criterions.vqgan_loss.VQGANLoss
reconstruction_loss:
_target_: torch.nn.MSELoss
reduction: mean
discriminator:
_target_: text_recognizer.criterions.n_layer_discriminator.NLayerDiscriminator
in_channels: 1
num_channels: 32
num_layers: 3
vq_loss_weight: 1.0
discriminator_weight: 1.0
|