表单识别器无效的模型状态 [英] Form Recognizer invalid model status
问题描述
我们尝试了这些步骤(API 2.0)的Form Recognizer自定义培训
We tried Form Recognizer custom training, with these steps (API 2.0)
培训模型成功(201),但是在检查自定义模型状态后,我们收到了此错误
The Training modell is success (201), but after Check Custom Model Status we got this error
{ "modelInfo": { "modelId": "f17bd306-3c6a-4067-8ef1-5f2e6ced79e1", "status": "invalid", "createdDateTime": "2020-02-05T17:24:30Z", "lastUpdatedDateTime": "2020-02-05T17:24:31Z" }, "trainResult": { "trainingDocuments": [], "errors": [{ "code": "2014", "message": "No valid blobs found in the specified Azure blob container. Please conform to the document format/size/page/dimensions requirements." }] }}
We also check
https://docs .microsoft.com/zh-CN/azure/cognitive-services/form-recognizer/overview#custom-model 一切都很好.
如何走得更远?
谢谢!
Gabor
推荐答案
问题已解决.
这绝对不是服务问题.
首先,我的前缀开头不应包含"/"符号. 另一个要点是前缀是区分大小写的. 就我而言,我已上传带有"USMF/VendorInvoices/Vendor-1001/"前缀的文件,但请求使用"usmf/VendorInvoices/Vendor-1001/"进行模型训练.因此,这导致了错误消息-在指定的Azure Blob容器中找不到有效的Blob.请符合文件格式/大小/页面/尺寸要求.
First of all, my prefix shouldn't contain '/' symbol at the beginning. Another important point is the prefix is case sensitive. In my case I've uploaded file with "USMF/VendorInvoices/Vendor - 1001/" prefix but requested model training with "usmf/VendorInvoices/Vendor - 1001/". So, this led to the error message - No valid blobs found in the specified Azure blob container. Please conform to the document format/size/page/dimensions requirements.
这篇关于表单识别器无效的模型状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!