SpeechColab / Leaderboard

SpeechIO Leaderboard: a large, robust, comprehensive, benchmarking platform for Automatic Speech Recognition.
434 stars 61 forks source link

bugs #25

Closed learnxy closed 2 years ago

learnxy commented 2 years ago

here:https://github.com/SpeechColab/Leaderboard/blob/master/models/tencent_api_zh/asr_api.py#L56 the base64Wav = base64.b64encode(data) should be base64Wav = str(base64.b64encode(data),encoding="utf-8")

dophist commented 2 years ago

The client uses python2 and the encoded data is str type already, and you are talking about python3-only syntax.