"FullSubNet+: Channel Attention FullSubNet with Complex Spectrograms for Speech Enhancement", accepted by ICASSP 2022.
📜[Full Paper] ▶[Demo] 💿[Checkpoint]
16kHz, 3분 짜리 음원 한 번에 Inference 가능 (RTX4090 24GiB 기준)
"Inter-SubNet: Speech Enhancement with Subband Interaction", accepted by ICASSP 2023.
📜[Full Paper] ▶[Demo] 💿[Checkpoint]
16kHz, 2분 짜리 음원 한 번에 Inference 가능 (RTX4090 24GiB 기준)
-
Linux or macOS
-
python>=3.6
-
Anaconda or Miniconda
-
NVIDIA GPU + CUDA CuDNN (CPU can also be supported)
Install Anaconda or Miniconda, and then install conda and pip packages:
# Create conda environment
conda create --name speech_enhance python=3.6
conda activate speech_enhance
# Install conda packages
# conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
pip3 install torch==1.8.2 torchvision==0.9.2 torchaudio==0.8.2 --extra-index-url https://download.pytorch.org/whl/lts/1.8/cu111
conda install tensorboard joblib matplotlib
# Install pip packages
pip install Cython
pip install librosa pesq pypesq pystoi tqdm toml colorful mir_eval torch_complex
# (Optional) If you want to load "mp3" format audio in your dataset
conda install -c conda-forge ffmpeg
Download the FullSubnet pre-trained checkpoint at './pretraind', and input commands: Download the InterSubnet pre-trained checkpoint at './pretraind', and input commands:
conda activate speech_enhance
# Full-Subnet Inferencer
bash infer_fsnet.sh
# Inter-Subnet Inferencer
bash infer_isnet.sh
git clone https://github.com/RookieJunChen/Inter-SubNet.git
cd Inter-SubNet
Please prepare your data in the data dir as like:
- data/DNS-Challenge/DNS-Challenge-interspeech2020-master/
- data/DNS-Challenge/DNS-Challenge-master/
and set the train dir in the script run.sh
.
Then:
source activate speech_enhance
bash run.sh 0 # peprare training list or meta file
Please prepare your test cases dir like: data/test_cases_<name>
, and set the test dir in the script run.sh
.
First, you need to modify the various configurations in config/train.toml
for training.
Then you can run training:
source activate speech_enhance
bash run.sh 1
After training, you can enhance noisy speech. Before inference, you first need to modify the configuration in config/inference.toml
.
You can also run inference:
source activate speech_enhance
bash run.sh 2
Or you can just use inference.sh
:
source activate speech_enhance
bash inference.sh
Calculating objective metrics (SI_SDR, STOI, WB_PESQ, NB_PESQ, etc.) :
bash metrics.sh
For test set without reference, you can obtain subjective scores (DNS_MOS and NISQA, etc) through DNSMOS and NISQA.
If you find our work useful in your research, please consider citing:
@inproceedings{chen2022fullsubnet+,
title={FullSubNet+: Channel Attention FullSubNet with Complex Spectrograms for Speech Enhancement},
author={Chen, Jun and Wang, Zilin and Tuo, Deyi and Wu, Zhiyong and Kang, Shiyin and Meng, Helen},
booktitle={ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
pages={7857--7861},
year={2022},
organization={IEEE}
}
@inproceedings{chen2023inter,
title={Inter-Subnet: Speech Enhancement with Subband Interaction},
author={Chen, Jun and Rao, Wei and Wang, Zilin and Lin, Jiuxin and Wu, Zhiyong and Wang, Yannan and Shang, Shidong and Meng, Helen},
booktitle={ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
pages={1--5},
year={2023},
organization={IEEE}
}