Skip to content
Snippets Groups Projects
Unverified Commit 64792983 authored by wxt1997's avatar wxt1997 Committed by GitHub
Browse files

[egs] Update wer_output_filter for python version compatibility (#4018)

parent a97cb8da
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ for l in sys.stdin: ...@@ -12,7 +12,7 @@ for l in sys.stdin:
ll=l.split() ll=l.split()
lk=ll[0] lk=ll[0]
for v in ll[1:]: for v in ll[1:]:
v = v.decode('utf-8') v = v.encode('utf-8').decode('utf-8')
for i in v: for i in v:
lk= lk + ' ' + i lk= lk + ' ' + i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment