CustomVision

Samuel Gaud 0 Reputation points
2024-01-08T20:53:54.3433333+00:00

I have a trained model that can classify types of documents. Using the Custom Vision API from a C# project, I am trying to predict images extracted from a database in a loop. I start the day working with examples, and the API works. As the day progresses, the API stops making predictions; it simply does not return anything, does not give an error, and just does nothing. I also changed the tier to S0, but it still exhibits the same behavior.

Azure AI Custom Vision
Azure AI Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
249 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,902 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 52,866 Reputation points
    2024-01-11T01:49:44.3833333+00:00

    @Samuel Gaud Thanks for reaching out to us, I hope your issue has been resolved.

    There are some limitations and quota for different tier, it may be caused by the limitation of free tier, as you just changed the tier to Standard, it may take some time.

    The limitation and quota is here for your future reference - https://learn.microsoft.com/en-us/azure/ai-services/custom-vision-service/limits-and-quotas

    At the meantime, there are several possible reasons may cause this issue and you can have a try to troubleshoot it. However, it should not return nothing, if you face the issue again, please let me know, I am happy to enable you a free ticket to look into this issue.

    Check your API key and endpoint: Make sure that you are using the correct API key and endpoint for your Custom Vision project. You can find this information in the Custom Vision portal under the "Settings" tab. Check your image data: Make sure that the images you are passing to the Custom Vision API are in a supported format and are not corrupted or otherwise invalid. You can use a tool like Fiddler to inspect the requests and responses to see if there are any issues with the image data.

    Check your code: Make sure that your C# code is correctly calling the Custom Vision API and handling the responses. You can use debugging tools like Visual Studio to step through your code and see if there are any issues.

    Check your API usage: Make sure that you are not exceeding the usage limits for your Custom Vision project. If you are using the free tier, you may be limited to a certain number of API calls per month.

    I hope this helps, let me know if you need more help.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.