MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.25k stars 21.42k forks source link

Call the 'predictor.predictions().predictImage().withProjectId(UUID.fromString("..."))' found request error #40570

Closed xenogew closed 5 years ago

xenogew commented 5 years ago

I implement on the Android system application using Kotlin I only want to call Predict from the byte array data only. So, I don't need to create trainer object, and I have project/prediction keys thing. Can I use .withProjectId(UUID.fromString("my_project_uuid_string") to call the service? And the result of what I did with the question that I asked you, is got an error "Resource not found". What is the thing I need to setting more? Resource ID? Application ID? Iteration ID?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ram-msft commented 5 years ago

@xenogew Thanks for the question. We are investigating the issue and will update you shortly.

ram-msft commented 5 years ago

@xenogew Can you please share the sample that you are trying, please follow the below documents for using the predictions().
https://docs.microsoft.com/en-us/java/api/com.microsoft.azure.cognitiveservices.vision.customvision.prediction.predictions.detectimage?view=azure-java-stable#com_microsoft_azure_cognitiveservices_vision_customvision_prediction_Predictions_detectImage__ https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/java-tutorial-od#use-the-prediction-endpoint

ram-msft commented 5 years ago

@xenogew We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.