Skip to content

shubhankar132/NLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

voicemd

Voice classification

Setup

Clone the repo and install the project dependencies. It is recommended to use a virtual environment (e.g. conda)

git clone https://github.com/jerpint/voicemd
cd voicemd
pip install -e .

Make a prediction

From script

First, download the weights locally:

cd ~/voicemd/voicemd
curl -L -o model.pt "https://www.dropbox.com/s/r3ydpfxr3h4vlzg/best_model_commonvoice?dl=1"

Then run as a script:

from voicemd.predict import make_a_prediction

make_a_prediction(
    sound_filepath='/path/to/your/sound.wav',
    config_filepath='config.yaml',
    best_model_path='model.pt'
)

Online Demo (Colab)

  • Small dataset: Use the demo colab here
  • Commonvoice dataset: Use the demo colab here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published