<?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: ingleShotDetector error - cannot import name 'set_guard_fail_hook' from 'torch._dynamo.eval_frame' in ArcGIS Image Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-image-analyst-questions/ingleshotdetector-error-cannot-import-name-set/m-p/1490841#M693</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/78925"&gt;@VHolubec&lt;/a&gt; Is it only the Single Shot Detector Model Type not working? Are you encountering issues with other Model Types (e.g. RetinaNet) or any other deep learning tools? This would help determine if it's a deep learning package installation issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2024 17:59:39 GMT</pubDate>
    <dc:creator>PavanYadav</dc:creator>
    <dc:date>2024-06-12T17:59:39Z</dc:date>
    <item>
      <title>ingleShotDetector error - cannot import name 'set_guard_fail_hook' from 'torch._dynamo.eval_frame'</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/ingleshotdetector-error-cannot-import-name-set/m-p/1488440#M690</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am testing this sample scenarios:&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/samples/automate-road-surface-investigation-using-deep-learning/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/samples/automate-road-surface-investigation-using-deep-learning/&lt;/A&gt;&amp;nbsp;and when I got to point:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ssd = SingleShotDetector(data, backbone=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'resnet101'&lt;/SPAN&gt;&lt;SPAN&gt;,focal_loss=&lt;/SPAN&gt;&lt;SPAN class=""&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I got the error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;ImportError&lt;/SPAN&gt;: cannot import name 'set_guard_fail_hook' from 'torch._dynamo.eval_frame' (C:\Users\vholubec\AppData\Local\ESRI\conda\envs\CloneWars\Lib\site-packages\torch\_dynamo\eval_frame.py)&lt;/PRE&gt;&lt;P&gt;I am using Pro 3.3 with ArcGIS Deep Learning Essential package, so all should be fine - don´t you know if there is some workaround?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found similar error here:&amp;nbsp;&lt;A href="https://github.com/unslothai/unsloth/issues/243," target="_blank" rel="noopener"&gt;https://github.com/unslothai/unsloth/issues/243,&lt;/A&gt;&amp;nbsp;but nothing has helped to fix it in Pro.&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 19:05:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/ingleshotdetector-error-cannot-import-name-set/m-p/1488440#M690</guid>
      <dc:creator>VHolubec</dc:creator>
      <dc:date>2024-06-10T19:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: ingleShotDetector error - cannot import name 'set_guard_fail_hook' from 'torch._dynamo.eval_frame'</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/ingleshotdetector-error-cannot-import-name-set/m-p/1490841#M693</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/78925"&gt;@VHolubec&lt;/a&gt; Is it only the Single Shot Detector Model Type not working? Are you encountering issues with other Model Types (e.g. RetinaNet) or any other deep learning tools? This would help determine if it's a deep learning package installation issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 17:59:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/ingleshotdetector-error-cannot-import-name-set/m-p/1490841#M693</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2024-06-12T17:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: ingleShotDetector error - cannot import name 'set_guard_fail_hook' from 'torch._dynamo.eval_frame'</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/ingleshotdetector-error-cannot-import-name-set/m-p/1492627#M694</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2666"&gt;@PavanYadav&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;after further steps - new clonned environment and installing DL Libraries from GitHUB from GitHUB, which became available a while after I asked, it has started to work.&lt;/P&gt;&lt;P&gt;So it look, there was some temporal issue, solved on the package side.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 10:03:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/ingleshotdetector-error-cannot-import-name-set/m-p/1492627#M694</guid>
      <dc:creator>VHolubec</dc:creator>
      <dc:date>2024-06-14T10:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: ingleShotDetector error - cannot import name 'set_guard_fail_hook' from 'torch._dynamo.eval_frame'</title>
      <link>https://community.esri.com/t5/arcgis-image-analyst-questions/ingleshotdetector-error-cannot-import-name-set/m-p/1493831#M695</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/78925"&gt;@VHolubec&lt;/a&gt;&amp;nbsp;that's great.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 16:25:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-analyst-questions/ingleshotdetector-error-cannot-import-name-set/m-p/1493831#M695</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2024-06-17T16:25:27Z</dc:date>
    </item>
  </channel>
</rss>

