| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This folder contains code for creating and using discrete audio tokens. The files:
Here is a record of test setup and relevant results:
$ pip install scikit-learn==1.5.1 speechtokenizer==1.0.1 beartype==0.19.0 transformers==4.51.3 git+https://github.com/Tomiinek/WavTokenizer
$ pytest --cov=speechbrain/integrations/discrete/ --cov-context=test --doctest-modules speechbrain/integrations/audio_tokenizers/
=================== test session starts =======================
platform linux -- Python 3.11.11, pytest-7.4.0, pluggy-1.5.0
rootdir: /home/competerscience/Documents/Repositories/speechbrain
configfile: pytest.ini
plugins: anyio-4.8.0, hydra-core-1.3.2, cov-6.1.1, typeguard-4.4.1
collected 4 items
audio_tokenizers/discrete_ssl.py .
audio_tokenizers/kmeans.py .
audio_tokenizers/speechtok.py .
audio_tokenizers/wavtok.py .
===================== tests coverage =========================
_____ coverage: platform linux, python 3.11.11-final-0 _______
Name Stmts Miss Cover
----------------------------------------------------------------------
audio_tokenizers/discrete_ssl.py 100 12 88%
audio_tokenizers/kmeans.py 51 10 80%
audio_tokenizers/speechtokenizer_interface.py 28 3 89%
audio_tokenizers/wavtokenizer_interface.py 33 5 85%
----------------------------------------------------------------------
TOTAL 212 30 86%
| Back | FazBrowse Home | New Git URL |