Running "Classify Pixels Using Deep Learning"-tool fails

1087
8
01-05-2022 06:45 AM
CarstenAndersson
Occasional Contributor

Hi.

I am trying to "face blur" some images but no matter which images I choose the result is "ERROR 999999".

CarstenAndersson_0-1641393758056.png

This has been working until updating to ArcGIS Pro 2.9. Any ideas what could have happened?

Tags (2)
0 Kudos
8 Replies
DanPatterson
MVP Esteemed Contributor

try a different raster output name and shorten the path eg. c:\Temp\blurr.tiff

just to rule out location and file type issues


... sort of retired...
0 Kudos
CarstenAndersson
Occasional Contributor

Hi Dan.

Same results I'm afraid

CarstenAndersson_0-1641454632770.png

 

0 Kudos
DanPatterson
MVP Esteemed Contributor

you need a file extension otherwise it is trying to create an esri grid, try

c:\Test\Output.tif


... sort of retired...
0 Kudos
CarstenAndersson
Occasional Contributor

Hi Dan.

Unfortunately the same result

CarstenAndersson_0-1641474065964.png

 

0 Kudos
ChelseaRozek
MVP Regular Contributor

I just ran into some issues with the deep learning tools in 2.9 too. What is the text provided under Messages? It provided a clearer error for me there and I found a solution on the github page: Issues · Esri/deep-learning-frameworks (github.com)

0 Kudos
CarstenAndersson
Occasional Contributor

Hi Chelsea.

Thanks for the link. I will check it out 🙂

The first messages after running the tool were:

WARNING 003054: Input Raster does not support PIXEL_SPACE (raw image space). Running in MAP_SPACE.
ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.
Unable to read pixels from the python raster function.
Unable to read pixels from the python raster function.
Function Read Error [Raster Function Template]
Unable to read pixels from the python raster function.


The warning at the top also showed up when this was working, so I don't think this is the cause of the error. I've tried to Google "Unable to read pixels from the python raster function" but without any luck.

0 Kudos
DanPatterson
MVP Esteemed Contributor

If the process doesn't work with any image, then something is fundamentally wrong, so I would contact tech support.

I assume that you have the latest packages installed for deep learning

Esri/deep-learning-frameworks: Installation support for Deep Learning Frameworks for the ArcGIS Syst...

 


... sort of retired...
0 Kudos
CarstenAndersson
Occasional Contributor

I do have the latest packages installed. But I guess, as you suggest, that some other bigger issue is causing this. Thanks! 🙂

0 Kudos