首页 > 解决方案 > Azure-Speaker Recognition API 扬声器识别 - 获取操作状态:消息字段中出现错误,出现此错误“IncompleteEnrollment”

问题描述

我已注册个人资料,返回的注册状态为“已注册”。但是当我尝试从操作响应中识别配置文件时,我在消息字段中得到:“ IncompleteEnrollment

来自Speaker Recognition API Speaker Recognition - Get Operation Status的文档

案例 4 - HTTP/1.1 200 Ok Content-Type: application/json { "status": "failed", "createdDateTime": "2015-09-30T01:28:23Z" "lastActionDateTime": "2015-09-30T01 :35:23Z" "message": "一些失败信息" }

识别配置文件的响应 - 获取配置文件

“identificationProfileId”:“13c9ef6d-****-****-****-eff1e12492f6”,“enrollmentSpeechTime”:33.6,“remainingEnrollmentSpeechTime”:0.0,“locale”:“en-us”,“createdDateTime” :“2020-01-10T10:15:15.931Z”、“lastActionDateTime”:“2020-01-10T10:17:59.953Z”、“enrollmentStatus”:“已注册”

如您所见,该配置文件已注册。但是在调用说话人识别时,操作状态的响应是:“IncompleteEnrollment”

{"status":"failed","createdDateTime":"2020-01-10T10:21:24.8108966Z","lastActionDateTime":"2020-01-10T10:21:25.8413525Z","message":"IncompleteEnrollment" "处理结果":null}

标签: c#azureapimicrosoft-cognitiveazure-cognitive-services

解决方案


你能确定他们是同一个招生吗?您能否分享更多详细信息,例如所有相关状态。您还可以使用 Get Profile API 来检查注册是否成功。请参考以下内容:

https://westus.dev.cognitive.microsoft.com/docs/services/563309b6778daf02acc0a508/operations/5645c211e597ed22ec38f431

谢谢。


推荐阅读