I'm attempting to analyze millions of JPG images stored in a filesystem using arcpy.ia.ClassifyPixelsUsingDeepLearning and am stuck on how to do this efficiently.
My ideal script would instantiate the model into GPU memory and then feed it batches of images within a loop. Ideally I'd load these batches using my own parallel processing code, and the images would be provided to the model as numpy arrays or torch tensors, with the output being received in a similar object format. This is how you do it outside of the ESRI ecosystem, and it is very performant and flexible and easy to reason about.
Is anything like this possible using Python + Image Analyst + DPLK models?
I'm using ArcGIS Pro 3.3 on Windows 11