<?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: Arcpy Detect Object Using Deep Learning error read input raster in Imagery and Remote Sensing Questions</title>
    <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/arcpy-detect-object-using-deep-learning-error-read/m-p/1508566#M786</link>
    <description>&lt;P&gt;I have had a similar error using detect objects using deep learning as a "click through" tool. I copied from the history over to jupyter &amp;amp; set&amp;nbsp; workspace to in memory and it ran now 3 times in a row.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jul 2024 13:58:21 GMT</pubDate>
    <dc:creator>CordulaGöke</dc:creator>
    <dc:date>2024-07-23T13:58:21Z</dc:date>
    <item>
      <title>Arcpy Detect Object Using Deep Learning error read input raster</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/arcpy-detect-object-using-deep-learning-error-read/m-p/1366154#M30</link>
      <description>&lt;P&gt;Hi, I am trying to do object detection process&amp;nbsp;&lt;SPAN&gt;with standalone script using Arcpy.&amp;nbsp;The arcgis pro version is ArcGIS Pro 3.2.1. I made this script based on model builder and this documentation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A title="Documentation" href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/image-analyst/detect-objects-using-deep-learning.htm" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/image-analyst/detect-objects-using-deep-learning.htm&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The script i use is written below.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ia&lt;/SPAN&gt; &lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;CheckOutExtension&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"ImageAnalyst"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;in_models&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;'C:/Users/GIS Dev/Documents/Riset_arcpy/model_map_space/model_5_epoch/model_5_epoch.dlpk'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;data_raster&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;'C:/Users/GIS Dev/Documents/Riset_arcpy.ia/Radarsat-2-4978_I005632_FL01-P008585_Scene_1_2023_08_20_22_01_42/tif'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;obj_detection&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;'obj.shp'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;model_args&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"padding 56; threshold 0.5; nms_overlap 0.1; batch_size 64; exclude_pad_detections True; test_time_augmentation False"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;run_nms&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"NO_NMS"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;confidence_score_field&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"Confidence"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;class_value_field&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"Class"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;max_overlap_ratio&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;processing_mode&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"PROCESS_AS_MOSAICKED_IMAGE"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;env&lt;/SPAN&gt;&lt;SPAN&gt;.extent &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Extent&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;113.7975122046781706&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;7.7461582880389077&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;114.0177164475001632&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;7.4046301537038710&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Output_Classified_Raster&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.ia.DetectObjectsUsingDeepLearning(&lt;/SPAN&gt;&lt;SPAN&gt;data_raster&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;obj_detection&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;in_models&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;model_args&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;run_nms&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;confidence_score_field&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;class_value_field&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;max_overlap_ratio&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;processing_mode&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;When i ran this script it shows error like this&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Users\GIS Dev\Documents\Riset_arcpy.ia\Radarsat-2-4978_I005632_FL01-P008585_Scene_1_2023_08_20_22_01_42\tif\obj.py", line 16, in &amp;lt;module&amp;gt;&lt;BR /&gt;Output_Classified_Raster = arcpy.ia.DetectObjectsUsingDeepLearning(data_raster,&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\ia\Functions.py", line 4040, in DetectObjectsUsingDeepLearning&lt;BR /&gt;return Wrapper(&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\sa\Utils.py", line 55, in swapper&lt;BR /&gt;result = wrapper(*args, **kwargs)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\ia\Functions.py", line 4029, in Wrapper&lt;BR /&gt;result = arcpy.gp.DetectObjectsUsingDeepLearning_ia(&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 520, in &amp;lt;lambda&amp;gt;&lt;BR /&gt;return lambda *args: val(*gp_fixargs(args, True))&lt;BR /&gt;arcgisscripting.ExecuteError: A raster error has occurred. The messages that follow will provide more detail.&lt;BR /&gt;No raster store is configurated. [No SQL data store]&lt;BR /&gt;No raster store is configurated. [No SQL data store]&lt;BR /&gt;Failed to execute (DetectObjectsUsingDeepLearning).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN&gt;I cant figure out the solution for this. With the same scenario it ran without error in ArcGIS Pro.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Jan 2024 07:27:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/arcpy-detect-object-using-deep-learning-error-read/m-p/1366154#M30</guid>
      <dc:creator>gishustle</dc:creator>
      <dc:date>2024-01-04T07:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Detect Object Using Deep Learning error read input raster</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/arcpy-detect-object-using-deep-learning-error-read/m-p/1508566#M786</link>
      <description>&lt;P&gt;I have had a similar error using detect objects using deep learning as a "click through" tool. I copied from the history over to jupyter &amp;amp; set&amp;nbsp; workspace to in memory and it ran now 3 times in a row.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 13:58:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/arcpy-detect-object-using-deep-learning-error-read/m-p/1508566#M786</guid>
      <dc:creator>CordulaGöke</dc:creator>
      <dc:date>2024-07-23T13:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Detect Object Using Deep Learning error read input raster</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/arcpy-detect-object-using-deep-learning-error-read/m-p/1514284#M787</link>
      <description>&lt;P&gt;Are you saying that running the script in a Jupyter notebook rather than ArcGIS Pro GUI fixed the problem?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 17:12:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/arcpy-detect-object-using-deep-learning-error-read/m-p/1514284#M787</guid>
      <dc:creator>JonMarrs</dc:creator>
      <dc:date>2024-08-02T17:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Detect Object Using Deep Learning error read input raster</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/arcpy-detect-object-using-deep-learning-error-read/m-p/1514940#M788</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/816085"&gt;@JonMarrs&lt;/a&gt; switching to jupyter and setting in memory as workspace. As far as I remember, it was not enough to switch to jupyter alone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 13:48:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/arcpy-detect-object-using-deep-learning-error-read/m-p/1514940#M788</guid>
      <dc:creator>CordulaGöke</dc:creator>
      <dc:date>2024-08-05T13:48:30Z</dc:date>
    </item>
  </channel>
</rss>

