Azure-Samples / azure-ai-vision-sdk

SDK for Microsoft's Azure AI Vision
MIT License
75 stars 46 forks source link

Detect common objects in images - cannot read property of undefined (reading 'values') #90

Open wpitallo opened 1 month ago

wpitallo commented 1 month ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Detect common objects in images

Any log messages given by the failure

image

Expected/desired behavior

OS and Version?

AZURE AI: https://portal.vision.cognitive.azure.com/demo/generic-object-detection

Versions

https://portal.vision.cognitive.azure.com/demo/generic-object-detection

Mention any other details that might be useful


Thanks! We'll be in touch soon.

dargilco commented 1 month ago

@wpitallo Does it work with any of the provided images in vision studio? or does it also fail with these provided images? It works for me for the provided images. If this only fails for your image, can you attach the image here?

wpitallo commented 1 month ago

It does work with the others. I am using a trained model however that said it has succeeded.

dargilco commented 1 month ago

@wpitallo what do you mean "it has succeeded"? you no longer see the issue you reported?

If you still see the issue, does the "JSON" tab show the json response from the service? if so, can you share it?

I don't think Vision Studio uses the Image Analysis SDK. If the problem you reported persists, I will need to find the owners of this page in Vision Studio and point you to a different location where you can report this bug.

wpitallo commented 1 month ago

Sorry with Succeeded I mean the custom model training succeeded.

I don't get a JSON response from the UI, this is what I am seeing in the network tab:

image image image

dargilco commented 1 month ago

Thank you for the additional information. Vision Studio uses REST APIs, not the SDK. Are you able to construct a REST API call to your custom model endpoint (using cURL, Postman or other tool). If so, what is the response you get there?