Editing
Troubleshooting of Olami speech to text
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Template:Speech to text}} Troubleshooting of [https://tw.olami.ai/open/website/apiandsolution/api_solution OLAMI 中文語音辨識 API|歐拉蜜人工智慧開放平台(威盛電子)] * sample code: [https://github.com/olami-developers/olami-api-quickstart-curl-samples/tree/master/cloud-speech-recognition olami-developers/olami-api-quickstart-curl-samples] == Errors == === Error: Invalid Timestamp === output message <pre> $ ./olami-asr-api-test.sh https://cn.olami.ai/cloudservice/api <app key> <app secret> <audio file> 0 ./olami-asr-api-test.sh: line 24: 1536204037N: value too great for base (error token is "1536204037N") ./olami-asr-api-test.sh: line 30: md5sum: command not found curl -X POST "https://tw.olami.ai/cloudservice/api?api=asr&appkey=<app key>×tamp=&sign=&seq=seg,nli&stop=1&compress=0" -H "content-type:application/octet-stream" --data-binary @sample.wav -c mycookie % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 98505 100 55 100 98450 23 41587 0:00:02 0:00:02 --:--:-- 41575 Audio file has been sent! Server response: {"msg":"Invalid Timestamp","code":108,"status":"error"} [ERROR] Error occurred! </pre> solution: Syntax pf BASH script is only supported on {{Linux}} not {{Mac}} === Error: Request Entity Too Large === output message <pre> Audio file has been sent! Server response: <html> <head><title>413 Request Entity Too Large</title></head> <body bgcolor="white"> <center><h1>413 Request Entity Too Large</h1></center> <hr><center>nginx/1.12.2</center> </body> </html> </pre> solution: try to decrease the file size of audio file === Error: Invalid App Key === output message <pre> ./olami-asr-api-test.sh https://cn.olami.ai/cloudservice/api <app key> <app secret> <audio file> 0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1843k 100 53 100 1843k 26 909k 0:00:02 0:00:02 --:--:-- 909k Audio file has been sent! Server response: {"msg":"Invalid App Key","code":106,"status":"error"} </pre> solution: Because tw.olami.ai & cn.olami.ai are different account system, you should register new account and apply different app key. === Error: Cost too much time to complete the request === output message: the second number are always the same number after hours <pre> % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 87 100 87 0 0 479 0 --:--:-- --:--:-- --:--:-- 478 Sending request to get result by HTTP GET... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 87 100 87 0 0 699 0 --:--:-- --:--:-- --:--:-- 701 Sending request to get result by HTTP GET... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 87 100 87 0 0 692 0 --:--:-- --:--:-- --:--:-- 696 </pre> solution: Press {{kbd | key=control}} + {{kbd | key=c}} to cancel the process and try it later. {{Template:Troubleshooting}} [[Category:Tool]] [[Category:NLP]]
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Kbd
(
edit
)
Template:Linux
(
edit
)
Template:Mac
(
edit
)
Template:Speech to text
(
edit
)
Template:Troubleshooting
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information