我一直试图以编程的方式训练和发布基于https://westus.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/5890b47c39e2bb052c5b9c3b的Luis模型。
我需要训练多个Luis应用程序,我目前的流程是:
我在这里的问题是,如果Luis应用程序中的另一个模型没有完成培训--这意味着,它仍在进行中,Luis应用程序能发布吗?
我得到了以下西班牙语的json结果-无法加载模型。请重新培训你的申请.
Requested training status For Spanish
[
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:38Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:38Z"
}
},
{
"modelId": "40c607ab-ce31-46ac-b67c-61168d21b7d0",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:38Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:38Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:38Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:42Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:41Z"
}
},
{
"modelId": "",
"details": {
"statusId": 3,
"status": "InProgress",
"exampleCount": 1052
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:38Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:38Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:38Z"
}
}
]
Publishing Application For Spanish
Inside Publish Application Action For Spanish
Sending Request
Response Received
Completed Publishing Application For Spanish
{
"error": {
"code": "ModelLoadFailed",
"message": "Could not load model. Please re-train your application."
}
}
以下中文应用程序序列不包含任何元素
Requested training status For Chinese
[
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:56Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:56Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:56Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:56Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:56Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:58Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:57Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:56Z"
}
},
{
"modelId": "",
"details": {
"statusId": 3,
"status": "InProgress",
"exampleCount": 1052
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:53Z"
}
},
{
"modelId": "",
"details": {
"statusId": 0,
"status": "Success",
"exampleCount": 1052,
"trainingDateTime": "2018-07-11T02:01:56Z"
}
}
]
Publishing Application For Chinese
Inside Publish Application Action For Chinese
Sending Request
Response Received
Completed Publishing Application For Chinese
{
"error": {
"code": "BadArgument",
"message": "Sequence contains no elements"
}
}
发布于 2018-07-11 12:30:12
我在这里的问题是,如果Luis应用程序中的另一个模型没有完成培训--这意味着,它仍在进行中,Luis应用程序能发布吗?
不,你所有的LUIS应用程序(即:所有意图)都必须经过成功的训练才能出版。
https://stackoverflow.com/questions/51276386
复制相似问题