fsdl-text-recognizer-2021-labs icon indicating copy to clipboard operation
fsdl-text-recognizer-2021-labs copied to clipboard

fix error: get accuracy in ctc loss

Open pyy0715 opened this issue 4 years ago • 0 comments
trafficstars

In this lab3, we will experiment with loss through Cross-Entropy and CTC. In the case of CE, there is no error in executing the implemented code but in the case of CTC, an error occurs in obtaining acc as it inherits BaseLitModel because greedy_decoder Therefore, in order to see acc correctly in CTC, need to override the inherited function.

pyy0715 avatar Aug 09 '21 18:08 pyy0715