pytorch / pytorch/audio

Migrate Kaldi tests

Open
#597 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted Kaldi module: tests
Dominant language
Python
Stars
2.9k
Forks
799
Avg merge
58m
Merged PRs (30d)
3

Description

We used to test kaldi against a saved kaldi output here, but we now have an infrastructure to run kaldi in our test environment here.

We would like to migrate the tests from "saved kaldi" to "live kaldi".

  • test_spectrogram
  • test_fbank
  • test_mfcc
  • test_mfcc_empty
  • test_resample_waveform
  • test_resample_waveform_upsample_size
  • test_resample_waveform_downsample_size
  • test_resample_waveform_identity_size
  • test_resample_waveform_downsample_accuracy
  • test_resample_waveform_upsample_accuracy
  • test_resample_waveform_multi_channel

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare test/test_compliance_kaldi.py with test/test_kaldi_compatibility.py, starting with the existing live-Kaldi test structure. Migrate each listed test to the live infrastructure and run the relevant compatibility tests; done means all checklist items are covered and the migrated tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.