Deep Learning in ArcGIS Pro Part 5 - Running the deep learning model in ArcGIS Pro

preview_player
Показать описание
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.

This is the final video, where we run the model.

Readings:
Please review this documentation before starting:

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

// 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
Рекомендации по теме
Комментарии
Автор

I love that you kept the googling in the video. Authentic trouble shooting.

williamlidberg
Автор

I want to extract building footprint if I use your method is it possible to create a training file for that what meta data format i have to use for it RCNN Masks, since I don't have knowledge of coding

ajaypatro
Автор

It is very nice and tutorial and presented in understandable ways. Thank you. would add other video specially on esr.model.definition (emd) that you used??

alextakele
Автор

Hey all, So I've been trying to run through this as best I can ( pretty new to all this), and the issue I'm running into is that when trying to train the deep learning it keeps saying that my output folder already exists and has files so it won't overwrite it even when I make new (empty) folders. Any clue on what I should do?

hellsing
Автор

Thank you for sharing the video. I m stucked at training the deep learning model. I am using png files and Kitti annotations but unfortunately no luck. System is not accepting the data neither kitti nor pascalVOC. Kindly help me.

Dr.NudratNida
Автор

Does anybody know a way to export the actual model that was trained? So, for example, if I took the trained model out of ArcGIS Pro and uploaded it to a python notebook, I could get the same results with the model in python that I did in ArcGIS Pro?

tjwilkerson
Автор

Thank you for the demonstration. I got the same problem for the "Input Training Data" as you had "ERROR 032659 updateParameters Syntax Error: Traceback (most recent call last):
File "c:\program Analyst Tools.tbx#TrainDeepLearningModel_ia.UpdateParameters.py", line 4, in <module>
ModuleNotFoundError: No module named 'fastprogress'
". I exactly follow the guidelines to "Export Training Data for Deep Learning", but still didn't work. Did you figure out how to fix the problems?

geogood
Автор

Hi, i have question for you. in the train deep learning model tab minutes 5:36, u put a "TrainedModel3_Deeplearning" in training data. what is that? cause i dont see any process of creating a file with that name in all video. Thank youu

novianitaaaaa
Автор

Traceback (most recent call last):
File "c:\program Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 232, in <module>
execute()
File "c:\program Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 181, in execute
training_model_object = training_model(data_bunch, **kwargs)
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_ssd.py", line 141, in __init__

File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_arcgis_model.py", line 470, in _check_dataset_support
raise Exception(f"Enter only compatible datasets from {',
Exception: Enter only compatible datasets from PASCAL_VOC_rectangles, KITTI_rectangles
Failed to execute (TrainDeepLearningModel).

Dr.NudratNida