mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 10:02:22 +00:00
Fix for older versions of k2 (#725)
This commit is contained in:
parent
2bca7032af
commit
04c9fc9c9f
@ -81,7 +81,7 @@ class CtcTrainingGraphCompiler(object):
|
||||
|
||||
self.ctc_topo._is_repeat_token_ = (
|
||||
self.ctc_topo.labels != self.ctc_topo.aux_labels
|
||||
)
|
||||
).int()
|
||||
|
||||
decoding_graph = k2.compose(
|
||||
self.ctc_topo, fsa_with_self_loops, treat_epsilons_specially=False
|
||||
|
Loading…
x
Reference in New Issue
Block a user