Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hmstella0 opened this issue Dec 29, 2023 · 4 comments

Comments

@hmstella0
Copy link

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
Copy link
Collaborator

scw commented May 31, 2024

@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
Copy link
Collaborator

scw commented Jun 13, 2024

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

@rolanddu
Copy link

I received this error in 3.4.0 yesterday. I am using the standard Python environment that is installed with Pro.

@rolanddu
Copy link

I was able to circumvent this error by completely uninstalling and reinstalling ArcGIS Pro 3.4 and this Deep Learning set of tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants