<?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: Detect Objects Using Deep Learning raster error in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1600080#M94427</link>
    <description>&lt;P&gt;via code or the builtin tool?&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/raster-analysis/detect-objects-using-deep-learning.htm" target="_blank"&gt;Detect Objects Using Deep Learning (Raster Analysis)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You may have to track back the error to its source during the creation process to get at the one thrown by which-ever method you used.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2025 19:28:04 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2025-03-27T19:28:04Z</dc:date>
    <item>
      <title>Detect Objects Using Deep Learning raster error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1600045#M94423</link>
      <description>&lt;P&gt;Can anyone make sense of this error. I am trying to detect objects on a historic map.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;A raster error has occurred. The messages that follow will provide more detail.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Python raster function is unable to vectorize the data. [Failed to generate table]&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Python raster function is unable to vectorize the data.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;  File "C:\Users\bgardner\AppData\Local\Temp\ArcGISProTemp28396\CentralSouth.dlpk\ArcGISObjectDetector.py", line 218, in vectorize&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;    polygon_list, scores, classes = self.tta_scale_detect_objects(&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;  File "C:\Users\bgardner\AppData\Local\Temp\ArcGISProTemp28396\CentralSouth.dlpk\ArcGISObjectDetector.py", line 293, in tta_scale_detect_objects&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;    polygon_list, scores, classes = self.tta_detect_objects(&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;                                    ^^^^^^^^^^^^^^^^^^^^^^^^&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;  File "C:\Users\bgardner\AppData\Local\Temp\ArcGISProTemp28396\CentralSouth.dlpk\ArcGISObjectDetector.py", line 370, in tta_detect_objects&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;    pixelBlocksCopy["raster_pixels"] = (out.data * 256).numpy()&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;                                        ^^^^^^^^&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;  File "C:\Users\bgardner\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-2\Lib\site-packages\fastai\vision\image.py", line 214, in data&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;    return self.px&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;           ^^^^^^^&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;  File "C:\Users\bgardner\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-2\Lib\site-packages\fastai\vision\image.py", line 145, in px&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;    self.refresh()&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;  File "C:\Users\bgardner\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-2\Lib\site-packages\fastai\vision\image.py", line 132, in refresh&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;    self._px = _grid_sample(self._px, self.flow, **self.sample_kwargs)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;                                      ^^^^^^^^^&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;  File "C:\Users\bgardner\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-2\Lib\site-packages\fastai\vision\image.py", line 156, in flow&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;    self._flow = _affine_grid(self.shape)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;                 ^^^^^^^^^^^^^^^^^^^^^^^^&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;  File "C:\Users\bgardner\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-2\Lib\site-packages\fastai\vision\image.py", line 547, in _affine_grid&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;    N, C, H, W = size&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;    ^^^^^^^^^^&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;ValueError: not enough values to unpack (expected 4, got 3)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Python Raster Function's .vectorize() method returned nothing.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Failed to execute (DetectObjectsUsingDeepLearning).&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;Failed at Wednesday, March 26, 2025 2:41:38 PM (Elapsed Time: 45.01 seconds)&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Mar 2025 17:58:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1600045#M94423</guid>
      <dc:creator>BryceGardnerIA</dc:creator>
      <dc:date>2025-03-27T17:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Objects Using Deep Learning raster error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1600080#M94427</link>
      <description>&lt;P&gt;via code or the builtin tool?&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/raster-analysis/detect-objects-using-deep-learning.htm" target="_blank"&gt;Detect Objects Using Deep Learning (Raster Analysis)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You may have to track back the error to its source during the creation process to get at the one thrown by which-ever method you used.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 19:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1600080#M94427</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-03-27T19:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Objects Using Deep Learning raster error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1600091#M94429</link>
      <description>&lt;P&gt;Hi Dan! Thank you. This is using the built-in tool. I don't know how to track it back since it's built-in.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 19:39:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1600091#M94429</guid>
      <dc:creator>BryceGardnerIA</dc:creator>
      <dc:date>2025-03-27T19:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Objects Using Deep Learning raster error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1600220#M94437</link>
      <description>&lt;P&gt;By track back, I meant the procedures under the Usage section.&amp;nbsp; This ensures the inputs are correct for the tool&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 22:38:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1600220#M94437</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-03-27T22:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Objects Using Deep Learning raster error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1603167#M94687</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/847957"&gt;@BryceGardnerIA&lt;/a&gt;, could you please confirm which model architecture (i.e. MaskRCNN, SSD, RetinaNet, etc) are you using?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 06:18:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1603167#M94687</guid>
      <dc:creator>ShivaniPathak</dc:creator>
      <dc:date>2025-04-07T06:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Detect Objects Using Deep Learning raster error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1696026#M102769</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/847957"&gt;@BryceGardnerIA&lt;/a&gt;&amp;nbsp;were you able to work around this at all? I'm running into the same issue on all model runs using Pascal VOC metadata. I'm able to get RCNN Masks to work, but that is basically limiting the types of model I can create. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 02:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/detect-objects-using-deep-learning-raster-error/m-p/1696026#M102769</guid>
      <dc:creator>adsilb</dc:creator>
      <dc:date>2026-04-14T02:17:51Z</dc:date>
    </item>
  </channel>
</rss>

