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

Unable to create prediction endpoint API #38647

Closed vj68 closed 4 years ago

vj68 commented 5 years ago

While following this tutorial - https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/python-tutorial

I am unable to get an endpoint after training.

I get this while trying to publish - Screenshot from 2019-09-10 02-41-38

While trying to use the endpoint - Screenshot from 2019-09-10 03-01-44

Also I don't see two different keys - Training key and Prediction key - cv1


Document Details

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

YutongTie-MSFT commented 5 years ago

@rajurajvijay619 Thanks for the feedback! We are currently investigating and will update you shortly.

YutongTie-MSFT commented 5 years ago

@areddish Hi Andrew, I think we changed the UI without changing the document. image

Could you please check this and update the document, I can not change any photo in the document. Thanks.

vj68 commented 5 years ago

Any updates?

areddish commented 5 years ago

@rajurajvijay619 The error indicates that a training key is being pass to the prediction endpoint. You should find the prediction resource in the list of available resources. You need to use the key of the prediction endpoint you published to. If you only have one training and one prediction it will probably be named something like raj-vision-group_prediction.

@YuTongTie-MSFT the document is referencing the current key UX. Your screen shot is of an All In One key which doesn't seem to be represented in the documentation. I've brought it up with the team to address.

areddish commented 5 years ago

@YutongTie-MSFT actually the issue is your screen shot is of the project settings vs the settings for the account (which lists all of the keys vs just the key for your project).

tchristiani commented 5 years ago

please #reassign to @PatrickFarley

PRMerger18 commented 5 years ago

to is not a valid GitHub ID, or is not a collaborator on this repo.

tchristiani commented 5 years ago

PatrickFarley is a valid GitHub alias with rights in this repo.

tchristiani commented 5 years ago

reassign @PatrickFarley

variux commented 5 years ago

It happens to me, the error is that by default when you create the resource customvision.Training is selected by default, you need to select CognitiveServices, for that you'll need to recreate the project

PatrickFarley commented 4 years ago

I'm updating the doc to be more clear. @rajurajvijay619 , you need to select the gear icon from the main homepage (when you first sign in) on the Custom Vision website, not your project page. There, you'll be able to find your prediction key and resource ID edit: We have a publishing freeze right now, so you'll see the updated doc next week.

please-close