Skip to content

Commit

Permalink
Update trainer
Browse files Browse the repository at this point in the history
  • Loading branch information
sooftware committed Feb 3, 2021
1 parent c258889 commit f53ea49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kospeech/trainer/supervised_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def _train_epoches(
architecture=architecture,
)

if architecture in ('rnnt', 'conformer_t'):
if architecture not in ('rnnt', 'conformer_t'):
y_hats = output.max(-1)[1]
cer = self.metric(targets, y_hats)

Expand Down

0 comments on commit f53ea49

Please sign in to comment.