PROBLEM

Unable to run the Train Deep Learning Model tool in an offline environment

Last Published: October 22, 2020

Description

When using the Train Deep Learning Model tool in an offline environment, it fails with the following error:

Error:
Downloading: "https://download.pytorch.org/models/resnet34-333f7ec4.pth" to C:\Users\Administrator/.cache\torch\checkpoints esnet34-333f7ec4.pth
Image of the error when running the Train Deep Learning Model tool.

Cause

This issue occurs because the tool needs to download a pytorch (.pth) file that it requires to run.

Solution or Workaround

To use the Train Deep Learning Model tool in an offline environment, follow the steps below:

  1. In an online environment, navigate to the following URL in a browser to download the required .pth file.
https://download.pytorch.org/models/resnet34-333f7ec4.pth
  1. Transfer the downloaded file into the offline environment, and save the file in the following location:
C:\Users\Administrator/.cache\torch\checkpoints
Image of the downloaded file saved in the offline environment.
  1. Run the tool. It runs successfully since the required .pth file is saved within the folder that the tool refers to.

Article ID: 000024360

Software:
  • ArcGIS Pro 2 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options