<?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: Failed to execute &amp;quot;Train Deep Learning Model&amp;quot; in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1134216#M50071</link>
    <description>&lt;PRE&gt;&lt;SPAN class=""&gt;thank you for your reply, the image format is Tiff and cel size= 0.08&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;for more details on the data inputs see the screenshots below.&lt;BR /&gt;thanks for your help.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture333.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31607iE9612403D6A04C5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture333.PNG" alt="Capture333.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="Capture44.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31606i91105498A6AF08A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture44.PNG" alt="Capture44.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture55.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31609iD37B4AFE69173EAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture55.PNG" alt="Capture55.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Sun, 16 Jan 2022 00:06:07 GMT</pubDate>
    <dc:creator>talebbenEsriPublic</dc:creator>
    <dc:date>2022-01-16T00:06:07Z</dc:date>
    <item>
      <title>Failed to execute "Train Deep Learning Model"</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1134203#M50068</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Errors and warnings:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "c:\users\xxx\appdata\local\programs\arcgis\pro\Resources\ArcToolbox\Toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 296, in execute&lt;BR /&gt;data_bunch = prepare_data(in_folders, working_dir=out_folder, **prepare_data_kwargs)&lt;BR /&gt;File "C:\Users\xxx\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\_data.py", line 1930, in prepare_data&lt;BR /&gt;.label_from_func(get_y_func)&lt;BR /&gt;File "C:\Users\xxx\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\fastai\data_block.py", line 479, in _inner&lt;BR /&gt;self.train = ft(*args, from_item_lists=True, **kwargs)&lt;BR /&gt;File "C:\Users\xxx\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\fastai\data_block.py", line 303, in label_from_func&lt;BR /&gt;return self._label_from_list([func(o) for o in self.items], label_cls=label_cls, **kwargs)&lt;BR /&gt;File "C:\Users\xxx\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\fastai\data_block.py", line 303, in &amp;lt;listcomp&amp;gt;&lt;BR /&gt;return self._label_from_list([func(o) for o in self.items], label_cls=label_cls, **kwargs)&lt;BR /&gt;File "C:\Users\xxx\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\_data.py", line 315, in _get_bbox_lbls&lt;BR /&gt;label_file, class_mapping, height_width, dataset_type=dataset_type&lt;BR /&gt;File "C:\Users\xxx\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\_data.py", line 266, in _get_bbox_classes&lt;BR /&gt;float(bnd_box.find("xmin").text),&lt;BR /&gt;ValueError: could not convert string to float: '58,82'&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:\users\xxx\appdata\local\programs\arcgis\pro\Resources\ArcToolbox\Toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 378, in &amp;lt;module&amp;gt;&lt;BR /&gt;execute()&lt;BR /&gt;File "c:\users\xxx\appdata\local\programs\arcgis\pro\Resources\ArcToolbox\Toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 372, 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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for any help=)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jan 2022 20:16:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1134203#M50068</guid>
      <dc:creator>talebbenEsriPublic</dc:creator>
      <dc:date>2022-01-15T20:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute "Train Deep Learning Model"</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1134210#M50070</link>
      <description>&lt;P&gt;a description of the data inputs, the exact parameters you were using etc will be needed to interpret the trackback message&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jan 2022 22:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1134210#M50070</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-01-15T22:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute "Train Deep Learning Model"</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1134216#M50071</link>
      <description>&lt;PRE&gt;&lt;SPAN class=""&gt;thank you for your reply, the image format is Tiff and cel size= 0.08&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;for more details on the data inputs see the screenshots below.&lt;BR /&gt;thanks for your help.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture333.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31607iE9612403D6A04C5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture333.PNG" alt="Capture333.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="Capture44.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31606i91105498A6AF08A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture44.PNG" alt="Capture44.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture55.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31609iD37B4AFE69173EAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture55.PNG" alt="Capture55.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 16 Jan 2022 00:06:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1134216#M50071</guid>
      <dc:creator>talebbenEsriPublic</dc:creator>
      <dc:date>2022-01-16T00:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute "Train Deep Learning Model"</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1202531#M58577</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/551714"&gt;@talebbenEsriPublic&lt;/a&gt;&amp;nbsp;you may have already solved this. If yes, can you please share how you solve it?&amp;nbsp;&lt;BR /&gt;If you have not, please take a note of "ValueError: could not convert string to float: '58,82'" and your 1st screen-capture. Looks like there seems to be a language / local issue (comma vs. decimal).&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 19:24:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1202531#M58577</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2022-08-12T19:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute "Train Deep Learning Model"</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1208105#M59301</link>
      <description>&lt;P&gt;Hi PavanYadav,&lt;/P&gt;&lt;P&gt;I have the same problem when I try to train the model related to palm tree detection.&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\_data.py", line 269, in _get_bbox_classes float(bnd_box.find("xmin").text),&lt;BR /&gt;ValueError: could not convert string to float: '335,91'&lt;/P&gt;&lt;P&gt;The bndbox values in the XML label files (training dataset folder) are defined with a comma for a decimal value. In my computer, ArcGIS Pro 3 is in an English version. The regional format in my windows is "Français (France)". I changed the win parameters to choose the English format (decimal with point vs comma) but I still have a comma for decimal values in the XML labels files.&amp;nbsp;Any idea to fix this bug?&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 11:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1208105#M59301</guid>
      <dc:creator>DavidSheeren</dc:creator>
      <dc:date>2022-08-31T11:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute "Train Deep Learning Model"</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1208311#M59328</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/614326"&gt;@DavidSheeren&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please correct me if I am incorrect but I am guessing you used the Export Training Data tool when your Windows regional format was France so the tool in the xml used commas for decimal. Now, this became a problem in the Training Deep Learning Models tool because this tool is expecting dots (periods) for commas.&lt;/P&gt;&lt;P&gt;It's a known problem in the Export Training Data tool because other Deep Learning tools don't support non-English languages yet. We have fixed this problem in the Export Training Data tool in the upcoming v3.1. The tool will use dots for decimals.&lt;/P&gt;&lt;P&gt;For now to workaround this problem, you can either try replacing the commas with dots in the xml file or exporting out data with English regional settings.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 17:04:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1208311#M59328</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2022-08-31T17:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute "Train Deep Learning Model"</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1208325#M59333</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 17:26:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-quot-train-deep-learning-model/m-p/1208325#M59333</guid>
      <dc:creator>DavidSheeren</dc:creator>
      <dc:date>2022-08-31T17:26:56Z</dc:date>
    </item>
  </channel>
</rss>

