(Optional) Get familiar with Python raster function. Get familiar with the format and requirements of the Esri model definition file (emd). Step5: Swap it to the activate python environment of the ArcGIS servers.
Step4: Install tensorflow or tensorflow-gpu in the new python environment. Step3: Activate the new python environment. Step2: Clone a new ArcGIS python environment for deep learning.Ĭonda create -name deeplearning_env_name -clone arcgispro-p圓 Step1: Change Directory to ArcGIS python scripts directory.Ĭd C:\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\Scripts Installs TensorFlow on the ArcGIS raster analytics server: If you prefer to manually setup the deep learning Python environment using command lines, see the example below which Once you finish setting up the Python environment, you will need to restart the ArcGIS server.įor more details on setting up the Enterprise environment, see Configure ArcGIS Image Server for deep learning raster analytics. This installation takes less than 5 minutes to run on the author's test machine. Right click the batch file and choose to Run as Administrator. NOTE: By default, batch installation will take ~2-3 GB of disk space on the C:/ drive (or the disk where ArcGIS server is installed). It is not recommended to install different deep learning frameworks (TensorFlow, Keras, PyTorch, etc) into one Enterprise Python environment. The batch file env_setup_server_tensorflow.bat at root directory automates the TensorFlow environment setup process for ArcGIS Enterprise 10.7, specifically. This installation takes less than 5 minutes to run on the author's test machine.įor ArcGIS Enterprise users, the deep learning libraries need to be installed to the Python environment on each raster analytics server machine:Ĭ:\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python.
To execute the batch file, right click the batch file and choose to Run as Administrator. NOTE: By default, the batch installation will take up 5 GB of disk space on the C:/ drive (or the disk where ArcGIS Pro is installed). Install Python environments in ArcGIS Pro using the ArcGIS Pro Python Package Manager.Īlternatively, ArcGIS Pro users can use this batch file env_setup.bat at the root directory to automatically installĪll the required deep learning libraries for the sample cases in this repository.
Please install the required deep learning libraries listed in requirements.txt using the following steps: įor users on ArcGIS Pro 2.5 and ArcGIS Enterprise 10.8, or older.
Users can download the installers from this GitHub repository.
Which include a broad collection of components, such as PyTorch, TensorFlow, Fast.ai, that are required to run Deep Learning workflows in this repository. Starting from ArcGIS Pro 2.6 and ArcGIS Enterprise 10.8.1, Deep Learning Libraries Installers for ArcGIS are provided, Set up the Python deep learning environment in ArcGIS.