<?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: Train Deep learning Model. in Imagery and Remote Sensing Questions</title>
    <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1493913#M721</link>
    <description>&lt;P&gt;I have a small area, so I change image chip 128 instead of 512 to extract training sample, it works.&lt;/P&gt;&lt;P&gt;If I use 512, then I get only three samples so I decrease it to 128&lt;/P&gt;&lt;P&gt;Also, I faced other error:&amp;nbsp;Error:Error(s) in loading state_dict for _DeepLabOverride: size mismatch for backbone.conv1.weight: copying a param with shape torch.Size([64, 3, 7, 7]) from checkpoint, the shape in current model is torch.Size([64, 4, 7, 7])..Training was not sucessful&lt;/P&gt;&lt;P&gt;then use extract band make three bands, it solved&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 7 samples and I use 0.5 in the&amp;nbsp;&lt;SPAN&gt;% validation parameter, to make whole number. Still I got the Error:division by zero.Training was not successful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PawanThapa2_1-1718647100340.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107203i3526F8B72A68FC9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PawanThapa2_1-1718647100340.png" alt="PawanThapa2_1-1718647100340.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PawanThapa2_0-1718646999898.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107201i8D94E0378C53B418/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PawanThapa2_0-1718646999898.png" alt="PawanThapa2_0-1718646999898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2024 18:02:42 GMT</pubDate>
    <dc:creator>PawanThapa2</dc:creator>
    <dc:date>2024-06-17T18:02:42Z</dc:date>
    <item>
      <title>Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1213336#M707</link>
      <description>&lt;P&gt;Greetings. I am trying to train my data using the deep learning model, but i keep getting this error message. Can someone help me out.&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 308, in execute&lt;BR /&gt;data_bunch = prepare_data(in_folders, working_dir=out_folder, **prepare_data_kwargs)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\_data.py", line 1440, in prepare_data&lt;BR /&gt;raise Exception(&lt;BR /&gt;Exception: Could not infer dataset type. Please specify a supported dataset type or ensure that the path contains valid esri files&lt;/P&gt;&lt;P&gt;During handling of the above exception, another exception occurred:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 390, in &amp;lt;module&amp;gt;&lt;BR /&gt;execute()&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 384, in execute&lt;BR /&gt;del data_bunch&lt;BR /&gt;UnboundLocalError: local variable 'data_bunch' referenced before assignment&lt;/P&gt;&lt;P&gt;Failed script (null)...&lt;BR /&gt;Failed to execute (TrainDeepLearningModel).&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1213336#M707</guid>
      <dc:creator>epiewesner</dc:creator>
      <dc:date>2022-09-16T10:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1213456#M708</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/35860"&gt;@epiewesner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the above error, I see this:&lt;EM&gt; "&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;Could not infer dataset type. Please specify a supported dataset type or ensure that the path contains valid esri files"&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Looks like the Training Deep Learning&amp;nbsp;Model tool is finding&amp;nbsp;some issues with the data that you are trying to use. A few things:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Are you using ArcGIS Pro or other application&amp;nbsp;maybe one of Notebook examples outside of ArcGIS Pro? If using a notebook and if it's one of Esri's examples, can you please share the link? You might want to see this if using notebook example -&amp;nbsp;&amp;nbsp;&lt;A title="https://community.esri.com/t5/arcgis-pro-questions/model-training-failure-in-arcgis-pro/td-p/1031634" href="https://community.esri.com/t5/arcgis-pro-questions/model-training-failure-in-arcgis-pro/td-p/1031634" target="_blank" rel="noopener noreferrer"&gt;https://community.esri.com/t5/arcgis-pro-questions/model-training-failure-in-arcgis-pro/td-p/1031634&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. If using ArcGIS Pro, what version are you currently on? at what version the data was exported (assuming you use the Export Training Data tool)?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Any changes made to the .json or any other files of the data?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4.&amp;nbsp; Is the language and regional settings are same between now and when the data was exported?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pavan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1213456#M708</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2022-09-16T15:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1213509#M709</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2666"&gt;@PavanYadav&lt;/a&gt;, thank you for the help. But i got it sorted, unfortunately, i have ran into another issue. Hopping you can help me.&amp;nbsp; Below is&lt;SPAN class=""&gt;&amp;nbsp;the new error message i am getting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 390, in &amp;lt;module&amp;gt;&lt;BR /&gt;execute()&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 334, in execute&lt;BR /&gt;training_model_object.fit(&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_arcgis_model.py", line 902, in fit&lt;BR /&gt;lr = self.lr_find(allow_plot=False)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_arcgis_model.py", line 721, in lr_find&lt;BR /&gt;raise e&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_arcgis_model.py", line 718, in lr_find&lt;BR /&gt;self.learn.lr_find()&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\fastai\train.py", line 40, in lr_find&lt;BR /&gt;epochs = int(np.ceil(num_it/len(learn.data.train_dl))) * (num_distrib() or 1)&lt;BR /&gt;ZeroDivisionError: division by zero&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 17:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1213509#M709</guid>
      <dc:creator>epiewesner</dc:creator>
      <dc:date>2022-09-16T17:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1213520#M711</link>
      <description>&lt;P&gt;Glad to hear that you fixed the first issue? Can ask how you fixed it?&lt;BR /&gt;For the second issue you can look at the the stats.txt file. Please see if you have any classes that don't have samples.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 20:09:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1213520#M711</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2022-10-20T20:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1213551#M712</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2666"&gt;@PavanYadav&lt;/a&gt; the issues was with my training samples. I was adding only the image_chips. But when i added all the data it started working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 19:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1213551#M712</guid>
      <dc:creator>epiewesner</dc:creator>
      <dc:date>2022-09-16T19:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1231063#M713</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/35860"&gt;@epiewesner&lt;/a&gt;&amp;nbsp;&amp;nbsp;What do you mean by "all the data".&amp;nbsp; I am having same division by zero error - I have added the folder that contains the images and labels and the stats.txt, maps.txt, esri_accumulated_stats.json and exri_model_definition.emd files.&amp;nbsp; Can't seem to figure out how to get around that error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 17:56:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1231063#M713</guid>
      <dc:creator>KevinRathgeber1</dc:creator>
      <dc:date>2022-11-14T17:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1231344#M714</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/200636"&gt;@KevinRathgeber1&lt;/a&gt;&amp;nbsp; right above your post, please see&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/35860"&gt;@epiewesner&lt;/a&gt;'s response.&amp;nbsp;&lt;BR /&gt;The Export Training Data for Deep Learning tool&amp;nbsp; typically outputs a folder containing something like the following&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PavanYadav_0-1668449286411.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55910iE09513FDC2E20D5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PavanYadav_0-1668449286411.png" alt="PavanYadav_0-1668449286411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this case, the input to the Train Deep Learning Model tool is: "FormatTest_PNG_KITTI_rectangles" folder.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 18:09:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1231344#M714</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2022-11-14T18:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1231505#M716</link>
      <description>&lt;P&gt;My bad, you are correct.&amp;nbsp; I reread the above and realised they were getting the Divide by zero error after they pointed to the correct folder.&amp;nbsp; That is the problem I am having.&amp;nbsp; I have pointed to the folder as you have pointed out above, then when I run it I get the exact same errors.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\Toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 390, in &amp;lt;module&amp;gt;&lt;BR /&gt;execute()&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\Toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 334, in execute&lt;BR /&gt;training_model_object.fit(&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_arcgis_model.py", line 902, in fit&lt;BR /&gt;lr = self.lr_find(allow_plot=False)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_arcgis_model.py", line 721, in lr_find&lt;BR /&gt;raise e&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_arcgis_model.py", line 718, in lr_find&lt;BR /&gt;self.learn.lr_find()&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\fastai\train.py", line 40, in lr_find&lt;BR /&gt;epochs = int(np.ceil(num_it/len(learn.data.train_dl))) * (num_distrib() or 1)&lt;BR /&gt;ZeroDivisionError: division by zero&lt;/P&gt;&lt;P&gt;Failed script (null)...&lt;BR /&gt;Failed to execute (TrainDeepLearningModel).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 22:27:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1231505#M716</guid>
      <dc:creator>KevinRathgeber1</dc:creator>
      <dc:date>2022-11-14T22:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1231922#M717</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/200636"&gt;@KevinRathgeber1&lt;/a&gt;&amp;nbsp;Can you share how many training samples you have and what number are you using in the Validation %.?&lt;BR /&gt;&lt;BR /&gt;Here is an example - let's say I have&amp;nbsp; 4 samples and I use 10 in the % validation parameter.. so in this case numbers of samples for validation will be 0.4, which is not possible it should be a whole number.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 19:32:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1231922#M717</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2022-11-15T19:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1232031#M718</link>
      <description>&lt;P&gt;Yeah that was the problem&amp;nbsp; I had 3 samples and 10%.&amp;nbsp; I added one more sample for 4 and then did two runs set to 50% and 75% and each of those worked.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 23:19:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1232031#M718</guid>
      <dc:creator>KevinRathgeber1</dc:creator>
      <dc:date>2022-11-15T23:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1232049#M719</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/200636"&gt;@KevinRathgeber1&lt;/a&gt;&amp;nbsp;glad you have fixed the problem. Was it for a test? Because 4 samples are very little.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I often hear that we need at least 1000 samples for each category; but it really depends on many things for example some architectures needs no or very minimum labels. DetReg supported in ArcGIS is one example that needs much less labels comparing to other model architectures. You might find these interesting: &lt;A href="https://sites.uab.edu/periop-datascience/2021/06/28/sample-size-in-machine-learning-and-artificial-intelligence/#:~:text=If%20you've%20talked%20with,least%201%2C000%20samples%20per%20class" target="_blank"&gt;https://sites.uab.edu/periop-datascience/2021/06/28/sample-size-in-machine-learning-and-artificial-intelligence/#:~:text=If%20you've%20talked%20with,least%201%2C000%20samples%20per%20class&lt;/A&gt;&amp;nbsp; , &lt;A href="https://machinelearningmastery.com/much-training-data-required-machine-learning/" target="_blank"&gt;https://machinelearningmastery.com/much-training-data-required-machine-learning/&lt;/A&gt; and &lt;A href="https://towardsdatascience.com/how-do-you-know-you-have-enough-training-data-ad9b1fd679ee" target="_blank"&gt;https://towardsdatascience.com/how-do-you-know-you-have-enough-training-data-ad9b1fd679ee&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to try out an end-to-end deep learning workflow in ArcGIS, these are good tutorials:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://learn.arcgis.com/en/projects/use-deep-learning-to-assess-palm-tree-health/" target="_blank"&gt;https://learn.arcgis.com/en/projects/use-deep-learning-to-assess-palm-tree-health/&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://learn.arcgis.com/en/projects/automate-fire-damage-assessment-with-deep-learning/" target="_blank"&gt;https://learn.arcgis.com/en/projects/automate-fire-damage-assessment-with-deep-learning/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 00:21:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1232049#M719</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2022-11-16T00:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1232204#M720</link>
      <description>&lt;P&gt;Yeah I was just playing around with the concept of it trying to get it working.&amp;nbsp; And from the results I got I could tell it was very little lol.&amp;nbsp; Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 15:14:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1232204#M720</guid>
      <dc:creator>KevinRathgeber1</dc:creator>
      <dc:date>2022-11-16T15:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Train Deep learning Model.</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1493913#M721</link>
      <description>&lt;P&gt;I have a small area, so I change image chip 128 instead of 512 to extract training sample, it works.&lt;/P&gt;&lt;P&gt;If I use 512, then I get only three samples so I decrease it to 128&lt;/P&gt;&lt;P&gt;Also, I faced other error:&amp;nbsp;Error:Error(s) in loading state_dict for _DeepLabOverride: size mismatch for backbone.conv1.weight: copying a param with shape torch.Size([64, 3, 7, 7]) from checkpoint, the shape in current model is torch.Size([64, 4, 7, 7])..Training was not sucessful&lt;/P&gt;&lt;P&gt;then use extract band make three bands, it solved&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 7 samples and I use 0.5 in the&amp;nbsp;&lt;SPAN&gt;% validation parameter, to make whole number. Still I got the Error:division by zero.Training was not successful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PawanThapa2_1-1718647100340.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107203i3526F8B72A68FC9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PawanThapa2_1-1718647100340.png" alt="PawanThapa2_1-1718647100340.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PawanThapa2_0-1718646999898.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107201i8D94E0378C53B418/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PawanThapa2_0-1718646999898.png" alt="PawanThapa2_0-1718646999898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 18:02:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/train-deep-learning-model/m-p/1493913#M721</guid>
      <dc:creator>PawanThapa2</dc:creator>
      <dc:date>2024-06-17T18:02:42Z</dc:date>
    </item>
  </channel>
</rss>

