If you already have an environment with the arcgis
package installed, you can further install its deep learning dependencies to take advantage of the arcgis.learn
module. Some of the deep learning samples available here can be referenced to understand the workflow.
Using the Deep Learning frameworks installer
To work with the deep learning tools in ArcGIS Pro 2.6 and later, you need to install supported deep learning frameworks packages.
Deep Learning Libraries Installer for ArcGIS
is now available at https://github.com/Esri/deep-learning-frameworks. This installer includes a broad collection of components, such as PyTorch, TensorFlow, Fast.ai and scikit-learn, for performing deep learning and machine learning tasks. Note that this will install the deep learning frameworks into your currently active Pro Python environment; if you wish to install in an environment aside from the default arcgispro-py3 environment, switch to that environment before running the MSI using either ArcGIS Pro's Python manager UI or on the command line with proswap. Any subsequent clones of that environment will also include this full collection of packages.
For instructions on how to install deep learning frameworks manually or over ArcGIS Image Server, click here.
Install using Python Command Prompt or Anaconda
For ArcGIS Pro users:
Deep learning frameworks can be used to install all the required dependencies in ArcGIS Pro's default python environment using an MSI installer.
Alternatively, for a cloned environment of ArcGIS Pro's default environment, deep-learning-essentials
metapackage can be used to install the required dependencies which can be done using the following command, in the Python Command Prompt
(included with ArcGIS Pro):
conda install -c esri deep-learning-essentials
For Anaconda users (Windows & Linux platforms):
arcgis_learn metapackage can be used for both windows and linux installations of Anaconda in a new environment.
The following command will update Anaconda to the latest version.
conda update conda
After that, metapackage can be installed using the command below:
conda install -c esri arcgis