<?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 Classify Wetland Pixels with Deep Learning - Training Input Raster Questions in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/classify-wetland-pixels-with-deep-learning/m-p/1600262#M94442</link>
    <description>&lt;P data-unlink="true"&gt;I'm trying to classify wetland pixels using deep learning (U-Net), following the documentation&amp;nbsp;&lt;A href="https://esrips.github.io/ah-docs/docs/userGuides/wetland-identification/Using_Deep_Learning_for_Wetland_Identification" target="_self"&gt;here&lt;/A&gt;. This guide suggests using ArcHydro's WIM tools in conjunction with the deep learning tools. Following this, I created rasters in my study area for Topographic Wetness Index, Depth to Water Index, and Curvature using the ArcHydro toolbox. These 3 rasters were output as 32-bit float by the tools. I composited the 3 rasters, also resulting in a 32-bit float tif. However, reading posts in this community suggest that the pixel depth for the input training raster should be 8-bit unsigned. This has led to the following questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;&amp;nbsp;Should my composite raster from the ArcHydro tools be 8-bit unsigned, or is that rule just for imagery?&amp;nbsp;&lt;/STRONG&gt;I also don't understand WHY imagery needs to be 8-bit for deep learning.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;If I wanted to add more predictor variables to my composite, like 4-band NAIP imagery, is there anything in particular I should do/consider? Or should it work using the standard workflow?&lt;/STRONG&gt;&amp;nbsp;Using the standard workflow, I would clip the NAIP raster to the same extent as the 3 predictors (TWI, DWI, curvature), make sure the resolution is the same (3m), then composite the rasters normally (in the screenshot below, Extract_MD_N1 is the 4-band NAIP imagery). I'm not sure if this is feasible, combining satellite imagery with the 3 topographically derived indicators. I believe U-Net treats each band as a separate channel, so I don't see why it wouldn't be possible, but I haven't been able to find any examples. I have two questions stemming from this:&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;What should the pixel depth be?&lt;/STRONG&gt; NAIP is 8-bit, the ArcHydro predictors are 32-bit float. According to this&amp;nbsp;&lt;A href="https://community.esri.com/t5/imagery-and-remote-sensing-insights-iris-cop/classify-pixels-using-deep-learning-results-not/td-p/1045299" target="_self"&gt;post&lt;/A&gt;, any training imagery should be 8-bit unsigned. Should I convert the ArcHydro predictors to 8-bit, or the NAIP 4-band image to 32-bit?&lt;/LI&gt;&lt;LI&gt;Assuming I now have a 7-band raster for my training data (b1=DTW, b2=TWI, b3=Curvature, b4=red band from NAIP, b5=green band from NAIP, b6=blue band from NAIP, b7=NIR band from NAIP) - should I treat this as multispectral imagery when calling the prepare_data() function? i.e. specifying "imagery_type"? I don't entirely understand this, but I think specifying the imagery_type preserves band weights from the pre-trained models used for transfer learning. If this is true, how would I write this into the code? Would something like this be correct, where 'u' is the "miscellaneous" bands from ArcHydro?&amp;nbsp;&lt;OL&gt;&lt;LI&gt;data = prepare_data(data_path, batch_size=16, imagery_type='ms', bands=['u', 'u', 'u', 'r', 'g', 'b', 'nir'])&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MadelineHayes1_0-1743117792947.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/128897i7306ABA6929A4566/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MadelineHayes1_0-1743117792947.png" alt="MadelineHayes1_0-1743117792947.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Mar 2025 00:06:43 GMT</pubDate>
    <dc:creator>MadelineHayes1</dc:creator>
    <dc:date>2025-03-28T00:06:43Z</dc:date>
    <item>
      <title>Classify Wetland Pixels with Deep Learning - Training Input Raster Questions</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/classify-wetland-pixels-with-deep-learning/m-p/1600262#M94442</link>
      <description>&lt;P data-unlink="true"&gt;I'm trying to classify wetland pixels using deep learning (U-Net), following the documentation&amp;nbsp;&lt;A href="https://esrips.github.io/ah-docs/docs/userGuides/wetland-identification/Using_Deep_Learning_for_Wetland_Identification" target="_self"&gt;here&lt;/A&gt;. This guide suggests using ArcHydro's WIM tools in conjunction with the deep learning tools. Following this, I created rasters in my study area for Topographic Wetness Index, Depth to Water Index, and Curvature using the ArcHydro toolbox. These 3 rasters were output as 32-bit float by the tools. I composited the 3 rasters, also resulting in a 32-bit float tif. However, reading posts in this community suggest that the pixel depth for the input training raster should be 8-bit unsigned. This has led to the following questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;&amp;nbsp;Should my composite raster from the ArcHydro tools be 8-bit unsigned, or is that rule just for imagery?&amp;nbsp;&lt;/STRONG&gt;I also don't understand WHY imagery needs to be 8-bit for deep learning.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;If I wanted to add more predictor variables to my composite, like 4-band NAIP imagery, is there anything in particular I should do/consider? Or should it work using the standard workflow?&lt;/STRONG&gt;&amp;nbsp;Using the standard workflow, I would clip the NAIP raster to the same extent as the 3 predictors (TWI, DWI, curvature), make sure the resolution is the same (3m), then composite the rasters normally (in the screenshot below, Extract_MD_N1 is the 4-band NAIP imagery). I'm not sure if this is feasible, combining satellite imagery with the 3 topographically derived indicators. I believe U-Net treats each band as a separate channel, so I don't see why it wouldn't be possible, but I haven't been able to find any examples. I have two questions stemming from this:&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;What should the pixel depth be?&lt;/STRONG&gt; NAIP is 8-bit, the ArcHydro predictors are 32-bit float. According to this&amp;nbsp;&lt;A href="https://community.esri.com/t5/imagery-and-remote-sensing-insights-iris-cop/classify-pixels-using-deep-learning-results-not/td-p/1045299" target="_self"&gt;post&lt;/A&gt;, any training imagery should be 8-bit unsigned. Should I convert the ArcHydro predictors to 8-bit, or the NAIP 4-band image to 32-bit?&lt;/LI&gt;&lt;LI&gt;Assuming I now have a 7-band raster for my training data (b1=DTW, b2=TWI, b3=Curvature, b4=red band from NAIP, b5=green band from NAIP, b6=blue band from NAIP, b7=NIR band from NAIP) - should I treat this as multispectral imagery when calling the prepare_data() function? i.e. specifying "imagery_type"? I don't entirely understand this, but I think specifying the imagery_type preserves band weights from the pre-trained models used for transfer learning. If this is true, how would I write this into the code? Would something like this be correct, where 'u' is the "miscellaneous" bands from ArcHydro?&amp;nbsp;&lt;OL&gt;&lt;LI&gt;data = prepare_data(data_path, batch_size=16, imagery_type='ms', bands=['u', 'u', 'u', 'r', 'g', 'b', 'nir'])&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MadelineHayes1_0-1743117792947.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/128897i7306ABA6929A4566/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MadelineHayes1_0-1743117792947.png" alt="MadelineHayes1_0-1743117792947.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 00:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/classify-wetland-pixels-with-deep-learning/m-p/1600262#M94442</guid>
      <dc:creator>MadelineHayes1</dc:creator>
      <dc:date>2025-03-28T00:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Classify Wetland Pixels with Deep Learning - Training Input Raster Questions</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/classify-wetland-pixels-with-deep-learning/m-p/1603169#M94688</link>
      <description>&lt;P class=""&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/640725"&gt;@MadelineHayes1&lt;/a&gt;, regarding the use of 8-bit unsigned format, we've conducted several tests and found that rasters in this format work best for training deep learning models.&lt;/P&gt;&lt;P class=""&gt;You can definitely create a composite that includes both NAIP bands and ArcHydro outputs. I recommend adding the NAIP bands first, followed by the ArcHydro outputs, all in 8-bit unsigned format.&lt;/P&gt;&lt;P class=""&gt;For reference, here are two sample notebooks you can check out:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/python/latest/samples/glacial-terminus-extraction-using-hrnet/" target="_blank"&gt;https://developers.arcgis.com/python/latest/samples/glacial-terminus-extraction-using-hrnet/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/python/latest/samples/streams-extraction-using-deeplearning/" target="_blank"&gt;https://developers.arcgis.com/python/latest/samples/streams-extraction-using-deeplearning/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Let me know if you need further clarification!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 06:30:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/classify-wetland-pixels-with-deep-learning/m-p/1603169#M94688</guid>
      <dc:creator>ShivaniPathak</dc:creator>
      <dc:date>2025-04-07T06:30:29Z</dc:date>
    </item>
  </channel>
</rss>

