The detailed documentation for this image classification example includes the step-by-step walk-through: https://docs.microsoft.com/azure/machine-learning/preview/scenario-image-classification-using-cntk
The public GitHub repository for this image classification example contains all the code samples: https://github.com/azure/MachineLearningSamples-ImageClassificationUsingCntk
A large number of problems in the computer vision domain can be solved using image classification approaches. These include building models which answer questions such as, "Is an OBJECT present in the image?" (where OBJECT could for example be "dog", "car", "ship", etc.) as well as more complex questions, like "What class of eye disease severity is evinced by this patient's retinal scan?"
This tutorial will address solving such problems. We will show how to train, evaluate and deploy your own image classification model using the Microsoft Cognitive Toolkit (CNTK) for deep learning. Example images are provided, but the reader can also bring their own dataset and train their own custom models.
The key steps required to deliver this solution are as follows:
- Generate an annotated image dataset. Alternatively, the provided demo dataset can be used.
- Train an image classifier using a pre-trained Deep Neural Network.
- Evaluate and improve accuracy of this model.
- Deploy the model as a REST API, either to the local machine or to the cloud.
- An Azure account (free trials are available).
- An installed copy of Azure Machine Learning Workbench with a workspace created.
- A machine or VM running Windows.
- A dedicated GPU is recommended, however not required.
This sample "Image Classification using CNTK" collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.