kaituoxu / Speech-Transformer

A PyTorch implementation of Speech Transformer, an End-to-End ASR with Transformer network on Mandarin Chinese.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

decode question

15458wew opened this issue · comments

hi,I met some questions when the network was running step4:decoder

run.pl: job failed , log is in exp/............/decoder_test_beam5_nbest1_ml100/decode.log

the log is :
UnicoderEncoderError: 'ascii' codec can't encode character '\u4e00' in position 29: ordinal not in range(128)

No such file or directory: exp/................/decode_test_beam5_nbest1_ml100/data.json

I used the python 3.6.8 and print the setdefaultencoding is utf-8

How to solve the question?

Thank you

I got the answer. Thank you