w2v2-speaker

(β˜… 144)

Research code for the paper "Fine-tuning wav2vec2 for speaker recognition" found at https://arxiv.org/abs/2109.15053

  • .env.example
  • .gitignore
  • convert_voxceleb2.sh
  • LICENCE
  • predict.py
  • pyproject.toml
  • README.md
  • run.py

# Installation Guide

1. Get the code
git clone https://github.com/nikvaessen/w2v2-speaker

Downloads the entire project code from GitHub to your computer.

cd w2v2-speaker

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
$ poetry shell # enter project-specific virtual environment

Type this command into your terminal and run it.

(xxx) $ pip install -U pip

Installs the Python libraries listed in requirements.txt (or similar).

(xxx) $ poetry update # install dependencies

Type this command into your terminal and run it.

(xxx) $ pip install -r requirements/requirements_cuda101.txt # if CUDA 10.1

Installs the Python libraries listed in requirements.txt (or similar).

(xxx) $ pip install -r requirements/requirements_cuda110.txt # if CUDA 11.0

Installs the Python libraries listed in requirements.txt (or similar).

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation