You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In parse_hyp_and_timestamp()
after tokens = sp.id_to_piece(res.hyps[i]) I have such tokens:
▁', '', '-', 'mo', 'du', 'le',
then words = sp.decode_pieces(tokens).split() gives me two words instead of one
'⁇', '-module'
but time = parse_timestamp(tokens, time) treats these tokens like one word, and then
assert len(time) == len(words), (len(time), len(words))
AssertionError: (1, 2)
Thanks in advance.
The text was updated successfully, but these errors were encountered:
In parse_hyp_and_timestamp()
after tokens = sp.id_to_piece(res.hyps[i]) I have such tokens:
▁', '', '-', 'mo', 'du', 'le',
then words = sp.decode_pieces(tokens).split() gives me two words instead of one
'⁇', '-module'
but time = parse_timestamp(tokens, time) treats these tokens like one word, and then
assert len(time) == len(words), (len(time), len(words))
AssertionError: (1, 2)
Thanks in advance.
The text was updated successfully, but these errors were encountered: