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-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd9ff4d549ee1f51abc410fea9a4bbd3caa35ea02e11f0ed840f3cd947824a33 |
|
MD5 | 254e3fdd450d0b3a76dcdf8439cc765e |
|
BLAKE2b-256 | 66df13dfaa9b6384919a7e3f5c101066e73c27e97304a111ea0704cd758ad18b |
Close
Hashes for model_evaluation_777-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b285b433d286a396ddf7c04e9a22cf8319a860aa5210912d96b1d0ca0c6c61f |
|
MD5 | 2716326daa58e8bd7e5a668d6f420993 |
|
BLAKE2b-256 | c9aaf2b84bf52427cf54bf0854a63586eda712ff7638ff48fdb4362eacdb8f60 |