Visual Studio Tools for AI is an extension for Visual Studio 2017 / 2015. It does not work with Visual Studio for Mac.
Visual Studio Tools for AI supports only Visual Studio 2017 and 2015.
Visual Studio Tools for AI is hosted on Visual Studio Marketplace in two VS 2017, and VS 2015 packages. Please download the correct package for your Visual Studio.
An easier way to install is from within Visual Studio:
- Choose Tools > Extensions and Updates on the menu bar, or type Extensions in the Quick Launch window.
- Search in upper right-hand corner for Visual Studio Tools for AI.
- Select Microsoft Visual Studio Tools for AI extension.
- Click Download button.
After having downloaded the Python installer to a local directory, right-click it and select Run as administrator. We recommend that you install Python to %LocalAppData%.
If multiple Python environments exist, Visual Studio may choose a wrong environment as default, or the project is manually set to an incorrect one. Please refer to Setting up the default Python environment and change the global or per-project Python environment.
Please go to option page AI Tools > Options > AI Tools > CNTK, and check whether CNTK directory is set correctly. That is, cntk.exe should be found under "${CNTK RuntimeSDK Directory}\cntk".
Please refer to here on how to install CNTK BrainScript package.
After having installed these frameworks, it needs some time for Visual Studio to refresh the Python completion DB. Please first choose Tools > Python > Python Environments (Visual Studio 2017), or Tools > Python Tools > Python Environments (Visual Studio 2015) on the menu bar. Then, click the refreshing button.
At present, Visual Studio Tools for AI does not support IntelliSense for CNTK BrainScript language.
This is a known issue in the Computer Vision application template. Please open the ComputerVisionApiExtensions.cs, and add the following line of code in ComputerVisionApiExtensions class's constructor:
this.AzureRegion = GetRegion(region);
Please right-click AI Tools > Azure Cognitive Services node on the Server Explorer panel, and select Refresh.
Please right-click AI Tools > Azure Cognitive Services node on the Server Explorer panel, and select Refresh.
The TextAnalytics SDK only allows regions from westus, westeurope, southeastasia, eastus2, westcentralus. Please relocate (move or create new) your service in these provider locations.
You need to change PC language to Chinese from Control Panel > Clock, Language, and Region > Language.
Please install the Custom Vision Python SDK by running the following command in a terminal:
python -m pip install azure-cognitiveservices-vision-customvision
It is probably caused by permission issues of your Custom Vision account. Please try the following steps:
-
Make sure that you don't exceed the quota to create new Custom Vision projects (not the Visual Studio projects). The maximum allowed in a service / resource group differs between pricing tiers.
-
Try another subscription key, or regenerate a new one.