CoEDL / elpis

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

Get stage_status logging data from log files for /state polling #225

Closed benfoley closed 3 years ago

benfoley commented 3 years ago

Rather than waiting until a stage is complete before updating stage_status, these changes update stage_status each time is it requested.

The intent is that the GUI polls /state endpoint during training. The endpoint method gets model.stage_status. The Kaldi object's @getter reads the current stage log and causes the object's stage_status to be updated with this new info. Then the newly updated data is returned.

Not sure if this is the best way to do this. Open to suggestions if there are better ways to do it.

benfoley commented 3 years ago

Also updated Paths while I was in there