I was trying to use the Python SDK on my already trained custom model to analyze a form. My model's ID is 1098. However, I got this error:
azure.core.exceptions.HttpResponseError: (1001) Specified model not found or not ready, Model Id: 1098
Code: 1001
Message: Specified model not found or not ready, Model Id: 1098
Here is my Python code:
file = open("test.png", "rb")
form_recognizer_client = FormRecognizerClient(endpoint, AzureKeyCredential(key))
# get result
poller = form_recognizer_client.begin_recognize_custom_forms(model_id="1098", form=file)
result = poller.result()
I double checked my model finished training (yesterday), and I can use the FormRecognizerStudio to do this perfectly fine. But not the Python SDK due to this error. Could somebody help? Thanks.