mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-12 19:42:17 +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"
|
||||
)
|
||||
|
||||
from pathlib import Path as _Path
|
||||
|
||||
from _kaldifeat import (
|
||||
FbankOptions,
|
||||
FrameExtractionOptions,
|
||||
@ -15,6 +17,7 @@ from _kaldifeat import (
|
||||
MfccOptions,
|
||||
PlpOptions,
|
||||
SpectrogramOptions,
|
||||
num_frames,
|
||||
)
|
||||
|
||||
from .fbank import Fbank, OnlineFbank
|
||||
@ -24,7 +27,5 @@ from .online_feature import OnlineFeature
|
||||
from .plp import OnlinePlp, Plp
|
||||
from .spectrogram import Spectrogram
|
||||
|
||||
from pathlib import Path as _Path
|
||||
|
||||
cmake_prefix_path = _Path(__file__).parent / "share" / "cmake"
|
||||
del _Path
|
||||
|
Loading…
x
Reference in New Issue
Block a user