OpenViSTAI · Agents · Blockchain · Crypto
Menu
Audio & Voice AI

Conv Tasnet

Conv Tasnet is a Python and PyTorch implementation of Conv-TasNet for separating speech sources from audio, with code for model training and inference.

Independent OpenViST project profile, based on linked sources.

Conv Tasnet — PyTorch users working with speech separation
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you need a code-based Conv-TasNet workflow for training on prepared speech mixtures or separating sources from audio with a model checkpoint.

Who it is for

  • Researchers exploring speech-source separation models.
  • Developers building a local speech-separation prototype or audio preprocessing stage.

Documented uses

  • Train a speech-separation model using prepared speaker-mixture data.
  • Run inference on a single WAV file or a larger set of audio files.
  • Inspect or modify the model and its training configuration.
Before you choose

Requirements & limits

The repository is public and identified as open source. Its repository details do not specify a license.

  • The README lists specific dependency versions: PyTorch 1.3.0, TorchAudio 0.3.1 and PyYAML 5.1.2.
  • Training requires prepared mixture data and an SCP file; it is not a ready-to-use hosted processing service.
  • Pretrained models are linked, and the README reports multi-GPU training support.
  • The README distinguishes single-WAV inference from inference over a larger file set.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare and train a speech-separation model

Train the implementation using prepared speaker-mixture data.

Before you start

  • PyTorch 1.3.0, TorchAudio 0.3.1 and PyYAML 5.1.2
  • WSJ0 or TIMI data prepared with the referenced create-speaker-mixtures files
  • An SCP file generated with create_scp.py

Steps

  1. Generate the dataset using the referenced speaker-mixture preparation files with WSJ0 or TIMI.

  2. Generate an SCP file using create_scp.py.

  3. Adjust network parameters and training-file paths in option/train/train.yml if needed.

  4. Run python train.py ./option/train/train.yml.

Expected outcome

The documented training process runs the model with the selected configuration; the README says results are displayed when training is over.

Guide limitations

  • The README does not specify the dataset contents, preparation environment or hardware requirements.
  • Training batch size is noted as 8 or 16.
  • The training outcome is not independently verified.
Source-based practical guide

Run inference on one WAV file

Use the documented single-file inference script with an audio file, configuration and model checkpoint.

Before you start

  • PyTorch 1.3.0, TorchAudio 0.3.1 and PyYAML 5.1.2
  • A WAV file, configuration YAML and model checkpoint

Steps

  1. Provide the input WAV file, for example 1.wav.

  2. Run Separation_wav.py with the documented mix_wav, yaml, model, gpuid and save_path arguments.

  3. Use the resulting save_path location for the documented output destination.

Expected outcome

The command is configured to process a single audio file and save results to the specified path.

Guide limitations

  • The README does not explain the output-file format or how to obtain a checkpoint beyond linking pretrained models.
  • The command's example GPU-ID list does not establish hardware requirements or compatibility.
  • The command has not been independently run.
COMPARE OPTIONS

Compare options for Model inference and serving

These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.

ProjectDocumented purposePlatformAccess and requirements
Conv TasnetTrain a speech-separation model using prepared speaker-mixture data.Linux, Windows, macOS, Self-hostedThe repository is public and identified as open source. Its repository details do not specify a license.
Wavegrad — lmnt-comConvert a Mel spectrogram into synthesized waveform audio.Linux, macOS, Windows, CLI, Server, Self-hostedThe repository is public and lists an Apache-2.0 license. It documents installation through pip or from GitHub; the pretrained model is provided as a 24 kHz download.
Diffgan TtsGenerate a speech utterance from a text string using a pretrained checkpoint.Linux, Server, Self-hosted
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
11 November 2026
Original website title
JusperLee/Conv-TasNet · Official homepage title · retained in its source language

Related options

Deep-Encoder-Decoder-Conv-TasNet — A separate open-source implementation of another article optimizing Conv-TasNet, linked by this repository's README.