Skip to content

Open-Speech-EkStep/ekstep-gender-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ekstep-gender-classification

This repository is a part of Vakyansh's recipes to build state of the art Speech Recogniition Model.

To infer multiple audio files, place the file paths in a csv file and set the mode accordingly :

Inference Modes

--model-path : set the path of the model
--file-mode  : default False; set True for single file inference
--file-path  : path to .wav file if --file-mode = True
--csv-path   : path to csv containing multiple audio file paths
--save-dir   : default Current directory; else give path to save predictions.csv 

Single file inference

python scripts/inference.py --model-path model/clf_svc.sav --file-mode True --file-path <filename>.wav

Csv mode inference
Create a csv containing multiple file paths of the audios

python scripts/inference.py --model-path model/clf_svc.sav --csv-path <file_paths>.csv --save-dir <destination path>

Inference outputs for csv and single inference modes:

0 : Male
1 : Female

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages