Closed wukun2015 closed 4 years ago
Hi @wukun2015,
Thank you for taking the time to reach out. It looks like you have two container images installed, the latest
and the 1.2.0-amd64-zh-cd-preview
. Could you please confirm which container is running when you're encountering this error? Additionally, could you configure logging on and share some of the logs when executing the container and attempting to run this again?
Since you have two container images with the same name, you need to specify which one to start:
docker run --rm -it -p 5000:5000 --memory 2g --cpus 2 \
containerpreview.azurecr.io/microsoft/cognitive-services-speech-to-text:1.2.0-amd64-zh-cn \
Eula=accept \
Billing={ENDPOINT_URI} \
ApiKey={API_KEY}
Notice, the explicit :tag
added to the container repository argument? This instructs docker to run that specific image.
This issue has been resolved. #please-close
Hello,
I've downloaded container image for zh-cn locale as below. However, transcription output of Chinese speech is still English, though i've set language explicitly as below python code snippet.
Do i miss any other parameter for lang ?
Thank you.
IMAGE ID REPOSITORY TAG a364943a6a9c containerpreview.azurecr.io/microsoft/cognitive-services-speech-to-text latest 9c22457b0906 containerpreview.azurecr.io/microsoft/cognitive-services-speech-to-text 1.2.0-amd64-zh-cn-preview
Code snippet (in python) speech_config = speechsdk.SpeechConfig( subscription=speech_key, endpoint="ws://localhost:5000/speech/recognition/dictation/cognitiveservices/v1", speech_recognition_language="zh-cn")
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.