Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

TEST DEMO

Project description

# Speech Enhancement Evaluation Metrics

计算语音增强相关的评价指标,计算结果会被保存为 Excel 表格。

## Usage

安装依赖:

```shell
# PESQ
git clone https://github.com/vBaiCai/python-pesq.git
cd python-pesq
python setup.py install

# STOI
pip install pystoi

# tqdm
pip install tqdm

# Librosa
pip install librosa

# tablib
pip install tablib
```

使用方法:

```shell
Speech Enhancement Evaluation Metrics

optional arguments:
-h, --help
show this help message and exit
--nosiy_dir NOSIY_DIR
带噪语音目录
--denosiy_dir DENOSIY_DIR
降噪语音的目录
--clean_dir CLEAN_DIR
纯净语音的目录
--output_path OUTPUT_PATH
评价指标存储的全路径,必须以拓展名 .xls 结尾
--limit LIMIT
被测试语音的数量。默认为0,表示不限制数量
--offset OFFSET
从某个索引位置开始计算评价指标,默认为0,表示从索引为 0 的语音开始计算
--sr SR
语音文件的采样率
```

例如:

```shell
python main.py --nosiy_dir /media/imucs/DataDisk/haoxiang/Release/speech_enhancement/release_-5_0_30_50/test/noisy/ --denosiy_dir ../se_-5_0_30_50_VCC/output/ --clean_dir /media/imucs/DataDisk/haoxiang/Release/speech_enhancement/release_-5_0_30_50/test/clean
```

## ToDo

- [x] 实现测试 stoi 和 metric 的评价功能
- [x] 生成表格

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for SPEMM, version 1.1.9
Filename, size File type Python version Upload date Hashes
Filename, size SPEMM-1.1.9-py2.py3-none-any.whl (6.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page