百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

PercepNet

> 编程语言
开源

PercepNet 的非官方实现:一种基于感知的方法,用于实现低复杂度、实时的全带宽语音增强

368 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

PercepNet 的非官方实现:一种基于感知的方法,用于实现低复杂度、实时的全带宽语音增强

PercepNet

Unofficial implementation of PercepNet: A Perceptually-Motivated Approach for Low-Complexity, Real-Time Enhancement of Fullband Speech described in https://arxiv.org/abs/2008.04259

https://www.researchgate.net/publication/343568932_A_Perceptually-Motivated_Approach_for_Low-Complexity_Real-Time_Enhancement_of_Fullband_Speech

Todo

  • pitch estimation
  • Comb filter
  • ERBBand c++ implementation
  • Feature(r,g,pitch,corr) Generator(c++) for pytorch
  • DNNModel pytorch
  • DNNModel c++ implementation
  • Pretrained model
  • Postfiltering (done by @TeaPoly )

Requirements

  • CMake
  • Sox
  • Python>=3.6
  • Pytorch

Prepare sampledata

  1. download and sythesize data DNS-Challenge 2020 Dataset before excute utils/run.sh for training.
bash
git clone -b interspeech2020/master  https://github.com/microsoft/DNS-Challenge.git
  1. Follow the Usage instruction in DNS Challenge repo(https://github.com/microsoft/DNS-Challenge) at interspeech2020/master branch. please modify save directories at DNS-Challenge/noisyspeech_synthesizer.cfg sampledata/speech and sampledata/noise each.

Build & Training

This repository is tested on Ubuntu 20.04(WSL2)

  1. setup CMake build environments
bash
sudo apt-get install cmake
  1. make binary directory & build
bash
mkdir bin && cd bin
cmake ..
make -j
cd ..
  1. feature generation for training with sampleData
bin/src/percepNet sampledata/speech/speech.pcm sampledata/noise/noise.pcm 4000 test.output
  1. Convert output binary to h5
python3 utils/bin2h5.py test.output training.h5
  1. Training run utils/run.sh
bash
cd utils
./run.sh
  1. Dump weight from pytorch to c++ header
python3 dump_percepnet.py model.pt
  1. Inference
bash
cd bin
cmake ..
make -j1
cd ..
bin/src/percepNet_run test_input.pcm percepnet_output.pcm

Acknowledgements

@jasdasdf, @sTarAnna, @cookcodes, @xyx361100238, @zhangyutf, @TeaPoly, @rameshkunasi, @OscarLiau, @YangangCao, Jaeyoung Yang

IIP Lab. Sogang Univ

Reference

https://github.com/wil-j-wil/py_bank

https://github.com/dgaspari/pyrapt

https://github.com/xiph/rnnoise

https://github.com/mozilla/LPCNet

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C++pytorchspeech-enhancement

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言