Evaluate speech enhancemnt model performance
Project description
Speech Enhancement Model Evaluation
This is a python package to evaluate your speech enhancement model performance.
Installation
pip install model-evaluation-777 -i https://pypi.org/simple
PESQ and STOI Evaluation
def evaluate(ref_dir="/media/youwei/Chauncey's/VERSO_Dataset/test/clean/", deg_dir="/media/youwei/Chauncey's/VERSO_Dataset/test/noisy/", fs=16000):
'''
Args:
ref_dir: reference signal directory
deg_dir: degration signal directory
Returns:
pesq_score_average, stoi_score_average
'''
from model_evaluation import stoi_pesq
pesq_score, stoi_score = stoi_pesq.evaluate(ref_dir=ref_dir, deg_dir=deg_dir, fs=16000)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for model-evaluation-777-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fcde333ea8ec6da68e22e8d090dd6476c1cb538f65a8abd650dab03d1e97d0e |
|
MD5 | 0c48ad45bfacb9d4e9bc3122b8a495f6 |
|
BLAKE2b-256 | b47370d60d0f9cb9068d0a40c7c43742509c4d13295d24a26b0f6ea7a8ddb5fe |
Close
Hashes for model_evaluation_777-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59370c5f7f979ea4da74ad64beeee8cb68982d0a60612f781586f61a78200d33 |
|
MD5 | c26472f0312c0d35561a69d4038b0a31 |
|
BLAKE2b-256 | 055035362176e87c9fa1c6dc0649a7f081e1959482e7c0026d007c8ccd75d843 |