microsoft-custom-vision

Azure Cognitive Services Custom Vision: How do I design an appropriate multi-label classification taxonomy?

怎甘沉沦 提交于 2019-12-24 19:33:52
问题 I have built an Azure Custom Vision model using ~ 5000 of my own domain-specific images and a set of ~ 30 hierarchical and non-hierarchical labels. I am not sure how best to organize my label zoo in this particular multi-label classification problem. The best approach (see e.g. https://www.researchgate.net/publication/225379571_A_Tutorial_on_Multi-label_Classification_Techniques and https://towardsdatascience.com/journey-to-the-center-of-multi-label-classification-384c40229bff) must depend on

Raspberry PI / IOTEdge failing to pull from Azure Container Registry

拜拜、爱过 提交于 2019-12-11 19:55:05
问题 I have an IOTEdge device (Rapi3) and IotEdgeHub and IotEdgeagent are deployed and running. I have successfully built and deployed images (custom-vision example) to ACR and have configured Access Keys in the portal. I've added the respective credentials to my .env file. The deployment.json has been deployed using Create deployment for single device . Within IotAgent logs I can see a series of 500 errors: Executing command for operation ["create"] failed. Microsoft.Azure.Devices.Edge.Agent

Python custom vision predictor fails

≡放荡痞女 提交于 2019-12-11 17:22:02
问题 I'm using Python to retrieve a Blob image from Azure storage and then send it to Custom Vision for a prediction. This is the code: import io from azure.storage.blob import BlockBlobService from azure.cognitiveservices.vision.customvision.prediction import CustomVisionPredictionClient block_blob_service = BlockBlobService( account_name=account_name, account_key=account_key ) fp = io.BytesIO() block_blob_service.get_blob_to_stream( container_name, blob_name, fp, max_connections=2 ) predictor =

CustomVision API returns “Operation returned an invalid status code: 'NotFound'”

↘锁芯ラ 提交于 2019-12-11 08:44:32
问题 I am using the Nuget package Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction I have created a Custom Vision application in the Custom Vision portal and obtained API keys and a project ID. Whenever I try to make a request to the API, I always get the following exception thrown: HttpOperationException: Operation returned an invalid status code 'NotFound' Here is my code: HttpClient httpClient = new HttpClient(); CustomVisionPredictionClient customVisionPredictionClient = new

Is there a way to get bounding boxes from the Microsoft's custom vision object detection model.pb file?

主宰稳场 提交于 2019-12-06 11:03:30
问题 Is there a way to get bounding boxes of a particular object detected via Microsoft custom vision model.pb file? I know we can get that via API calls to the azure custom vision service. Say for example, we can get the bounding boxes from the ssd frozen inference graph.pb file as there are tensors present. Can we do the same for custom vision's model.pb file? This is the code that I am using the print out the operations for a tensorflow model and the output. detection_graph = tf.Graph() with

Is there a way to get bounding boxes from the Microsoft's custom vision object detection model.pb file?

情到浓时终转凉″ 提交于 2019-12-04 15:40:35
Is there a way to get bounding boxes of a particular object detected via Microsoft custom vision model.pb file? I know we can get that via API calls to the azure custom vision service. Say for example, we can get the bounding boxes from the ssd frozen inference graph.pb file as there are tensors present. Can we do the same for custom vision's model.pb file? This is the code that I am using the print out the operations for a tensorflow model and the output. detection_graph = tf.Graph() with detection_graph.as_default(): graph_def = tf.GraphDef() with tf.gfile.GFile('model.pb,'rb') as fid: