Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Audio][Feature][Unittest][Benchmark]Add unittest and benchmark for feature apis. #1548

Merged
merged 13 commits into from
Mar 15, 2022

Conversation

KPatr1ck
Copy link
Contributor

@KPatr1ck KPatr1ck commented Mar 8, 2022

PR types

Others

PR changes

Others

Describe

Add unittest for feature apis.
fix #1289

@mergify mergify bot added the S2T asr/st label Mar 8, 2022
@KPatr1ck KPatr1ck added this to the r0.2.0 milestone Mar 8, 2022
paddlespeech/s2t/__init__.py Outdated Show resolved Hide resolved
paddlespeech/s2t/transform/__init__.py Outdated Show resolved Hide resolved
paddleaudio/tests/features/base.py Outdated Show resolved Hide resolved
paddlespeech/s2t/__init__.py Outdated Show resolved Hide resolved
@KPatr1ck
Copy link
Contributor Author

KPatr1ck commented Mar 8, 2022

python setup.py test运行单测。

@KPatr1ck
Copy link
Contributor Author

KPatr1ck commented Mar 9, 2022

增加librosa和soundfile io的单测

TODO:
Kaldi单测

paddleaudio/setup.py Outdated Show resolved Hide resolved

from .base import FeatTest
from paddleaudio.functional.window import get_window
from paddlespeech.s2t.transform.spectrogram import IStft
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

后面替换的时候可以考虑copy这部分代码到test里,espnet目录中

@mergify mergify bot added the README label Mar 10, 2022
@KPatr1ck KPatr1ck changed the title [Audio][Feature][Unittest]Add unittest for feature apis. [Audio][Feature][Unittest][Benchmark]Add unittest and benchmark for feature apis. Mar 11, 2022
@KPatr1ck
Copy link
Contributor Author

KPatr1ck commented Mar 11, 2022

Add torchaudio benchmark.

@zh794390558
Copy link
Collaborator

zh794390558 commented Mar 11, 2022

性能也整理下,记录到如流文档中。分析下效率低的原因。
也添加下:https://github.com/PaddlePaddle/PaddleSpeech/wiki#paddleaudio

Copy link
Collaborator

@zh794390558 zh794390558 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zh794390558 zh794390558 merged commit f8f995a into PaddlePaddle:develop Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[audio] support kaldi stft/fbank/mfcc
2 participants