xnmt
xnmt copied to clipboard
Confusing error message when YAML file doesn't exist
When we call run_experiments and pass it a non-existent path for the YAML file it fails with the following error message:
TypeError: Top level of config file must be a single Experiment or a list or dict of experiments.Found: None of type <class 'NoneType'>.
We really should catch this and give a more informative message.