Create adversarial/__init__.py
Browse files
audiocraft/adversarial/__init__.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 2 |
+
# All rights reserved.
|
| 3 |
+
#
|
| 4 |
+
# This source code is licensed under the license found in the
|
| 5 |
+
# LICENSE file in the root directory of this source tree.
|
| 6 |
+
"""Adversarial losses and discriminator architectures."""
|
| 7 |
+
|
| 8 |
+
# flake8: noqa
|
| 9 |
+
from .discriminators import (
|
| 10 |
+
MultiPeriodDiscriminator,
|
| 11 |
+
MultiScaleDiscriminator,
|
| 12 |
+
MultiScaleSTFTDiscriminator
|
| 13 |
+
)
|
| 14 |
+
from .losses import (
|
| 15 |
+
AdversarialLoss,
|
| 16 |
+
AdvLossType,
|
| 17 |
+
get_adv_criterion,
|
| 18 |
+
get_fake_criterion,
|
| 19 |
+
get_real_criterion,
|
| 20 |
+
FeatLossType,
|
| 21 |
+
FeatureMatchingLoss
|
| 22 |
+
)
|