Deep Learning in ArcGIS Pro Part 1 - Getting the Deep Learning Framework set up in Python
HTML-код
- Опубликовано: 10 сен 2024
- Summary:
Are you looking to get started with ArcGIS Pro and the Deep Learning toolbox? Here is a walkthrough of how to get started in Deep Learning, with some tips and tricks along the way.
Readings:
Please review this documentation before starting:
pro.arcgis.com...
pro.arcgis.com...
pro.arcgis.com...
pro.arcgis.com...
Videos:
Deep Learning in ArcGIS Pro Part 1 - Getting the Deep Learning Framework set up in Python
Deep Learning in ArcGIS Pro Part 2 - Assessing streaming Sentinel 2 API Data
Deep Learning in ArcGIS Pro Part 3 - Exporting and Saving Sentinel 2 Data
Deep Learning in ArcGIS Pro Part 4 - Creating a deep learning dataset and saving the labels
Deep Learning in ArcGIS Pro Part 5 - Running the deep learning model in ArcGIS Pro
Note: You must have the following to run this tutorial:
1. ArcGIS Pro version 2.5 or higher
2. Image Analyst Extension
Code I used (for copy and paste):
// Setup conda environment - run once
"C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\conda.exe" create --name deeplearning --clone arcgispro-py3
// Activate the environment
"C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\activate" deeplearning
// Install packages
conda install tensorflow-gpu=1.14.0
conda install keras-gpu=2.2.4
conda install scikit-image=0.15.0
conda install Pillow=6.1.0
conda install fastai=1.0.54
conda install pytorch=1.1.0
conda install libtiff=4.0.10 --no-deps
// Tell ArcGIS Pro to use this environment
"C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\proswap" deeplearning
Thanks for this Kyle and you're absolutely right. Despite rigorous documentation, trying to really get down and dirty trying to set everything up is like trying to fly a plane with your driver's license!
Really appreciate this - the install through the documentation didn't work for me so this was very useful :)
Excellent! I greatly appreciate this tutorial!!
i am havimg this problem at install packages stage>>>>>deeplearining is activated perfectly, but here i am having problem "'conda' is not recognized as an internal or external command,
operable program or batch file."
Thanjs for the video. I have a question when I write conda info --envs to the command window, it says "'conda' is not recognized as an internal or external command,
operable program or batch file.". How can I install conda or what should I do?
Thank you very much Kyle.
I am working on ArcGIS Pro 2.8. So / Setup conda environment - run once
"C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\conda.exe" create --name deeplearning --clone arcgispro-py3
// Activate the environment
"C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\activate" deeplearning
"C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\proswap" deeplearning
These three commands are sufficient.
which means 2.8 version dose not require the install pakages stage after activating deeplearning?
When I finished ArcPro tell me that"Broken environment, cannot be active"