<?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: Rare habitat mapping with deeplearning - NoData class issue? in ArcGIS Image Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1288845#M463</link>
    <description>&lt;DIV class=""&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/658346"&gt;@AdrienMichez&lt;/a&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Could you please provide more information about your data?&lt;/DIV&gt;&lt;DIV class=""&gt;1. What is the pixel depth of the input raster?&lt;/DIV&gt;&lt;DIV class=""&gt;2. How does the images in data.show_batch look like? Any screenshot?&lt;/DIV&gt;&lt;DIV class=""&gt;3. What error do you see when trying with ignore_classes=0.&amp;nbsp; We have a notebook that shows how to train a model with sparse data,&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/samples/land-cover-classification-using-sparse-training-data/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/samples/land-cover-classification-using-sparse-training-data/. &lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;What version of argis python api are you using?&lt;/DIV&gt;&lt;DIV class=""&gt;4. How many features are labelled for class 1 and class 2 (info can be found in stat.txt file)?&lt;/DIV&gt;&lt;DIV class=""&gt;5. How much time did you provide AutoDL to evaluate model performance on this data?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Additionally, there are some tips that you could try:&lt;/DIV&gt;&lt;DIV class=""&gt;1. Try rescaling input raster to 8 bit unsigned and train model.&lt;/DIV&gt;&lt;DIV class=""&gt;2. Use MMSegmentation based DeepLabV3Plus or HRNet for training.&lt;/DIV&gt;&lt;DIV class=""&gt;3. USs PCA (Principal Component Analysis) tool in ArcGIS Pro and get most relevant bands to get the input raster. There may be bands adding noise to the data.&lt;/DIV&gt;&lt;DIV class=""&gt;4.&amp;nbsp;Try training with input which is not normalized or rescaled. Deep learning models do that internally so it may not be needed. However, just change the pixel depth of you composite raster.&lt;/DIV&gt;</description>
    <pubDate>Sat, 13 May 2023 04:11:25 GMT</pubDate>
    <dc:creator>PriyankaTuteja</dc:creator>
    <dc:date>2023-05-13T04:11:25Z</dc:date>
    <item>
      <title>Rare habitat mapping with deeplearning - NoData class issue?</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1283713#M455</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I'm trying to detect in Southern Belgium rare and humid grasslands/wetlands.&amp;nbsp; I'm not satisfied with the results and I would like to stress my workflow with the community. Any advise, tips are warmly welcome!&lt;/P&gt;&lt;P&gt;This is kind a large scale project as I want to build an AI model which can track those habitats across the entire region (ca. 17000 km²). I have a reference data set with the delineated patches of the habitats and of course. The reference dataset represents a total amount of 18 km² located across the entire region. The idea is to find those habitats outside these know locations in order to protect them.&lt;/P&gt;&lt;P&gt;As input imagery data, I have two satellite mosaics (superresolution of sentinel 2) covering the area in leaf-off and leaf-on condition (2 * 10 bands), a lidar dtm, dsm and chm and a LULC maps. I resampled (2.5m), normalized (using median and interquartile range) all layers and stacked in one multilayer raster.&lt;/P&gt;&lt;P&gt;For the moment, the best results I got were from a PSP model using two classes, class 1 being the targeted class (rare habitat patches) and 2 the surrounding pixels inside the habitat patch bounding box. I used PSP model after running autoDL which highlighted PSP as the best solution.&lt;/P&gt;&lt;P&gt;Here the results after 49 epochs (just gave you the 3 first):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrienMichez_0-1682666629114.png" style="width: 580px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69414i97A01FAC676D33FD/image-dimensions/580x103?v=v2" width="580" height="103" role="button" title="AdrienMichez_0-1682666629114.png" alt="AdrienMichez_0-1682666629114.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrienMichez_1-1682666663796.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69415i658B9B91F0C29F70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdrienMichez_1-1682666663796.png" alt="AdrienMichez_1-1682666663796.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think that the NoData (0 in image labels) sort of dilutes the overall accuracy because my targeted habitat patches are quite rare in the landscape, there are a lot of 0 values in the images used to train the model. And I didn't find a way to class balance the nodata (tried ignore_classes = [0] didn't work). I also tried to train a model jst over the habitat patches but didn't improve.&lt;/P&gt;&lt;P&gt;Do you think that my guess about NoData is good? Should I look somewhere else?&lt;/P&gt;&lt;P&gt;Adrien&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 07:32:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1283713#M455</guid>
      <dc:creator>AdrienMichez</dc:creator>
      <dc:date>2023-04-28T07:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rare habitat mapping with deeplearning - NoData class issue?</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1286672#M462</link>
      <description>&lt;P&gt;Just to refresh the post... I'm still looking for any tips, idea, feedbacks,...&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 12:30:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1286672#M462</guid>
      <dc:creator>AdrienMichez</dc:creator>
      <dc:date>2023-05-08T12:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Rare habitat mapping with deeplearning - NoData class issue?</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1288845#M463</link>
      <description>&lt;DIV class=""&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/658346"&gt;@AdrienMichez&lt;/a&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Could you please provide more information about your data?&lt;/DIV&gt;&lt;DIV class=""&gt;1. What is the pixel depth of the input raster?&lt;/DIV&gt;&lt;DIV class=""&gt;2. How does the images in data.show_batch look like? Any screenshot?&lt;/DIV&gt;&lt;DIV class=""&gt;3. What error do you see when trying with ignore_classes=0.&amp;nbsp; We have a notebook that shows how to train a model with sparse data,&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/samples/land-cover-classification-using-sparse-training-data/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/samples/land-cover-classification-using-sparse-training-data/. &lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;What version of argis python api are you using?&lt;/DIV&gt;&lt;DIV class=""&gt;4. How many features are labelled for class 1 and class 2 (info can be found in stat.txt file)?&lt;/DIV&gt;&lt;DIV class=""&gt;5. How much time did you provide AutoDL to evaluate model performance on this data?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Additionally, there are some tips that you could try:&lt;/DIV&gt;&lt;DIV class=""&gt;1. Try rescaling input raster to 8 bit unsigned and train model.&lt;/DIV&gt;&lt;DIV class=""&gt;2. Use MMSegmentation based DeepLabV3Plus or HRNet for training.&lt;/DIV&gt;&lt;DIV class=""&gt;3. USs PCA (Principal Component Analysis) tool in ArcGIS Pro and get most relevant bands to get the input raster. There may be bands adding noise to the data.&lt;/DIV&gt;&lt;DIV class=""&gt;4.&amp;nbsp;Try training with input which is not normalized or rescaled. Deep learning models do that internally so it may not be needed. However, just change the pixel depth of you composite raster.&lt;/DIV&gt;</description>
      <pubDate>Sat, 13 May 2023 04:11:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1288845#M463</guid>
      <dc:creator>PriyankaTuteja</dc:creator>
      <dc:date>2023-05-13T04:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rare habitat mapping with deeplearning - NoData class issue?</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1291273#M465</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/82798"&gt;@PriyankaTuteja&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer and advises!&lt;/P&gt;&lt;P&gt;First block:&lt;/P&gt;&lt;P&gt;1. 32 bit float. It would be such a pity to reduce lidar data to 8 bit pixel depth&lt;/P&gt;&lt;P&gt;2. data.show_batch: not sure to know what's this object (I'm using GUI). Some screenshots of training sample (here with aerial images).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrienMichez_0-1684527944818.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71201i4D8C456A8AE8B2ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdrienMichez_0-1684527944818.png" alt="AdrienMichez_0-1684527944818.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrienMichez_1-1684528036128.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71202i9EB3123BEAF57704/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdrienMichez_1-1684528036128.png" alt="AdrienMichez_1-1684528036128.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. I get this error (only when I ignored the 0 class):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrienMichez_2-1684528152229.png" style="width: 640px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71204iF0BE43F2290D23A6/image-dimensions/640x26?v=v2" width="640" height="26" role="button" title="AdrienMichez_2-1684528152229.png" alt="AdrienMichez_2-1684528152229.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm using the GUI&lt;/P&gt;&lt;P&gt;4.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdrienMichez_3-1684528347079.png" style="width: 533px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71206i833F32BADFF60B0A/image-dimensions/533x104?v=v2" width="533" height="104" role="button" title="AdrienMichez_3-1684528347079.png" alt="AdrienMichez_3-1684528347079.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;5. I think enough &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I cannot remember but it delivered the result well before reaching the time limit&lt;/P&gt;&lt;P&gt;If you're interested I can share data. I would be more than happy to contribute to a new notebook as I think a lot of people wants to use deep learning with more complex data structure than RGB imagery.&lt;/P&gt;&lt;P&gt;Second batch of advises:&lt;/P&gt;&lt;P&gt;1. Ok but if possible, I would appreciate not to&lt;/P&gt;&lt;P&gt;2. I will surely do!&lt;/P&gt;&lt;P&gt;3. DeepLearning should handle that no? PCA approaches assume linear relationship between predictors and targeted classes. I don't want to check that!&lt;/P&gt;&lt;P&gt;4. Same concern than with pixel depth...&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 20:43:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1291273#M465</guid>
      <dc:creator>AdrienMichez</dc:creator>
      <dc:date>2023-05-19T20:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rare habitat mapping with deeplearning - NoData class issue?</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1291504#M466</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/658346"&gt;@AdrienMichez&lt;/a&gt;&amp;nbsp; Please provide training data and your notebook so that i could try this on my end. Also, if possible, provide input imagery/labels for exporting the training data. Email address: ptuteja@esri.com&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 08:24:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1291504#M466</guid>
      <dc:creator>PriyankaTuteja</dc:creator>
      <dc:date>2023-05-22T08:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rare habitat mapping with deeplearning - NoData class issue?</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1296562#M468</link>
      <description>&lt;P&gt;Thanks for your answer. I'm preparing everything and get back to you by email.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:30:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/rare-habitat-mapping-with-deeplearning-nodata/m-p/1296562#M468</guid>
      <dc:creator>AdrienMichez</dc:creator>
      <dc:date>2023-06-07T07:30:15Z</dc:date>
    </item>
  </channel>
</rss>

