Esri / deep-learning-frameworks

Installation support for Deep Learning Frameworks for the ArcGIS System
429 stars 105 forks source link

Unable to run the Detect Objects Using Deep Learning tool in ArcGIS Pro 3.2 #78

Open hmstella0 opened 8 months ago

hmstella0 commented 8 months ago

Hi, I have a fresh install of ArcGIS Pro 3.2 and just found out that it can't run the Detect Objects Using the Deep Learning tool.

I installed the deep learning library using the installer on the page, and checked the torch can be read in ArcGIS Pro through the Python window.

For the tool, I selected the pre-trained model "Building Footprints-USA" from Living Atlas. The tool ran for a couple of seconds and ArcGIS Pro suddenly turned off. When I tried again with the pre-trained model again, the error says "NameError: name 'torch' is not defined Unable to initialize python raster function with scalar arguments."

scw commented 2 months ago

@hmstella0 Are you working in a custom environment or within the default arcgispro-py3 environment? If you're able to, please see if this behavior reproduces for you with Pro 3.3. If you're stuck on 3.2 and this issue persists, please provide information about your Python environment and GPU type, thanks!

scw commented 2 months ago

@hmstella0 Were you able to address this issue? Did your crash create any error logs?