<?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 Failed to run &amp;quot;Train deep learning model&amp;quot; using dlpk in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-run-quot-train-deep-learning-model-quot/m-p/1247568#M64191</link>
    <description>&lt;P&gt;Hey all&lt;BR /&gt;I'm trying to run a train to a deep learning model. I follow &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/imagery/fine-tune-a-pretrained-deep-learning-model/" target="_self"&gt;this blog&lt;/A&gt; using a different data set (&lt;A href="https://www.arcgis.com/home/item.html?id=916e02960d9e495baeb4d1d2ff4055d0" target="_self"&gt;palm tree DLPK&lt;/A&gt;). I created training data using "label object using deep learning" followed by "extract data for deep learning." I looked at the DLPK .emd file to ensure the format I equivalent, and yet when I run the "train deep learning model," and I get this messages:&lt;/P&gt;&lt;P&gt;Start Time: Monday, January 9, 2023 3:54:36 PM&lt;BR /&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 328, in execute&lt;BR /&gt;training_model_object = training_model.from_model(pretrained_model_path, data_bunch)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_faster_rcnn.py", line 692, in from_model&lt;BR /&gt;frcnn = cls(data, backbone, pretrained_path=str(model_file), **kwargs)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_faster_rcnn.py", line 546, in __init__&lt;BR /&gt;self._check_dataset_support(data)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_arcgis_model.py", line 620, in _check_dataset_support&lt;BR /&gt;raise Exception(&lt;BR /&gt;Exception: Enter only compatible datasets from PASCAL_VOC_rectangles, KITTI_rectangles&lt;/P&gt;&lt;P&gt;&lt;U&gt;During handling of the above exception, another exception occurred:&lt;/U&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 385, in execute&lt;BR /&gt;del training_model_object&lt;BR /&gt;UnboundLocalError: local variable 'training_model_object' referenced before assignment&lt;BR /&gt;Failed script (null)...&lt;BR /&gt;Failed to execute (TrainDeepLearningModel).&lt;BR /&gt;Failed at Monday, January 9, 2023 3:54:37 PM (Elapsed Time: 1.03 seconds)&lt;/P&gt;&lt;P&gt;I'm using arcgis pro 2.9 and instuld the phyton "ProDeepLearning" for 2.9 &lt;A href="https://github.com/Esri/deep-learning-frameworks" target="_self"&gt;from this page.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would appreciate your advice on the matter!&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 12:26:49 GMT</pubDate>
    <dc:creator>LinoyZagrizakHarpaz</dc:creator>
    <dc:date>2023-01-12T12:26:49Z</dc:date>
    <item>
      <title>Failed to run "Train deep learning model" using dlpk</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-run-quot-train-deep-learning-model-quot/m-p/1247568#M64191</link>
      <description>&lt;P&gt;Hey all&lt;BR /&gt;I'm trying to run a train to a deep learning model. I follow &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/imagery/fine-tune-a-pretrained-deep-learning-model/" target="_self"&gt;this blog&lt;/A&gt; using a different data set (&lt;A href="https://www.arcgis.com/home/item.html?id=916e02960d9e495baeb4d1d2ff4055d0" target="_self"&gt;palm tree DLPK&lt;/A&gt;). I created training data using "label object using deep learning" followed by "extract data for deep learning." I looked at the DLPK .emd file to ensure the format I equivalent, and yet when I run the "train deep learning model," and I get this messages:&lt;/P&gt;&lt;P&gt;Start Time: Monday, January 9, 2023 3:54:36 PM&lt;BR /&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 328, in execute&lt;BR /&gt;training_model_object = training_model.from_model(pretrained_model_path, data_bunch)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_faster_rcnn.py", line 692, in from_model&lt;BR /&gt;frcnn = cls(data, backbone, pretrained_path=str(model_file), **kwargs)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_faster_rcnn.py", line 546, in __init__&lt;BR /&gt;self._check_dataset_support(data)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\learn\models\_arcgis_model.py", line 620, in _check_dataset_support&lt;BR /&gt;raise Exception(&lt;BR /&gt;Exception: Enter only compatible datasets from PASCAL_VOC_rectangles, KITTI_rectangles&lt;/P&gt;&lt;P&gt;&lt;U&gt;During handling of the above exception, another exception occurred:&lt;/U&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 385, in execute&lt;BR /&gt;del training_model_object&lt;BR /&gt;UnboundLocalError: local variable 'training_model_object' referenced before assignment&lt;BR /&gt;Failed script (null)...&lt;BR /&gt;Failed to execute (TrainDeepLearningModel).&lt;BR /&gt;Failed at Monday, January 9, 2023 3:54:37 PM (Elapsed Time: 1.03 seconds)&lt;/P&gt;&lt;P&gt;I'm using arcgis pro 2.9 and instuld the phyton "ProDeepLearning" for 2.9 &lt;A href="https://github.com/Esri/deep-learning-frameworks" target="_self"&gt;from this page.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would appreciate your advice on the matter!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 12:26:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-run-quot-train-deep-learning-model-quot/m-p/1247568#M64191</guid>
      <dc:creator>LinoyZagrizakHarpaz</dc:creator>
      <dc:date>2023-01-12T12:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to run "Train deep learning model" using dlpk</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-run-quot-train-deep-learning-model-quot/m-p/1331706#M73367</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/646220"&gt;@LinoyZagrizakHarpaz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Model Type and Metadata Type should match.&lt;/P&gt;&lt;P&gt;Please see the error&amp;nbsp;Exception: Enter only compatible datasets from PASCAL_VOC_rectangles, KITTI_rectangles.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=916e02960d9e495baeb4d1d2ff4055d0" target="_blank"&gt;https://www.arcgis.com/home/item.html?id=916e02960d9e495baeb4d1d2ff4055d0&lt;/A&gt;&amp;nbsp;is a fasterrnn model. To fine tune it, your training data should be in&amp;nbsp;PASCAL_VOC_rectangles or KITTI_rectangles metadata format.&amp;nbsp;Hope this helps&lt;/P&gt;&lt;P&gt;A side note: We have an&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-image-analyst/ct-p/arcgis-image-analyst" target="_blank"&gt;ArcGIS Image Analyst&lt;/A&gt;&amp;nbsp;dedicated community and here you might get response sooner on imagery related issues/questions.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Pavan Yadav | Product Engineer - Imagery and AI&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"&gt;https://www.linkedin.com/in/pavan-yadav-1846606/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 22:00:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-run-quot-train-deep-learning-model-quot/m-p/1331706#M73367</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2023-09-22T22:00:02Z</dc:date>
    </item>
  </channel>
</rss>

