mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-13 12:02:19 +00:00
Export num_frames
This commit is contained in:
parent
0baa34cc5e
commit
f8d48a05a2
@ -8,6 +8,8 @@ if torch.__version__.split("+")[0] != kaldifeat_torch_version.split("+")[0]:
|
|||||||
f"But you are using PyTorch {torch.__version__} to run it"
|
f"But you are using PyTorch {torch.__version__} to run it"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from pathlib import Path as _Path
|
||||||
|
|
||||||
from _kaldifeat import (
|
from _kaldifeat import (
|
||||||
FbankOptions,
|
FbankOptions,
|
||||||
FrameExtractionOptions,
|
FrameExtractionOptions,
|
||||||
@ -15,6 +17,7 @@ from _kaldifeat import (
|
|||||||
MfccOptions,
|
MfccOptions,
|
||||||
PlpOptions,
|
PlpOptions,
|
||||||
SpectrogramOptions,
|
SpectrogramOptions,
|
||||||
|
num_frames,
|
||||||
)
|
)
|
||||||
|
|
||||||
from .fbank import Fbank, OnlineFbank
|
from .fbank import Fbank, OnlineFbank
|
||||||
@ -24,7 +27,5 @@ from .online_feature import OnlineFeature
|
|||||||
from .plp import OnlinePlp, Plp
|
from .plp import OnlinePlp, Plp
|
||||||
from .spectrogram import Spectrogram
|
from .spectrogram import Spectrogram
|
||||||
|
|
||||||
from pathlib import Path as _Path
|
|
||||||
|
|
||||||
cmake_prefix_path = _Path(__file__).parent / "share" / "cmake"
|
cmake_prefix_path = _Path(__file__).parent / "share" / "cmake"
|
||||||
del _Path
|
del _Path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user