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

[cli] produce the same results as with torchaudio.compliance.kaldi #213

Merged
merged 4 commits into from
Nov 6, 2023

Conversation

cdliang11
Copy link
Collaborator

@cdliang11 cdliang11 commented Nov 5, 2023

@@ -31,12 +31,16 @@ def __init__(self, model_path: str):
def extract_embedding(self, audio_path: str):
sample_rate, pcm = wav.read(audio_path)
# TODO(Binbin Zhang): verify the feat
Copy link
Collaborator

Choose a reason for hiding this comment

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

The TODO can be removed now.

from scipy.fftpack import dct


def mfcc(signal,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

mfcc计算部分需要保留吗

Copy link
Collaborator

Choose a reason for hiding this comment

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

可以留着。

@robin1001 robin1001 merged commit a5d1ace into master Nov 6, 2023
3 checks passed
@robin1001 robin1001 deleted the chengdong-fbank branch November 6, 2023 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants