Create optim/__init__.py
Browse files- audiocraft/optim/__init__.py +16 -0
audiocraft/optim/__init__.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"""Optimization stuff. In particular, optimizers (DAdaptAdam), schedulers
|
| 7 |
+
and Exponential Moving Average.
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
# flake8: noqa
|
| 11 |
+
from .cosine_lr_scheduler import CosineLRScheduler
|
| 12 |
+
from .dadam import DAdaptAdam
|
| 13 |
+
from .inverse_sqrt_lr_scheduler import InverseSquareRootLRScheduler
|
| 14 |
+
from .linear_warmup_lr_scheduler import LinearWarmupLRScheduler
|
| 15 |
+
from .polynomial_decay_lr_scheduler import PolynomialDecayLRScheduler
|
| 16 |
+
from .ema import ModuleDictEMA
|