Skip To Content

Use the model

You can use this model in the Classify Pixels Using Deep Learning tool available in the Image Analyst toolbox in ArcGIS Pro.

  1. Download the Edge Detection model and add the imagery layer in ArcGIS Pro.
  2. Click the Analysis tab and browse to Tools.
    Tools on the Analysis tab in ArcGIS Pro
  3. In the Geoprocessing pane, click Toolboxes and expand Image Analyst Tools. Select the Classify Pixels Using Deep Learning tool under Deep Learning.
    Classify Pixels Using Deep Learning tool
  4. On the Parameters tab, set the variables as follows:
    1. Input Raster—Select the imagery.
    2. Output Raster Dataset—Set the output raster location.
    3. Model Definition—Select the pretrained model .dlpk file.
    4. Arguments—Change the values of the arguments if required.
      • batch_size—Number of image tiles processed in each step of the model inference. This depends on the memory of your graphics card.
    Classify Pixels Using Deep Learning tool Parameters tab
  5. On the Environments tab, set the variables as follows:
    1. Processing Extent—Select Current Display Extent or any other option from the drop-down menu.
    2. Processor Type—Select CPU or GPU as needed.

      If GPU is available, it is recommended that you select GPU and set GPU ID to the GPU to be used.

    Classify Pixels Using Deep Learning tool Environments tab
  6. Click Run.

    The output layer is added to the map.

    Edge image