juanmc2005 / diart

A python package to build AI-powered real-time audio applications
https://diart.readthedocs.io
MIT License
1.02k stars 87 forks source link

Load pipeline config from yaml file #197

Open juanmc2005 opened 11 months ago

juanmc2005 commented 11 months ago

Problem

Configuring a pipeline and tracking changes is hard with the large amount of arguments. This also leads to duplicated code in the CLI scripts.

Idea

Load configurations from config files in yaml. We could even create presets for specific configurations, like "ami", " dihard" and "voxconverse" for reproducibility.

Example

diart.benchmark ami/audio --reference ami/rttms --config ami

Or with a custom config:

diart.stream audio.wav --config my_config.yml