<?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 Problems training Deep Learning Model in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/problems-training-deep-learning-model/m-p/1005249#M34596</link>
    <description>&lt;P&gt;I am using ArcGIS Pro 2.6 and I have installed all the Deep Learning Frameworks using the integrated installer that Esri has provided for 2.6 here: &lt;A href="https://links.esri.com/deep-learning-framework-install" target="_blank" rel="noopener"&gt;https://links.esri.com/deep-learning-framework-install&lt;/A&gt;&amp;nbsp;(It was really useful, by the way)&lt;/P&gt;&lt;P&gt;I created a training sample with some dots. I exported those features to chips using the Export Training Sample command in Pro 2.6. Metadata format for exporting: Pascal Visual Objects Classes (I try to apply the Single Shot Detector SSD) , buffer radius: 2&lt;/P&gt;&lt;P&gt;Then I tried to train the model and started to get error messages. I could get rid of some of them; for instance, reading similar topics in this forum I found that the regional configuration of the computer can be a source or problems, since in some regions we use , instead of . for expressing decimals, so I replaced all the commas in my xml chips for dots.&lt;/P&gt;&lt;P&gt;When I try to train the model it runs for 1 second (a little more than before), but soon another error appears:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;Traceback (most recent call last):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 196, in &amp;lt;module&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;execute()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 141, in execute&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;data_bunch = prepare_data(in_folder, **prepare_data_kwargs)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\_data.py", line 817, in prepare_data&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;.label_from_func(get_y_func)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\fastai\data_block.py", line 475, in _inner&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;self.train = ft(*args, from_item_lists=True, **kwargs)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\fastai\data_block.py", line 299, in label_from_func&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;return self._label_from_list([func(o) for o in self.items], label_cls=label_cls, **kwargs)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\fastai\data_block.py", line 299, in &amp;lt;listcomp&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;return self._label_from_list([func(o) for o in self.items], label_cls=label_cls, **kwargs)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\_data.py", line 167, in _get_bbox_lbls&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;return _get_bbox_classes(xmlfile, class_mapping, height_width)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\_data.py", line 135, in _get_bbox_classes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;tree = ET.parse(xmlfile)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\xml\etree\ElementTree.py", line 1196, in parse&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;tree.parse(source, parser)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\xml\etree\ElementTree.py", line 597, in parse&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;self._root = parser._parse_whole(source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;xml.etree.ElementTree.ParseError: &lt;STRONG&gt;XML declaration not well-formed&lt;/STRONG&gt;: line 1, column 16&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;Failed to execute (TrainDeepLearningModel).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Any hint will be really appreciated.&lt;/P&gt;&lt;P&gt;For example, could be useful to have access to chips that any of you can have. If I could train a model with your tested chips would mean that my errors are in the process of creating the chips&amp;nbsp;and is not an installation issue related with the frameworks.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
    <pubDate>Sat, 28 Nov 2020 09:31:54 GMT</pubDate>
    <dc:creator>MrG</dc:creator>
    <dc:date>2020-11-28T09:31:54Z</dc:date>
    <item>
      <title>Problems training Deep Learning Model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problems-training-deep-learning-model/m-p/1005249#M34596</link>
      <description>&lt;P&gt;I am using ArcGIS Pro 2.6 and I have installed all the Deep Learning Frameworks using the integrated installer that Esri has provided for 2.6 here: &lt;A href="https://links.esri.com/deep-learning-framework-install" target="_blank" rel="noopener"&gt;https://links.esri.com/deep-learning-framework-install&lt;/A&gt;&amp;nbsp;(It was really useful, by the way)&lt;/P&gt;&lt;P&gt;I created a training sample with some dots. I exported those features to chips using the Export Training Sample command in Pro 2.6. Metadata format for exporting: Pascal Visual Objects Classes (I try to apply the Single Shot Detector SSD) , buffer radius: 2&lt;/P&gt;&lt;P&gt;Then I tried to train the model and started to get error messages. I could get rid of some of them; for instance, reading similar topics in this forum I found that the regional configuration of the computer can be a source or problems, since in some regions we use , instead of . for expressing decimals, so I replaced all the commas in my xml chips for dots.&lt;/P&gt;&lt;P&gt;When I try to train the model it runs for 1 second (a little more than before), but soon another error appears:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;Traceback (most recent call last):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 196, in &amp;lt;module&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;execute()&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.execute.py", line 141, in execute&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;data_bunch = prepare_data(in_folder, **prepare_data_kwargs)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\_data.py", line 817, in prepare_data&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;.label_from_func(get_y_func)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\fastai\data_block.py", line 475, in _inner&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;self.train = ft(*args, from_item_lists=True, **kwargs)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\fastai\data_block.py", line 299, in label_from_func&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;return self._label_from_list([func(o) for o in self.items], label_cls=label_cls, **kwargs)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\fastai\data_block.py", line 299, in &amp;lt;listcomp&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;return self._label_from_list([func(o) for o in self.items], label_cls=label_cls, **kwargs)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\_data.py", line 167, in _get_bbox_lbls&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;return _get_bbox_classes(xmlfile, class_mapping, height_width)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\_data.py", line 135, in _get_bbox_classes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;tree = ET.parse(xmlfile)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\xml\etree\ElementTree.py", line 1196, in parse&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;tree.parse(source, parser)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\xml\etree\ElementTree.py", line 597, in parse&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;self._root = parser._parse_whole(source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;xml.etree.ElementTree.ParseError: &lt;STRONG&gt;XML declaration not well-formed&lt;/STRONG&gt;: line 1, column 16&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;Failed to execute (TrainDeepLearningModel).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Any hint will be really appreciated.&lt;/P&gt;&lt;P&gt;For example, could be useful to have access to chips that any of you can have. If I could train a model with your tested chips would mean that my errors are in the process of creating the chips&amp;nbsp;and is not an installation issue related with the frameworks.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2020 09:31:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problems-training-deep-learning-model/m-p/1005249#M34596</guid>
      <dc:creator>MrG</dc:creator>
      <dc:date>2020-11-28T09:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problems training Deep Learning Model</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problems-training-deep-learning-model/m-p/1005279#M34597</link>
      <description>&lt;P&gt;I reply to myself: sorry, one of the xml files had errors. Once corrected I could run the processs and discover a brand new error that I will describe in another post.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2020 09:31:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problems-training-deep-learning-model/m-p/1005279#M34597</guid>
      <dc:creator>MrG</dc:creator>
      <dc:date>2020-11-28T09:31:02Z</dc:date>
    </item>
  </channel>
</rss>

