This is another Nkululeko post that shows you how to demo model that you trained before.
First you need to train a model, e.g. on emodb as shown here
In the ini file you MUST set the parameters
[EXP]
...
save = True
in the general section and
[MODEL]
...
save = True
in the MODEL section of the configuration file.
Background: we need both the experiment as well as all model files to be saved on disk.
Here is an example script then how to call the demo mode:
python -m nkululeko.demo --config exp_emodb.ini
, if your config file is called exp_emob.ini
Automatically the best performing model will be used.