ashpy.lossesΒΆ
Collection of Losses.
Executor
Carry a function and the way of executing it. |
|
The sum executor. |
Classifier
Classifier Loss Executor using the classifier model, instantiated with a fn. |
GAN
Executor for GANs. |
|
Enumeration for Adversarial Losses. |
|
Base class for the adversarial loss of the generator. |
|
Base class for the adversarial loss of the discriminator. |
|
The Binary CrossEntropy computed among the generator and the 1 label. |
|
Least Square GAN Loss for generator. |
|
L1 loss between the generator output and the target. |
|
Hinge loss for the Generator. |
|
Conditional GAN Feature matching loss. |
|
Categorical Cross Entropy between generator output and target. |
|
Pix2Pix Loss. |
|
Semantic Pix2Pix Loss. |
|
The Binary Cross Entropy computed among the encoder and the 0 label. |
|
The min-max game played by the discriminator. |
|
Least square Loss for discriminator. |
|
Hinge loss for the Discriminator. |
|
Return the correct loss fot the Discriminator. |
|
Return the correct loss for the Generator. |
Modules
The classification losses. |
|
The Executor. |
|
GAN losses. |