c# - 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}
解决方案
你能确定他们是同一个招生吗?您能否分享更多详细信息,例如所有相关状态。您还可以使用 Get Profile API 来检查注册是否成功。请参考以下内容:
谢谢。
推荐阅读
- java - 检查中的调试问题,老巫师邪教之谜
- vue.js - 然后我重新加载页面 v-if(带有计算数据)不起作用
- python - 如何使用变量将python中的数据插入mysql数据库?
- c# - 将链接另存为 PDF C#
- javascript - Webpack 不会解析 js 文件中的资产别名
- android - React Native 中的 CameraX 视图 - 无法配置相机
- c++ - 如何在每次循环时更改 Ifstream 的源文件的内容
- visual-studio - 无法将包推送到 azure 工件提要,不断要求提供凭据
- python - 如果我不想进行自回归,如何使用 PyTorch Transformers 执行 seq2seq 任务?
- powershell - Powershell脚本使用相同文件的前32个字符重命名文件夹内的文件