<?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: Exception: This module requires fastai, PyTorch and torchvision in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843002#M3589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same issue for me too. Why doesn't ArcGIS recognizes the most recent deep learning framework versions? Are the versions which you mentioned above, the minimum versions required or the exact versions required?. I am assuming if I have PyTorch 1.3.0, it should still run without throwing any errors, but it still throwing up an error for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2020 21:44:26 GMT</pubDate>
    <dc:creator>RVG296</dc:creator>
    <dc:date>2020-03-27T21:44:26Z</dc:date>
    <item>
      <title>Exception: This module requires fastai, PyTorch and torchvision</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843000#M3587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I,m trying to implement building footprint detection using Deep Learning as shown in this example&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/sample-notebooks/extracting-building-footprints-from-drone-data/" title="https://developers.arcgis.com/python/sample-notebooks/extracting-building-footprints-from-drone-data/"&gt;Extracting Building Footprints From Drone Data | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;with my own data. But I'm getting the following error when I run the prepare_data() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/478458_Fastai_required_error.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command I ran was&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/478459_Prepare_data_command.JPG" /&gt;&lt;/P&gt;&lt;P&gt;The packages that I'm using in my environment is shown below. This environment was created by cloning the default arcgis environment (ArcGIS Pro 2.4.3)&amp;nbsp; from the Python package manager&amp;nbsp;and then manually installing the packages (using pip) that were missing when compared to an environment that was created using the command&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;'conda install -c esri arcgis deep-learning-essentials --no-pin'. Please note that the missing packages that were installed were the latest versions and not the same versions as that of the environment created using the above command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/478457_Building_footprint_conda_environment.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions, comments or solutions are welcome.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 16:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843000#M3587</guid>
      <dc:creator>Vishnu_maheshVivek_nanda</dc:creator>
      <dc:date>2020-01-15T16:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exception: This module requires fastai, PyTorch and torchvision</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843001#M3588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this command to add missing packages and correct versions of a few&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;conda install -c esri -c fastai -c pytorch arcgis fastai=1.0.54 pytorch=1.1.0 cudatoolkit=10 scikit-image pillow=6.2.1 fastprogress=0.1.21 --no-pin&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2020 16:35:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843001#M3588</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-01-19T16:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Exception: This module requires fastai, PyTorch and torchvision</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843002#M3589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same issue for me too. Why doesn't ArcGIS recognizes the most recent deep learning framework versions? Are the versions which you mentioned above, the minimum versions required or the exact versions required?. I am assuming if I have PyTorch 1.3.0, it should still run without throwing any errors, but it still throwing up an error for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2020 21:44:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843002#M3589</guid>
      <dc:creator>RVG296</dc:creator>
      <dc:date>2020-03-27T21:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exception: This module requires fastai, PyTorch and torchvision</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843003#M3590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you made any progress on this? I am currently running into the same problem with each package installed in the active cloned environment but still being asked to install them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jul 2020 20:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843003#M3590</guid>
      <dc:creator>NiklasHausmann</dc:creator>
      <dc:date>2020-07-26T20:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Exception: This module requires fastai, PyTorch and torchvision</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843004#M3591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;I am pasting the current installation commands From the documentation page&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/python/guide/install-and-set-up/" style="color: #2989c5; text-decoration: none;"&gt;here&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;/P&gt;&lt;OL style="color: #3d3d3d; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="margin: 0.2em 0px;"&gt;You need to first clone the default environment and activate the cloned environment, help page for the same is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/get-started/what-is-conda.htm" style="color: #2989c5; text-decoration: none;"&gt;here&lt;/A&gt;.&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;You can then run the following command in python command prompt to install ArcGIS Python API with deep learning dependencies&lt;/LI&gt;&lt;/OL&gt;&lt;PRE style="color: #3d3d3d; font-size: 15px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;conda install -c esri -c fastai -c pytorch arcgis=1.8.2 scikit-image=0.15.0 pillow=6.2.2 libtiff=4.0.10 fastai=1.0.60 pytorch=1.4.0 torchvision=0.5.0 --no-pin&lt;/PRE&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;Let me know the issues which you are facing.&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;Thanks,&lt;BR /&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2020 06:32:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843004#M3591</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-28T06:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exception: This module requires fastai, PyTorch and torchvision</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843005#M3592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sandeep.&lt;/P&gt;&lt;P&gt;I had trouble with cloning the environment within ArcGISPro but doing everything via the python command prompt and using the versions for the various packages you provided, it worked out fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2020 12:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/843005#M3592</guid>
      <dc:creator>NiklasHausmann</dc:creator>
      <dc:date>2020-08-04T12:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exception: This module requires fastai, PyTorch and torchvision</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/1044542#M5894</link>
      <description>&lt;P&gt;Hi, Sandeep!&lt;/P&gt;&lt;P&gt;I encounter the same problem. I already clone my default ArcPro environment and already activate my clone env. Then I tried to paste your suggestion in the python command prompt, but seems like there is still an error. This is the result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(arcgispro-py3-clone) C:\Users\User\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone&amp;gt;conda install -c esri -c fastai -c pytorch arcgis fastai=1.0.54 pytorch=1.1.0 cudatoolkit=10 scikit-image pillow=6.2.1 fastprogress=0.1.21 --no-pin&lt;BR /&gt;Fetching package metadata .................&lt;BR /&gt;Solving package specifications:&lt;/P&gt;&lt;P&gt;InvalidSpecError: Invalid spec: &amp;gt;=&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(arcgispro-py3-clone) C:\Users\User\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone&amp;gt;conda install -c esri -c fastai -c pytorch arcgis=1.8.2 scikit-image=0.15.0 pillow=6.2.2 libtiff=4.0.10 fastai=1.0.60 pytorch=1.4.0 torchvision=0.5.0 --no-pin&lt;BR /&gt;Fetching package metadata .................&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;InvalidSpecError: Invalid spec: &amp;gt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sry_HandiniPuteri_0-1617778337640.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/10303i9EF0090EFBA12379/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sry_HandiniPuteri_0-1617778337640.png" alt="Sry_HandiniPuteri_0-1617778337640.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ssuggestions to this issue? Thanks!&lt;/P&gt;&lt;P&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 06:52:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/1044542#M5894</guid>
      <dc:creator>Sry_HandiniPuteri</dc:creator>
      <dc:date>2021-04-07T06:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Exception: This module requires fastai, PyTorch and torchvision</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/1045714#M5912</link>
      <description>&lt;P&gt;I have the same problem. So, if anyone have idea to solve this issue, we will be appreciated. Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 01:15:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/exception-this-module-requires-fastai-pytorch-and/m-p/1045714#M5912</guid>
      <dc:creator>TamerSaleh</dc:creator>
      <dc:date>2021-04-11T01:15:41Z</dc:date>
    </item>
  </channel>
</rss>

