错误 WATSNGWERR-0x0113001c 是什么意思?

Error WATSNGWERR-0x0113001c means what?

$ curl -X POST -u "057e842a-ece8-4825-8199-e77053a64a9e":"xxx" --header "Content-Type: audio/flac" --data-binary "@meeting2.flac" "https://stream.watsonplatform.net/speech-to-text/api/v1/recognize?timestamps=true&customization_id=0ae89a90-955e-11e7-9e8b-53863e154a1c"
curl: (55) SSL_write() returned SYSCALL, errno = 32
{ "code" : 500 , "error" : "Server Error" , "description" : "2017-09-09T10:36:46-04:00, Error WATSNGWERR-0x0113001c occurred when accessing https://stream.watsonplatform.net/speech-to-text/api/v1/recognize?timestamps=true&customization_id=0ae89a90-955e-11e7-9e8b-53863e154a1c, Tran-Id: stream-dp01-2524637048 - Watson Gateway Error" }

$ curl -X GET -u "057e842a-ece8-4825-8199-e77053a64a9e":"xxx" "https://stream.watsonplatform.net/speech-to-text/api/v1/customizations/0ae89a90-955e-11e7-9e8b-53863e154a1c"
{
   "owner": "410e0660-26a8-4ee0-ba09-e101df7961e0",
   "base_model_name": "en-US_BroadbandModel",
   "customization_id": "0ae89a90-955e-11e7-9e8b-53863e154a1c",
   "dialect": "en-US",
   "created": "2017-09-09T12:54:40.057Z",
   "name": "sprint2",
   "description": "sprint2",
   "progress": 0,
   "language": "en-US",
   "status": "ready"
}

该模型存在,并且似乎已准备就绪(但是,在这种情况下我希望 progress = 100 但无论如何),但由于某种原因,我无法使用它。

关于此错误消息的含义的任何线索?

Ps。如果我使用默认模型(不是自定义模型),它就可以工作

看起来您的自定义模型(0ae89a90-955e-11e7-9e8b-53863e154a1c) 处于不一致状态。

尝试删除自定义并创建一个新的?

正在删除自定义项

$ curl -X DELETE -u "057e842a-ece8-4825-8199-e77053a64a9e":"xxx"\
"https://stream.watsonplatform.net/speech-to-text/api/v1/customizations/0ae89a90-955e-11e7-9e8b-53863e154a1c"

状态ready表示可以训练,还没有准备好使用。

所以你需要调用 /train API 使它成为 available 来使用 progress 将是 100 一旦它是 available

调用/train API:

$ curl -X POST -u "057e842a-ece8-4825-8199-e77053a64a9e":"xxx" \
"https://stream.watsonplatform.net/speech-to-text/api/v1/customizations/0ae89a90-955e-11e7-9e8b-53863e154a1c/train"

可选,您可以在训练时指定自定义权重。

等一下,你应该会得到

$ curl -X GET -u "057e842a-ece8-4825-8199-e77053a64a9e":"xxx" "https://stream.watsonplatform.net/speech-to-text/api/v1/customizations/0ae89a90-955e-11e7-9e8b-53863e154a1c"
{
   "owner": "410e0660-26a8-4ee0-ba09-e101df7961e0",
   "base_model_name": "en-US_BroadbandModel",
   "customization_id": "0ae89a90-955e-11e7-9e8b-53863e154a1c",
   "dialect": "en-US",
   "created": "2017-09-09T12:54:40.057Z",
   "name": "sprint2",
   "description": "sprint2",
   "progress": 100,
   "language": "en-US",
   "status": "available"
}

这份文件很有帮助:https://console.bluemix.net/docs/services/speech-to-text/language-create.html#trainModel