<?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: Deep Learning error message in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-error-message/m-p/1332392#M73455</link>
    <description>&lt;P&gt;Thanks Pavan, I was able to resolve this with a simple fix with the help of one of your colleagues at ESRI.&amp;nbsp; I did only have one class but when naming the class during that Label Objects for Deep Learning step, I had used two words with a space between.&amp;nbsp; When I eliminated the space and had just one word as a name, everything worked fine&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2023 13:49:21 GMT</pubDate>
    <dc:creator>dschatt</dc:creator>
    <dc:date>2023-09-26T13:49:21Z</dc:date>
    <item>
      <title>Deep Learning error message</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-error-message/m-p/1312183#M71461</link>
      <description>&lt;DIV class=""&gt;hi, I know this is a long shot but I'm trying to do an instance segmentation analysis to detect shoreline docks in aerial imagery using Deep Learning in Pro.&amp;nbsp; I am going through the standard steps. as I understand them, for a deep learning analysis.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;First I&amp;nbsp; created vector polygon training samples around my feature outlines using the Label Objects for Deep Learning tool so I have those in a feature class.&amp;nbsp; I then use Export Training Data for Deep Learning, setting the "Format" to RCNN-Masks, and output a folder with all the image chips and everything looks fine.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I then try to train a model from that folder using Train Deep Learning Model and I'm setting the Model Type to MaskRCNN.&amp;nbsp; But I get an error message immediately after starting this tool: "Train Deep Learning model failed'.&amp;nbsp; No idea why, thanks for any tips..&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Dan&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Jul 2023 17:58:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-error-message/m-p/1312183#M71461</guid>
      <dc:creator>dschatt</dc:creator>
      <dc:date>2023-07-26T17:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning error message</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-error-message/m-p/1314139#M71597</link>
      <description>&lt;P&gt;Hey dschatt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Deep Learning there are a lot of parameters that feed into the workflow and a lot of things that can go wrong within this. To help we would need to know what documentation or videos you have used to build a bit of a better idea.&lt;/P&gt;&lt;P&gt;Does the error window show any further detailed error messages?&lt;/P&gt;&lt;P&gt;Do you have the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/deep-learning/install-deep-learning-frameworks.htm" target="_self"&gt;Deep Learning Essentials&lt;/A&gt; package installed on the ArcGIS Pro Python environment?&lt;/P&gt;&lt;P&gt;Also as a note you might not need to carry out training on a Deep Learning Model. The &lt;A href="https://livingatlas.arcgis.com/en/browse/?q=dlpk#q=dlpk&amp;amp;d=2" target="_self"&gt;Living Atlas&lt;/A&gt; has a range of pre-trained models that can be downloaded and utilised within ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 16:28:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-error-message/m-p/1314139#M71597</guid>
      <dc:creator>David_McRitchie</dc:creator>
      <dc:date>2023-08-01T16:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning error message</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-error-message/m-p/1314228#M71611</link>
      <description>&lt;P&gt;thanks much David, I definitely have all the DL libraries, etc. downloaded and installed successfully because I've already run many Deep Learning operations successfully using the object detection tools (as opposed to the instance segmentation).&amp;nbsp; So I should have all of that unless there is something more needed for instance segmentation that I'm not aware of.&amp;nbsp; &amp;nbsp;I don't think the pre-trained models will help because this is a very specialized application (detecting shoreline docks).&lt;/P&gt;&lt;P&gt;I am using the workflow of a YouTube video online for instance segmentation in which he basically followed the steps I described above:&lt;/P&gt;&lt;P&gt;&lt;A title="Mask R-CNN Instance Segmentation and Object Detection in ArcGIS Pro" href="https://www.youtube.com/watch?v=b1qddjuhIS0" target="_self"&gt;Mask R-CNN Instance Segmentation and Object Detection in ArcGIS Pro&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only difference is the initial step to define training areas: he had a pre-existing feature class to define his training areas but I created my own feature class using the Label Features for Deep Learning tool.&amp;nbsp; But the procedure after that&amp;nbsp; (using "Export Training Data for Deep Learning" and then "Train Deep Learning Model") were the same.&lt;/P&gt;&lt;P&gt;I've attached screen shots of my Export Training Data for Deep Learning tool input and also my Train Deep Learning Model tool input and the resulting error.&amp;nbsp; I know there is a lot here but I'm just hoping there is something very obvious in the procedure or settings that I'm missing. I don't really know how to interpret the error but maybe it's meaningful to you?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ESRI_Community_DLissue_Export.JPG" style="width: 343px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/76998i4E083E0A9D1EAAEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="ESRI_Community_DLissue_Export.JPG" alt="ESRI_Community_DLissue_Export.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ESRI_Community_DLissue_Train.JPG" style="width: 968px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/76999i3333E8A7745A421A/image-size/large?v=v2&amp;amp;px=999" role="button" title="ESRI_Community_DLissue_Train.JPG" alt="ESRI_Community_DLissue_Train.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 18:25:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-error-message/m-p/1314228#M71611</guid>
      <dc:creator>dschatt</dc:creator>
      <dc:date>2023-08-01T18:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning error message</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-error-message/m-p/1331645#M73346</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/704888"&gt;@dschatt&lt;/a&gt;&amp;nbsp;, I understand you would like to do an instance segmentation. If it’s just instance segmentation, you might want to consider using ready to use &lt;A href="https://doc.arcgis.com/en/pretrained-models/latest/imagery/introduction-to-segment-anything-model-sam-.htm" target="_blank" rel="noopener"&gt;Segment Anything&lt;/A&gt; pre-trained model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are using MaskRCNN so I am curious if you have two or more classes? When using&amp;nbsp;&lt;SPAN&gt;MaskRCNN&amp;nbsp;in training and getting Error “&lt;/SPAN&gt;local variable 'data_bunch' referenced before assignment”, can be due to the number of classes. For a test, please have them not create classvalue = 0 (anything &amp;gt;0 will work) and have at least two classes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have just one class, maybe you can use pixel classification approach. I am not advocating one of the other, I am just sharing my thoughts. Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: We have an&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-image-analyst/ct-p/arcgis-image-analyst" target="_blank" rel="noopener"&gt;Arcgis Image Analyst&lt;/A&gt;&amp;nbsp;dedicated community and here you might get response sooner.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Pavan Yadav | Product Engineer&amp;nbsp;&lt;BR /&gt;Esri | 380 New York | Redlands, 92373 | USA&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/pavan-yadav-1846606/" target="_blank" rel="noopener"&gt;https://www.linkedin.com/in/pavan-yadav-1846606/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 20:20:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-error-message/m-p/1331645#M73346</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2023-09-22T20:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deep Learning error message</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-error-message/m-p/1332392#M73455</link>
      <description>&lt;P&gt;Thanks Pavan, I was able to resolve this with a simple fix with the help of one of your colleagues at ESRI.&amp;nbsp; I did only have one class but when naming the class during that Label Objects for Deep Learning step, I had used two words with a space between.&amp;nbsp; When I eliminated the space and had just one word as a name, everything worked fine&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 13:49:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/deep-learning-error-message/m-p/1332392#M73455</guid>
      <dc:creator>dschatt</dc:creator>
      <dc:date>2023-09-26T13:49:21Z</dc:date>
    </item>
  </channel>
</rss>

