<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Classify Pixels Using Deep Learning - how to run efficiently over many images? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/classify-pixels-using-deep-learning-how-to-run/m-p/1573812#M91748</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184201"&gt;@KeithDesertspring&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Great question! While the workflow you're describing—leveraging GPU memory and processing batches of images efficiently—aligns with frameworks like PyTorch or TensorFlow, you can still achieve a similar result using ArcGIS Pro’s deep learning capabilities with Python and the Image Analyst extension.&lt;/P&gt;&lt;P&gt;A good starting point would be this sample notebook:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/python/latest/samples/count-cars-in-aerial-imagery-using-deep-learning/" target="_new" rel="noopener"&gt;&lt;SPAN&gt;Count&lt;/SPAN&gt;&lt;SPAN&gt; Cars&lt;/SPAN&gt;&lt;SPAN&gt; in&lt;/SPAN&gt;&lt;SPAN&gt; Aerial&lt;/SPAN&gt;&lt;SPAN&gt; Imagery&lt;/SPAN&gt;&lt;SPAN&gt; Using&lt;/SPAN&gt;&lt;SPAN&gt; Deep&lt;/SPAN&gt;&lt;SPAN&gt; Learning&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This example demonstrates how to use the detect_objects API to process images in a loop with a DLPK model. Although it’s designed for object detection, the concepts can be adapted for pixel classification tasks.&lt;/P&gt;&lt;P&gt;Let me know if you’d like help tailoring this workflow further!&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jan 2025 04:04:26 GMT</pubDate>
    <dc:creator>PriyankaTuteja</dc:creator>
    <dc:date>2025-01-09T04:04:26Z</dc:date>
    <item>
      <title>Classify Pixels Using Deep Learning - how to run efficiently over many images?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/classify-pixels-using-deep-learning-how-to-run/m-p/1569411#M91347</link>
      <description>&lt;P&gt;I'm attempting to analyze millions of JPG images stored in a filesystem using&amp;nbsp;arcpy.ia.ClassifyPixelsUsingDeepLearning and am stuck on how to do this efficiently.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My ideal script would instantiate the model into GPU memory and then feed it batches of images within a loop. Ideally I'd load these batches using my own parallel processing code, and the images would be provided to the model as numpy arrays or torch tensors, with the output being received in a similar object format.&amp;nbsp;This is how you do it outside of the ESRI ecosystem, and it is very performant and flexible and easy to reason about.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anything like this possible using Python + Image Analyst + DPLK models?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS Pro 3.3 on Windows 11&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 17:14:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/classify-pixels-using-deep-learning-how-to-run/m-p/1569411#M91347</guid>
      <dc:creator>KeithDesertspring</dc:creator>
      <dc:date>2024-12-17T17:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Classify Pixels Using Deep Learning - how to run efficiently over many images?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/classify-pixels-using-deep-learning-how-to-run/m-p/1572495#M91623</link>
      <description>&lt;P&gt;Hey Keith,&lt;/P&gt;&lt;P&gt;This is quite a specialised question and unfortunately, not one I think we will get an exact answer too, particularly if we are looking at automating this. You might have better luck posting this on the ArcGIS API for Python board.&lt;/P&gt;&lt;P&gt;I would recommend checking the Notebook&lt;A href="https://developers.arcgis.com/python/latest/samples/land-cover-classification-using-unet/" target="_self"&gt; samples&lt;/A&gt; site as well, as you might be able to reuse some code snippets that can assist.&lt;/P&gt;&lt;P&gt;The following &lt;A href="https://developers.arcgis.com/python/latest/guide/utilize-multiple-gpus-to-train-model/" target="_self"&gt;documentation&lt;/A&gt; may also offer some assistance if you are looking to utilise this on numerous GPUs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully some of that helps,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 17:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/classify-pixels-using-deep-learning-how-to-run/m-p/1572495#M91623</guid>
      <dc:creator>David_McRitchie</dc:creator>
      <dc:date>2025-01-03T17:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Classify Pixels Using Deep Learning - how to run efficiently over many images?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/classify-pixels-using-deep-learning-how-to-run/m-p/1573812#M91748</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184201"&gt;@KeithDesertspring&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Great question! While the workflow you're describing—leveraging GPU memory and processing batches of images efficiently—aligns with frameworks like PyTorch or TensorFlow, you can still achieve a similar result using ArcGIS Pro’s deep learning capabilities with Python and the Image Analyst extension.&lt;/P&gt;&lt;P&gt;A good starting point would be this sample notebook:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/python/latest/samples/count-cars-in-aerial-imagery-using-deep-learning/" target="_new" rel="noopener"&gt;&lt;SPAN&gt;Count&lt;/SPAN&gt;&lt;SPAN&gt; Cars&lt;/SPAN&gt;&lt;SPAN&gt; in&lt;/SPAN&gt;&lt;SPAN&gt; Aerial&lt;/SPAN&gt;&lt;SPAN&gt; Imagery&lt;/SPAN&gt;&lt;SPAN&gt; Using&lt;/SPAN&gt;&lt;SPAN&gt; Deep&lt;/SPAN&gt;&lt;SPAN&gt; Learning&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This example demonstrates how to use the detect_objects API to process images in a loop with a DLPK model. Although it’s designed for object detection, the concepts can be adapted for pixel classification tasks.&lt;/P&gt;&lt;P&gt;Let me know if you’d like help tailoring this workflow further!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 04:04:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/classify-pixels-using-deep-learning-how-to-run/m-p/1573812#M91748</guid>
      <dc:creator>PriyankaTuteja</dc:creator>
      <dc:date>2025-01-09T04:04:26Z</dc:date>
    </item>
  </channel>
</rss>

