<?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: 'Training loss' gets 'nan' when training deeplearning model in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1089555#M44507</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/279071"&gt;@MartyRyan&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you share a sample of your training data ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 11:34:59 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-08-17T11:34:59Z</dc:date>
    <item>
      <title>'Training loss' gets 'nan' when training deeplearning model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1085614#M44089</link>
      <description>&lt;P&gt;hi all, I am trying to extract greenspace from the drone. but when I training the deep learning model, the&amp;nbsp;&amp;nbsp;'Training loss' and&amp;nbsp;validation loss returns&amp;nbsp; 'nan', and the digram is blank. I tried to increase the label, using different types of models, but still the same.&lt;/P&gt;&lt;P&gt;I don't know which mistake I have made.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;can anybody help me out?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1628066458634.png" style="width: 472px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20097i24C2F4D626333D37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_0-1628066458634.png" alt="_0-1628066458634.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 08:46:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1085614#M44089</guid>
      <dc:creator>梁飞王</dc:creator>
      <dc:date>2021-08-04T08:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: 'Training loss' gets 'nan' when training deeplearning model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1088262#M44369</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/506006"&gt;@梁飞王&lt;/a&gt;&amp;nbsp;Can you share some more information about:&lt;/P&gt;&lt;P&gt;- Type of model&lt;/P&gt;&lt;P&gt;- Number of chips in training data&lt;/P&gt;&lt;P&gt;- Any noData in training data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 04:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1088262#M44369</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-08-12T04:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: 'Training loss' gets 'nan' when training deeplearning model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1088823#M44418</link>
      <description>&lt;P&gt;Sandeep,&lt;/P&gt;&lt;P&gt;I am having the same issue -&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Training a U-Net model&lt;/P&gt;&lt;P&gt;- "chips" in Training Data - not exactly sure what you mean, but here are my numbers; images (output from Export Training Data tool) = 2,199,856&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Training Data - I used a previously classified land cover dataset (on advice from an Esri rep) to export as Training Data - it has 15,512 polygons &amp;nbsp;- a portion of its attribute table is attached)&lt;/P&gt;&lt;P&gt;If these "nan" values are an error, along with the identical accuracy value for both epochs, how can I fix this while the model is still training? We are using a lot of time to run these tools, and need a useable result.&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MartyRyan_0-1628857779132.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20808iE08AA1E46BFE3E3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MartyRyan_0-1628857779132.png" alt="MartyRyan_0-1628857779132.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;NOTE: I used the field LCCODE (which has values ) when exporting the training data - I'm having the sinking feeling that the "Name" and "Value" fields are the "No Data" items you are referring to? Am I resigned to stopping this model, calculating these fields to have values, exporting them again as training data and in effect starting all over?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 12:33:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1088823#M44418</guid>
      <dc:creator>MartyRyan</dc:creator>
      <dc:date>2021-08-13T12:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: 'Training loss' gets 'nan' when training deeplearning model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1088864#M44423</link>
      <description>&lt;P&gt;Sandeep,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having the same issue - any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;Type of model: U-Net (pixel classification)&lt;/P&gt;&lt;P&gt;Chips in Training data - 2.199.856 images in Output folder (from Export Training Data tool)&lt;/P&gt;&lt;P&gt;Any noData in training data - not exactly clear on this but see attached documents for specifics. Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are my options while the tool is running, if any?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 14:01:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1088864#M44423</guid>
      <dc:creator>MartyRyan</dc:creator>
      <dc:date>2021-08-13T14:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: 'Training loss' gets 'nan' when training deeplearning model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1088917#M44433</link>
      <description>&lt;P&gt;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;DIV class="MessageEditor"&gt;&lt;DIV class="lia-js-block-events"&gt;&lt;DIV class="lia-form-row lia-form-body-entry"&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-standard"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-form-input-wrapper"&gt;&lt;DIV class="message-body-editor lia-inline-message-body-editor"&gt;&lt;DIV class="mce-tinymce mce-container mce-panel lia-editor-gte-2"&gt;&lt;DIV class="mce-container-body mce-stack-layout"&gt;&lt;DIV class="mce-top-part mce-container mce-stack-layout-item mce-first"&gt;&lt;DIV class="mce-container-body"&gt;&lt;DIV class="mce-toolbar-grp mce-container mce-panel mce-first mce-last"&gt;&lt;DIV class="mce-container-body mce-stack-layout"&gt;&lt;DIV class="mce-container mce-toolbar mce-stack-layout-item"&gt;&lt;DIV class="mce-container-body mce-flow-layout"&gt;&lt;SPAN&gt;Thanks for your replay, here is the information&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;-I have tried kinds of models, mainly&amp;nbsp; FeatureClassifier\MaskRCNN, they all get nan when training model&lt;/P&gt;&lt;P&gt;-latest i tried : the images = 4885 *3*256*256&lt;/P&gt;&lt;P&gt;-I don't understand what is "noData", I made training data step by step on Arcgis Pro, label, and export. if there is noData in my data, I haven't learned to code so I can't&amp;nbsp;eliminate them,&lt;/P&gt;&lt;P&gt;if there is noData in my data, does that means that my image is not intact or&amp;nbsp;integral, that means my image exist some holes, but I get the training sample data by extracting from NDVI instead of draw.&lt;/P&gt;&lt;P&gt;Sometimes 'nan' may change to'0.0'&amp;nbsp; by adjusting Batch Size or Learning Rate, sometimes not, like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1628869019537.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20837i3C408DFE6E8F5BE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_0-1628869019537.png" alt="_0-1628869019537.png" /&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;I am afraid I haven't made myself clear with my&amp;nbsp;broken&amp;nbsp;English. here is my training data exported from Arcgis pro.&lt;/P&gt;&lt;P&gt;&lt;A title="file in onedrive" href="https://1drv.ms/u/s!AuqSdRqzEo83uHlAIOsgSsMGTiBf?e=SrF8X7" target="_self" rel="nofollow noopener noreferrer"&gt;https://1drv.ms/u/s!AuqSdRqzEo83uHlAIOsgSsMGTiBf?e=SrF8X7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;王梁飞&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 15:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1088917#M44433</guid>
      <dc:creator>梁飞王</dc:creator>
      <dc:date>2021-08-13T15:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: 'Training loss' gets 'nan' when training deeplearning model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1089553#M44505</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/506006"&gt;@梁飞王&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to access the sample data you uploaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sandeep&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 11:30:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1089553#M44505</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-08-17T11:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: 'Training loss' gets 'nan' when training deeplearning model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1089554#M44506</link>
      <description>&lt;P&gt;yes，@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AuqSdRqzEo83uHmo6JBfml1Zu2FJ?e=7fLk6b" target="_blank"&gt;https://1drv.ms/u/s!AuqSdRqzEo83uHmo6JBfml1Zu2FJ?e=7fLk6b&lt;/A&gt;&lt;/P&gt;&lt;P&gt;thanks，&amp;nbsp;&lt;/P&gt;&lt;P&gt;王梁飞&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 11:34:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1089554#M44506</guid>
      <dc:creator>梁飞王</dc:creator>
      <dc:date>2021-08-17T11:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: 'Training loss' gets 'nan' when training deeplearning model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1089555#M44507</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/279071"&gt;@MartyRyan&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you share a sample of your training data ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 11:34:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1089555#M44507</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-08-17T11:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: 'Training loss' gets 'nan' when training deeplearning model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1089562#M44509</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/506006"&gt;@梁飞王&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to the visualize the training data you shared it looks like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SandeepKumar1_0-1629201493172.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20973i47D9419B0FB8E982/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SandeepKumar1_0-1629201493172.png" alt="SandeepKumar1_0-1629201493172.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is only one class in the training data&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SandeepKumar1_1-1629201520544.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20974iF4A868AD59C4A909/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SandeepKumar1_1-1629201520544.png" alt="SandeepKumar1_1-1629201520544.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share a screenshot of your original data, are you trying to extract polygons of green spaces ?&lt;/P&gt;&lt;P&gt;The format of training data you have exported is not correct. You need to export the training data again in 'RCNN Masks' format. A similar workflow is documented &lt;A href="https://developers.arcgis.com/python/sample-notebooks/automate-building-footprint-extraction-using-instance-segmentation/" target="_self"&gt;here&amp;nbsp;&lt;/A&gt;. However you can continue using the 'train deep learning model' tool, instead of using API as documented in this sample.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 12:11:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1089562#M44509</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-08-17T12:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: 'Training loss' gets 'nan' when training deeplearning model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1089566#M44510</link>
      <description>&lt;P&gt;hi&amp;nbsp;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes,it is,i want to extract green space for the image, I will try maskCNN,and follow the instruction and let you know the result&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;王梁飞&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 12:11:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1089566#M44510</guid>
      <dc:creator>梁飞王</dc:creator>
      <dc:date>2021-08-17T12:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: 'Training loss' gets 'nan' when training deeplearning model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1090004#M44570</link>
      <description>&lt;P&gt;Sandeep, I have solved my issue by adding and properly populating the clsname and clsvalue fields in my training data and also changing some of my input parameters. I don't know how they are related, but I have successfully trained a model with good results. The parameter settings I revised were:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Learning rate: blank&lt;/LI&gt;&lt;LI&gt;Parallel Processing: blank&lt;/LI&gt;&lt;LI&gt;Processing extent: default or set as my land cover extent&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you -&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 16:18:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/training-loss-gets-nan-when-training-deeplearning/m-p/1090004#M44570</guid>
      <dc:creator>MartyRyan</dc:creator>
      <dc:date>2021-08-18T16:18:21Z</dc:date>
    </item>
  </channel>
</rss>

