mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 18:24:18 +00:00
fix isort
This commit is contained in:
parent
a531c92711
commit
0db831910a
@ -33,9 +33,9 @@ import argparse
|
|||||||
import logging
|
import logging
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
from compute_fbank_ljspeech import MyFbank
|
||||||
from lhotse import CutSet, load_manifest_lazy
|
from lhotse import CutSet, load_manifest_lazy
|
||||||
from lhotse.dataset.speech_synthesis import validate_for_tts
|
from lhotse.dataset.speech_synthesis import validate_for_tts
|
||||||
from compute_fbank_ljspeech import MyFbank
|
|
||||||
|
|
||||||
|
|
||||||
def get_args():
|
def get_args():
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# https://github.com/shivammehta25/Matcha-TTS/blob/main/matcha/utils/monotonic_align/__init__.py
|
# https://github.com/shivammehta25/Matcha-TTS/blob/main/matcha/utils/monotonic_align/__init__.py
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
from matcha.monotonic_align.core import maximum_path_c
|
from matcha.monotonic_align.core import maximum_path_c
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
# Copied from
|
# Copied from
|
||||||
# https://github.com/shivammehta25/Matcha-TTS/blob/main/matcha/utils/monotonic_align/setup.py
|
# https://github.com/shivammehta25/Matcha-TTS/blob/main/matcha/utils/monotonic_align/setup.py
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
from Cython.Build import cythonize
|
|
||||||
import numpy
|
import numpy
|
||||||
|
from Cython.Build import cythonize
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="monotonic_align",
|
name="monotonic_align",
|
||||||
|
@ -24,8 +24,8 @@ from pathlib import Path
|
|||||||
from typing import Any, Dict, Optional
|
from typing import Any, Dict, Optional
|
||||||
|
|
||||||
import torch
|
import torch
|
||||||
from lhotse import CutSet, load_manifest_lazy
|
|
||||||
from compute_fbank_ljspeech import MyFbank, MyFbankConfig
|
from compute_fbank_ljspeech import MyFbank, MyFbankConfig
|
||||||
|
from lhotse import CutSet, load_manifest_lazy
|
||||||
from lhotse.dataset import ( # noqa F401 for PrecomputedFeatures
|
from lhotse.dataset import ( # noqa F401 for PrecomputedFeatures
|
||||||
CutConcatenate,
|
CutConcatenate,
|
||||||
CutMix,
|
CutMix,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user