• Stars
    star
    404
  • Rank 106,231 (Top 3 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Dual-path RNN: efficient long sequence modeling for time-domain single-channel speech separation implemented by Pytorch

Dual-path-RNN-Pytorch

Dual-path RNN: efficient long sequence modeling for time-domain single-channel speech separation implemented by Pytorch

If you have any questions, you can ask them through the issue.

If you find this project helpful, you can give me a star generously.

Demo Pages: Results of pure speech separation model

Plan

Dataset

We used the WSJ0 dataset as our training, test, and validation sets. Below is the data download link and mixed audio code for WSJ0.

Training

Training for Conv-TasNet model

  1. First, you need to generate the scp file using the following command. The content of the scp file is "filename && path".
python create_scp.py
  1. Then you can modify the training and model parameters through "config/Conv_Tasnet/train.yml".
cd config/Conv-Tasnet
vim train.yml
  1. Then use the following command in the root directory to train the model.
python train_Tasnet.py --opt config/Conv_Tasnet/train.yml

Training for Dual Path RNN model

  1. First, you need to generate the scp file using the following command. The content of the scp file is "filename && path".
python create_scp.py
  1. Then you can modify the training and model parameters through "config/Dual_RNN/train.yml".
cd config/Dual_RNN
vim train.yml
  1. Then use the following command in the root directory to train the model.
python train_rnn.py --opt config/Dual_RNN/train.yml

Inference

Conv-TasNet

You need to modify the default parameters in the test_tasnet.py file, including test files, test models, etc.

For multi-audio

python test_tasnet.py 

For single-audio

python test_tasnet_wav.py 

Dual-Path-RNN

You need to modify the default parameters in the test_dualrnn.py file, including test files, test models, etc.

For multi-audio

python test_dualrnn.py 

For single-audio

python test_dualrnn_wav.py 

Pretrain Model

Conv-TasNet

Conv-TasNet model

Dual-Path-RNN

Dual-Path-RNN model

Result

Conv-TasNet

Final Results: 15.8690 is 0.56 higher than 15.3 in the paper.

Dual-Path-RNN

Final Results: 18.98 is 0.1 higher than 18.8 in the paper.

Reference

  1. Luo Y, Chen Z, Yoshioka T. Dual-path RNN: efficient long sequence modeling for time-domain single-channel speech separation[J]. arXiv preprint arXiv:1910.06379, 2019.
  2. Conv-TasNet code && Dual-RNN code

More Repositories

1

Speech-Separation-Paper-Tutorial

A must-read paper for speech separation based on neural networks
732
star
2

Conv-TasNet

Conv-TasNet: Surpassing Ideal Time-Frequency Magnitude Masking for Speech Separation Pytorch's Implement
Python
410
star
3

TDANet

An efficient speech separation method
Python
218
star
4

Looking-to-Listen-at-the-Cocktail-Party

Executable code based on Google articles
Python
162
star
5

AFRCNN-For-Speech-Separation

Speech Separation Using an Asynchronous Fully Recurrent Convolutional Neural Network
Python
134
star
6

LibriSpace

Python
130
star
7

Deep-Clustering-for-Speech-Separation

Pytorch implements Deep Clustering: Discriminative Embeddings For Segmentation And Separation
Python
121
star
8

SPMamba

Python
111
star
9

IIANet

This is the demo of our paper "IIANet: An Intra- and Inter-Modality Attention Network for Audio-Visual Speech Separation".
Python
107
star
10

Calculate-SNR-SDR

Script to calculate SNR and SDR using python
Python
86
star
11

LRS3-For-Speech-Separation

Multi-modal speech separation task data generation script on LRS3 data set.
MATLAB
75
star
12

CTCNet

An Audio-Visual Speech Separation Model Inspired by Cortico-Thalamo-Cortical Circuits
Python
65
star
13

UtterancePIT-Speech-Separation

According to funcwj's uPIT, the training code supporting multi-gpu is written, and the Dataloader is reconstructed.
Python
64
star
14

AV-ConvTasNet

Unofficial Time Domain Audio Visual Speech Separation Implementation
Python
44
star
15

Deep-Encoder-Decoder-Conv-TasNet

A PyTorch implementation of " AN EMPIRICAL STUDY OF CONV-TASNET "
Python
43
star
16

DANet-For-Speech-Separation

Pytorch implement of DANet For Speech Separation
Python
20
star
17

S4M

Official implementation of Efficient Speech Separation Framework Based on Neural State-Space Models
Python
16
star
18

Look2hear

A toolkit for researchers in the multimodal sound separation.
15
star
19

speechbrain-docs-zh-cn

SpeechBrain中文文档
12
star
20

Arxiv-New-Paper-Server

Arxiv automatically obtains the latest article service.
CSS
11
star
21

My-Script-For-Audio-Process

Some convenient scripts for your own use
Jupyter Notebook
10
star
22

ExamOnline

This is a complete online exam system
Java
10
star
23

Apollo

Music repair method to convert lossy MP3 compressed music to lossless music.
Python
9
star
24

WeChatApp

Complete code of WeChat Mini Program
JavaScript
8
star
25

player

Android Homework(3)
Java
7
star
26

GrabCut

C++
7
star
27

Grass

Python
7
star
28

ELF-SR

Python
7
star
29

Time

My Android Project
Java
7
star
30

Accelerator

Openmp Accelerator
Python
7
star
31

Deep-Learning

Learn to deep learning the code of your own records.
Python
7
star
32

JusperLee

7
star
33

jusperlee.github.io

HTML
5
star
34

pytorch-template

PyTorch deep learning projects made easy.
Python
4
star
35

Souhu-Competition-Dazuoye

Python
3
star
36

TFACM

HTML
3
star
37

BigData-Homework-Yanwaizhiyi

HTML
2
star
38

RTFS-Net

HTML
2
star
39

Deep-learning-course

Store some necessary files
1
star
40

taichi

Productive & portable programming language for high-performance, sparse & differentiable computing
C++
1
star