Train the model using the train command. You must specify an experimental directory, a task profile (-p), a model type, the number of epochs, and the data directory.
To use custom hyper-parameters and task parameters, place a config.yaml in your experimental directory and include the --config flag in your command.
Example (Basic):
python main.py train /path/to/experimental/directory \
-p Brouhaha.SpeakerDiarization.NoisySpeakerDiarization \
--model_type pyannet \
--epoch 35 \
--data_dir path/to/your/database
Example (With config.yaml):
python main.py train /path/to/experimental/directory \
-p Brouhaha.SpeakerDiarization.NoisySpeakerDiarization \
--model_type pyannet \
--epoch 35 \
--data_dir path/to/your/database \
--config
python main.py train /path/to/experimental/directory \
-p Brouhaha.SpeakerDiarization.NoisySpeakerDiarization \
--model_type pyannet \
--epoch 35 \
--data_dir path/to/your/database