Questions tagged [microsoft-custom-vision]

145 questions
12
votes
2 answers

Using Custom vision exported model with tensorflow JS and input an image

I'm new to tensorflow.js and tensorflow The context : We have trained a model using custom vision to recognized from an image, the hairlength : short, mid, long. This model was exported and we would like to use it in local with tensorflow js. The…
3
votes
2 answers

ModuleNotFoundError: No module named 'azure.cognitiveservices.vision.customvision'

I am trying to use the microsoft azure custom vision service on a mac from Jupyter in VS Code I have Python 3.8.3 installed. I have done pip install azure.cognitiveservices.vision.customvision and confirmed it is there using pip show. When I execute…
3
votes
1 answer

Unauthorized error when trying to upload training images to custom vision project

I'm following the tutorial given by AI School on the sketch2code app (link: https://aischool.microsoft.com/en-us/services/learning-paths/sketch2code/sketch2code-lab/train-an-object-detection-model) I have pasted my training key into the program.cs…
Harsh Dave
  • 31
  • 2
3
votes
1 answer

Question: Model dowloading with custom vision & python API

i am new to Microsoft Custom Vision and I am working on an intergration of Microsoft Azure Custom Vision API using jupyter notebooks/python. I was able to upload images, tag them automatically and train the first iterations. However, as I was trying…
3
votes
0 answers

Error : Connection refused with a post request between two module iot edge

I try to send an image to another module but I receive a connection refused. The image is sent from the CameraCapture to the Classify module by a Post request. The classifier respond me with a Connection Refused. The port 80 is exposed in the…
3
votes
2 answers

Custom_Vision_Prediction_3.0 REST API Giving 401 error

I am trying to call Custom Vision Prediction Classification RestAPI Endpoint (https://southcentralus.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Prediction_3.0/operations/5c82db60bf6a2b11a8247c15) I am using South Central US endpoint I…
3
votes
3 answers

How can I convert form [xmin ymin xmax ymax] to [x y width height] normalized in image?

I am building a custom vision application with Microsoft's CustomVision.ai. I am using this tutorial. When you tag images in object detection projects, you need to specify the region of each tagged object using normalized coordinates. I have an XML…
glima
  • 31
  • 1
  • 1
  • 2
3
votes
2 answers

(Microsoft Azure custom vision service: Object Detection) How to find bounding box info of training data?

I am using Microsoft custom vision service in object detection to extract the wanted objects. And I would like to make a regression test to compare the results. However, I cannot find a place to export the training picture with the bounding box that…
3
votes
1 answer

Microsoft Azure Custom Vision Python SDK - use image file from computer for prediction

https://learn.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/python-tutorial I followed the above tutorial for using the Azure Custom Vision Python SDK. Instead of using an image on the internet for prediction (as shown in the…
Mushroom1
  • 33
  • 5
3
votes
1 answer

Training Microsoft Custom Vision model via rest api

I am working on a simple nodejs console utility that will upload images for the training of a Custom Vision model. I do this mainly because the customvision web app won't let you tag multiple images at once. tl;dr: How to post images into the…
Damb
  • 14,410
  • 6
  • 47
  • 49
2
votes
1 answer

Azure Custom Vision Api POST Request error, even correct ID's

I'm trying to publish my Custom Vision Iteration after I trained it. But I always get a "Bad Request" Error. I'm trying with the following line of code: trainingApi.PublishIteration(ProjectID, iteration.Id, "Model", predictionResourceId); It should…
2
votes
0 answers

Calling CustomVision prediction API from Python - second time is not the charm

from azure.cognitiveservices.vision.customvision.prediction import CustomVisionPredictionClient from msrest.authentication import CognitiveServicesCredentials endpoint = 'https://####customvision-prediction.cognitiveservices.azure.com' project_id =…
paulbarbin
  • 382
  • 2
  • 9
2
votes
1 answer

Reshaping tensorflow output tensors

I am training an object detection model with Azure customvision.ai. The model output is with tensorflow, either saved model .pb, .tf or .tflite. The model output type is designated as float32[1,13,13,50] I then push the .tflite onto a Google Coral…
2
votes
1 answer

Azure Custom Vision Migrate iteration on other prediction ressource

I have trained a Detection model and would like to migrate the published iteration to an other prediction ressource using the Python SDK. However i don't see how to create a new iteration in the training API and when trying to publish the following…
2
votes
1 answer

Azure Custom Vision returning {"code":"NotFoundIteration","message":"Invalid iteration"}

I noticed that Custom Vision is now returning the message {"code":"NotFoundIteration","message":"Invalid iteration"} instead of the expected (and previously provided) results. Something has recently changed on the API call? Thanks
1
2 3
9 10