sooftware / kospeech

Open-Source Toolkit for End-to-End Korean Automatic Speech Recognition leveraging PyTorch and Hydra.
https://sooftware.github.io/kospeech/
Apache License 2.0
605 stars 192 forks source link

defect on CER #132

Open kelvinqin opened 3 years ago

kelvinqin commented 3 years ago

Title

Description

I found two defects inside Supervised_trainer.py, which is all about CER ---

(_train_epoches) line 267, cer = self.metric(targets, y_hats) the returned CER is just the CER on the last batch, not for the whole dataset

(_validate) line 365, cer = self.metric(targets, y_hats) the returned CER is just the CER on the last batch, not for the whole dataset

Thanks for ur attention,

Linked Issues