<?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: Object detection is not giving the correct result in ArcGIS Image Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-image-analyst-questions/object-detection-is-not-giving-the-correct-result/m-p/1097504#M432</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/221908"&gt;@TimG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your response and suggestion. I have tried with the same image for both sampling and training, and also tried to run the model onto the same image.&lt;BR /&gt;&lt;BR /&gt;Cell size is consistent with trained data and is 30 cm. Have already tried the settings you have shared. Still no success. I am not sure, but I think may be an issue with the deep learning framework. I am using ArcGIS Pro 2.8, and didn't install the python packages manually, but have used the installer package from Github. Don't know why the outcomes are not correct. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Shahriar&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 01:46:19 GMT</pubDate>
    <dc:creator>ShahriarRahman</dc:creator>
    <dc:date>2021-09-13T01:46:19Z</dc:date>
    <item>
      <title>Object detection is not giving the correct result</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/object-detection-is-not-giving-the-correct-result/m-p/1096198#M430</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have been facing a challenge while detecting building footprints using the ArcGIS Image Analyst extension. I have trained the model, and the loss metrics and ground truth are showing a decent result, but when I am trying to detect the object, I am not getting the building footprints.&lt;/P&gt;&lt;P&gt;##################################################&lt;/P&gt;&lt;P&gt;Here are the details of the trained model,&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"Framework": "arcgis.learn.models._inferencing",&lt;BR /&gt;"InferenceFunction": "[Functions]System\\DeepLearning\\ArcGISLearn\\ArcGISObjectDetector.py",&lt;BR /&gt;"ModelConfiguration": "_DynamicSSD",&lt;BR /&gt;"ModelType": "ObjectDetection",&lt;BR /&gt;"ExtractBands": [&lt;BR /&gt;0,&lt;BR /&gt;1,&lt;BR /&gt;2&lt;BR /&gt;],&lt;BR /&gt;"backbone": "resnet34",&lt;BR /&gt;"Grids": [&lt;BR /&gt;2,&lt;BR /&gt;4,&lt;BR /&gt;21&lt;BR /&gt;],&lt;BR /&gt;"Zooms": [&lt;BR /&gt;1.0&lt;BR /&gt;],&lt;BR /&gt;"Ratios": [&lt;BR /&gt;[&lt;BR /&gt;1.0,&lt;BR /&gt;1.0&lt;BR /&gt;]&lt;BR /&gt;],&lt;BR /&gt;"SSDVersion": 2,&lt;BR /&gt;"Classes": [&lt;BR /&gt;{&lt;BR /&gt;"Value": 1,&lt;BR /&gt;"Name": "build",&lt;BR /&gt;"Color": [&lt;BR /&gt;25,&lt;BR /&gt;66,&lt;BR /&gt;253&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"MinCellSize": {&lt;BR /&gt;"x": 0.29992251483648985,&lt;BR /&gt;"y": 0.29993464576999285,&lt;BR /&gt;"spatialReference": {&lt;BR /&gt;"wkid": 32754,&lt;BR /&gt;"latestWkid": 32754&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"MaxCellSize": {&lt;BR /&gt;"x": 0.29992251483648985,&lt;BR /&gt;"y": 0.29993464576999285,&lt;BR /&gt;"spatialReference": {&lt;BR /&gt;"wkid": 32754,&lt;BR /&gt;"latestWkid": 32754&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"SupportsVariableTileSize": false,&lt;BR /&gt;"ArcGISLearnVersion": "1.8.5",&lt;BR /&gt;"monitored_valid_loss": 30.842981338500977,&lt;BR /&gt;"ModelFile": "model.pth",&lt;BR /&gt;"ImageHeight": 224,&lt;BR /&gt;"ImageWidth": 224,&lt;BR /&gt;"ImageSpaceUsed": "MAP_SPACE",&lt;BR /&gt;"LearningRate": "slice('1.0000e-02', '1.0000e-01', None)",&lt;BR /&gt;"ModelName": "SingleShotDetector",&lt;BR /&gt;"backend": "pytorch",&lt;BR /&gt;"ModelParameters": {&lt;BR /&gt;"backbone": "resnet34",&lt;BR /&gt;"backend": "pytorch"&lt;BR /&gt;},&lt;BR /&gt;"average_precision_score": {&lt;BR /&gt;"build": 0.0833333358168602&lt;BR /&gt;},&lt;BR /&gt;"resize_to": null,&lt;BR /&gt;"IsMultispectral": false&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;##################################################&lt;/P&gt;&lt;P&gt;This is the output I am getting (I have tried with different padding, thresholds and overlapping combinations),&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="DeepLearning.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/22572i1A598B053ECD6840/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DeepLearning.JPG" alt="DeepLearning.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Great to have your suggestions.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Shahriar&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 01:24:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/object-detection-is-not-giving-the-correct-result/m-p/1096198#M430</guid>
      <dc:creator>ShahriarRahman</dc:creator>
      <dc:date>2021-09-08T01:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection is not giving the correct result</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/object-detection-is-not-giving-the-correct-result/m-p/1097481#M431</link>
      <description>&lt;P&gt;Couple of things to check...&lt;/P&gt;&lt;P&gt;-The image is the same type is the training type, by type I mean like 8-bit unsigned.&lt;/P&gt;&lt;P&gt;-the cell size is consistent with trained data&lt;/P&gt;&lt;P&gt;As, at a guess, it could be that the training imagines are not 'equivalent' to the detect (inference)&lt;/P&gt;</description>
      <pubDate>Sun, 12 Sep 2021 19:13:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/object-detection-is-not-giving-the-correct-result/m-p/1097481#M431</guid>
      <dc:creator>TimG</dc:creator>
      <dc:date>2021-09-12T19:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection is not giving the correct result</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/object-detection-is-not-giving-the-correct-result/m-p/1097504#M432</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/221908"&gt;@TimG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your response and suggestion. I have tried with the same image for both sampling and training, and also tried to run the model onto the same image.&lt;BR /&gt;&lt;BR /&gt;Cell size is consistent with trained data and is 30 cm. Have already tried the settings you have shared. Still no success. I am not sure, but I think may be an issue with the deep learning framework. I am using ArcGIS Pro 2.8, and didn't install the python packages manually, but have used the installer package from Github. Don't know why the outcomes are not correct. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Shahriar&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 01:46:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/object-detection-is-not-giving-the-correct-result/m-p/1097504#M432</guid>
      <dc:creator>ShahriarRahman</dc:creator>
      <dc:date>2021-09-13T01:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Object detection is not giving the correct result</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/object-detection-is-not-giving-the-correct-result/m-p/1097505#M433</link>
      <description>&lt;P&gt;More thoughts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;SPAN&gt;average_precision_score doesn't look that high, looks to be 8% (?)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- I would have thought monitored_valid_loss should be way less&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How many epochs are you doing?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 02:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/object-detection-is-not-giving-the-correct-result/m-p/1097505#M433</guid>
      <dc:creator>TimG</dc:creator>
      <dc:date>2021-09-13T02:02:57Z</dc:date>
    </item>
  </channel>
</rss>

