microsoft / ai-school-custom-vision-service-intro

This is an introduction to how to get started using the Custom Vision Service to generate custom models using the web interface and the SDK.
MIT License
34 stars 17 forks source link

TrainClassifier failling #1

Open LucLabelle opened 6 years ago

LucLabelle commented 6 years ago

Hey guys, still green on GitHub, not sure this is the proper channel for support, please tell me if I should post this somewhere else.

I can't run the TrainClassifier method on my side, I get an error : Microsoft.Rest.HttpOperationException: 'Operation returned an invalid status code 'BadRequest''.

Uploading the content works, but I can't trigger the training from the app.

Anyone else experiencing this issue?

Thank,s

LucLabelle commented 6 years ago

I noticed my code call this API : https://southcentralus.api.cognitive.microsoft.com/customvision/v1.2/Training

But from the web interface, the prediction URL points to : https://southcentralus.api.cognitive.microsoft.com/customvision/v1.1/Prediction

could I be using the wrong version of the API ?

Thanks for your help,

jamescarpinter commented 6 years ago

Hi @LucLabelle,

I've just run through the TrainClassifier step on my machine and it's working for me. Are you able to share your code so I can take a look? Either via forking the repo or send it via v-cajam at microsoft dot com. The training API version looks correct to me.

Thanks, James