<?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: Ship Detection Using ArcGIS deep learning in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1341381#M74402</link>
    <description>&lt;P&gt;I think you may be missing a parameter - the Input Water polygon (listed as AOI) in the documents.&amp;nbsp; I believe this serves as the clipping polygon for the deep learning package.&amp;nbsp; I'd recommend creating an AOI polygon feature class for your area of interest and run the GP tool again.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2023 14:15:55 GMT</pubDate>
    <dc:creator>Robert_LeClair</dc:creator>
    <dc:date>2023-10-25T14:15:55Z</dc:date>
    <item>
      <title>Ship Detection Using ArcGIS deep learning</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1341323#M74397</link>
      <description>&lt;P&gt;I currently have ArcGIS pro version 3.1.3, and followed the steps at&amp;nbsp;&lt;A href="https://github.com/Esri/deep-learning-frameworks/blob/master/README.md?rmedium=links_esri_com_b_d&amp;amp;rsource=https%3A%2F%2Flinks.esri.com%2Fdeep-learning-framework-install" target="_blank" rel="noopener"&gt;esri and github&lt;/A&gt;&amp;nbsp;and installed the deep learning frame work v3.1 for Arcgis pro. I then proceeded to download the SAR image of the harbor of Aberdeen from&amp;nbsp;&lt;A href="https://scihub.copernicus.eu/dhus/#/home" target="_blank" rel="noopener"&gt;copernicus&lt;/A&gt;. I then proceeded to use the Arcgis model to detect ship from the SAR image as show on the&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/pretrained-models/latest/imagery/using-ship-detection-sar-.htm" target="_blank" rel="noopener"&gt;ArcGis website&lt;/A&gt;&amp;nbsp;(see screenshots), However I keep receiving this error code: "&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Traceback (most recent call last):
  File "C:\Users\23470\Documents\ArcGIS\Projects\MyProject23\DetectShipsFromSAR.py", line 64, in &amp;lt;module&amp;gt;
    out_raster = arcpy.management.Clip(in_raster, "#", "#", in_mask, "65536", "ClippingGeometry", "NO_MAINTAIN_EXTENT")
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 20983, in Clip
    raise e
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 20980, in Clip
    retval = convertArcObjectToPythonObject(gp.Clip_management(*gp_fixargs((in_raster, rectangle, out_raster, in_template_dataset, nodata_value, clipping_geometry, maintain_clipping_extent), True)))
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt;
    return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: &lt;/SPAN&gt;ERROR 001566:&lt;SPAN class=""&gt; Failed to create raster dataset. The reason could be: The clip feature is outside the raster extent.&lt;/SPAN&gt;ERROR 001566:&lt;SPAN class=""&gt; Failed to create raster dataset. The reason could be: The clip feature is outside the raster extent.
Failed to execute (Clip).

