CoEDL / elpis

🙊 software for creating speech recognition models.
https://elpis.readthedocs.io/en/latest/
Apache License 2.0
151 stars 33 forks source link

Replace print statements with loguru library #271

Closed mattchrlw closed 2 years ago

mattchrlw commented 2 years ago

This PR also simplifies logging logic, so that everything goes into both the console and the train.log file.

TODO: Kaldi currently only shows up in train.log, as Kaldi training uses shell scripts. However, HFT training info shows up in both the console and the UI.

(decided against the above as the Python log is not relevant to most users and it makes more sense for it to only contain Flask-related logs.)