&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;Failed script Detect Ships using SAR data...&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Failed to execute (DetectShipsUsingSARData).&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;Failed at Wednesday, 25 October 2023 12:44:31 (Elapsed Time: 5.26 seconds)&lt;/PRE&gt;&lt;P&gt;"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are screen shots, Kindly assist, I wan t to detect ships at the harbor of Aberdeen&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Opening with Another template" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83904i22649D38E48C9292/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selecting Template" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83905iDDADB8591B1C40B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Opening the Template" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83906iE922B9E91E384A2C/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Opened template" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83907i68AACFDEF13D64E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="selecting raster image from the measurement folder of the downloaded image from copernicus(I selected vv polarizarion with .tiff extension)" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83909i8924E60E8E5B8FDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selecting the downloaded deep learning model" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83908iE3EA9FACADF8D463/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="selected the model" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83910i39CE6C47908EB136/image-size/large?v=v2&amp;amp;px=999" role="button" title="7.png" alt="7.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Running ship detection" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83913iDD4F899695BDF977/image-size/large?v=v2&amp;amp;px=999" role="button" title="9.png" alt="9.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error Page" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83912i74FEE7BCCD5409D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="10.png" alt="10.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Full description of Error" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83914i7989246528F9D77C/image-size/large?v=v2&amp;amp;px=999" role="button" title="11.png" alt="11.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TO resolve the error, I created a ship file to use as the water polygone" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83915iEFD47DFEB36DC10D/image-size/large?v=v2&amp;amp;px=999" role="button" title="12.png" alt="12.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="I still got same error again after selecting the water polygon" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83917iC690D65175B79FA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="14.png" alt="14.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="selecting the polygon of interest from Copernisu hub" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83916i4F7E97CA3062C329/image-size/large?v=v2&amp;amp;px=999" role="button" title="15.png" alt="15.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selecting sentinel 1 VV from the filter at Copernicus hub" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83918i27E743F8617B8D6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="16.png" alt="16.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Viewing the image of the intended area of interest" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83919i3C9DBB4D0A29DC5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="17.png" alt="17.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Viewing the properties of the image before downloading (SAR VV polarization)" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83920i6506CED86A0B08E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="18.png" alt="18.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Downloaded image of the area of interest (measurement folder of the downloaded image)" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83921i08525AD03A1DE3AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="19.png" alt="19.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:00:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1341323#M74397</guid>
      <dc:creator>Aminu</dc:creator>
      <dc:date>2023-10-25T13:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ship Detection Using ArcGIS deep learning</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1341381#M74402</link>
      <description>&lt;P&gt;I think you may be missing a parameter - the Input Water polygon (listed as AOI) in the documents.&amp;nbsp; I believe this serves as the clipping polygon for the deep learning package.&amp;nbsp; I'd recommend creating an AOI polygon feature class for your area of interest and run the GP tool again.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 14:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1341381#M74402</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2023-10-25T14:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ship Detection Using ArcGIS deep learning</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1341478#M74415</link>
      <description>&lt;P&gt;I really don't know how to do that, how can I create an AOI?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 15:57:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1341478#M74415</guid>
      <dc:creator>Aminu</dc:creator>
      <dc:date>2023-10-25T15:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ship Detection Using ArcGIS deep learning</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1341498#M74417</link>
      <description>&lt;P&gt;First, you will need to &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/feature-classes/create-a-feature-class.htm" target="_self"&gt;create a polygon feature class&lt;/A&gt; in your project geodatabase.&amp;nbsp; Then you need to digitize/create a &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/editing/create-polygon-features.htm" target="_self"&gt;new polygon feature&lt;/A&gt; in your polygon feature class.&amp;nbsp; Lastly save the edit session and then use that newly created feature as input for the geoprocessing tool.&amp;nbsp; If you've never done this before, there's a quick start tutorial &lt;A href="https://pro.arcgis.com/en/pro-app/latest/get-started/create-points-on-a-map.htm" target="_self"&gt;here&lt;/A&gt; that follows the editing workflow for creating a point - just substitute the polygon concept for the point concept.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 16:13:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1341498#M74417</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2023-10-25T16:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ship Detection Using ArcGIS deep learning</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1341879#M74461</link>
      <description>&lt;P&gt;Thanks, I did follow the tutorial you provided (see screenshot), unfortunately I still get this error code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Detect Ships using SAR data&lt;BR /&gt;=====================&lt;BR /&gt;Parameters&lt;/P&gt;&lt;P&gt;Input Raster C:\Users\23470\Desktop\ArcGIswork\Images\S1A_IW_SLC__1SDV_20230916T063025_20230916T063052_050349_060FCD_0481.SAFE\measurement\s1a-iw2-slc-vv-20230916t063027-20230916t063052-050349-060fcd-005.tiff&lt;BR /&gt;Output Detected Ships C:\Users\23470\Documents\ArcGIS\Projects\MyProject25\MyProject25.gdb\s1aiw2slcvv20230916t06302720230916t063052050349060fcd005_DetectShipsUsingSARData&lt;BR /&gt;Input Water Polygon Aberdeen Harbor Latest 2&lt;BR /&gt;Model Definition C:\Users\23470\Desktop\ArcGIswork\SARShipDetection.dlpk&lt;BR /&gt;Model Arguments padding 56;batch_size 4;threshold 0.4;tile_size 512&lt;BR /&gt;Non Maximum Suppression false&lt;BR /&gt;Confidence Score Field Confidence&lt;BR /&gt;Class Value Field Class&lt;BR /&gt;Maximum Overlap Ratio 0.2&lt;BR /&gt;Processor Type CPU&lt;BR /&gt;GPU ID 0&lt;BR /&gt;Cell Size 6.66299810375457E-05&lt;BR /&gt;previous_raster C:\Users\23470\Desktop\ArcGIswork\Images\S1A_IW_SLC__1SDV_20230916T063025_20230916T063052_050349_060FCD_0481.SAFE\measurement\s1a-iw2-slc-vv-20230916t063027-20230916t063052-050349-060fcd-005.tiff&lt;BR /&gt;=====================&lt;BR /&gt;Messages&lt;/P&gt;&lt;P&gt;Start Time: Thursday, 26 October 2023 13:09:16&lt;BR /&gt;Clipping the raster...&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Users\23470\Documents\ArcGIS\Projects\MyProject25\DetectShipsFromSAR.py", line 64, in &amp;lt;module&amp;gt;&lt;BR /&gt;out_raster = arcpy.management.Clip(in_raster, "#", "#", in_mask, "65536", "ClippingGeometry", "NO_MAINTAIN_EXTENT")&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 20983, in Clip&lt;BR /&gt;raise e&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 20980, in Clip&lt;BR /&gt;retval = convertArcObjectToPythonObject(gp.Clip_management(*gp_fixargs((in_raster, rectangle, out_raster, in_template_dataset, nodata_value, clipping_geometry, maintain_clipping_extent), True)))&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt;&lt;BR /&gt;return lambda *args: val(*gp_fixargs(args, True))&lt;BR /&gt;arcgisscripting.ExecuteError: ERROR 000446: Output file format with specified pixel type or number of bands or colormap is not supported. Refer to the 'Technical specifications for raster dataset formats' help section in Desktop Help.&lt;BR /&gt;The table was not found. [s1aiw2slcvv20230916t063_Clip]&lt;BR /&gt;The table was not found. [s1aiw2slcvv20230916t063_Clip]&lt;BR /&gt;ERROR 000446: Output file format with specified pixel type or number of bands or colormap is not supported. Refer to the 'Technical specifications for raster dataset formats' help section in Desktop Help.&lt;BR /&gt;Failed to execute (Clip).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Failed script Detect Ships using SAR data...&lt;BR /&gt;Failed to execute (DetectShipsUsingSARData).&lt;BR /&gt;Failed at Thursday, 26 October 2023 13:09:22 (Elapsed Time: 5.81 seconds)"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Added an input water polygon" style="width: 624px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84079i25ED03151DBA109B/image-size/large?v=v2&amp;amp;px=999" role="button" title="20.png" alt="Added an input water polygon" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Added an input water polygon&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 12:16:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1341879#M74461</guid>
      <dc:creator>Aminu</dc:creator>
      <dc:date>2023-10-26T12:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ship Detection Using ArcGIS deep learning</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1342026#M74472</link>
      <description>&lt;P&gt;Thank you for the screen grab and the error messages.&amp;nbsp; One thing that stands out is your out put raster dataset -&amp;nbsp;&lt;SPAN&gt;C:\Users\23470\Documents\ArcGIS\Projects\MyProject25\MyProject25.gdb\s1aiw2slcvv20230916t06302720230916t063052050349060fcd005_DetectShipsUsingSARData - has a SUPER long name!&amp;nbsp; That could be the issue.&amp;nbsp; I would change the output name to be&amp;nbsp;C:\Users\23470\Documents\ArcGIS\Projects\MyProject25\MyProject25.gdb\DetectedShipsUsingSARData or something even shorter.&amp;nbsp; Run the tool again.&amp;nbsp; What is the output or error message?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 15:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1342026#M74472</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2023-10-26T15:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ship Detection Using ArcGIS deep learning</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1373323#M77768</link>
      <description>&lt;P&gt;Hey Aminu,&lt;/P&gt;&lt;P&gt;Were you able to run the Detect Ships using SAR data tool?&lt;/P&gt;&lt;P&gt;The tool ran successfully at my end.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 06:10:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/ship-detection-using-arcgis-deep-learning/m-p/1373323#M77768</guid>
      <dc:creator>ShivaniPathak</dc:creator>
      <dc:date>2024-01-23T06:10:41Z</dc:date>
    </item>
  </channel>
</rss>

