Deep Learning on Image Server - Could not service request ERROR

253
0
03-17-2022 03:58 AM
InfodimGIS
New Contributor II

I am trying to run arcgis.learn.detect_object() function on an Image Server (ArcGIS Server 10.8.1) with 2 VM (2 GPUs Nvidia Tesla T4, 16GB RAM each one). I use the “Building Footprint Extraction – USA” as model and an image (5KmX2km, 0.1m ps) to test the site.

Sometimes the code is running and the results are similar to ArcGIS Pro Image Analyst, but sometimes it crashes and it appears one of the next two messages.

First Message: 

InfodimGIS_0-1647514022977.png

InfodimGIS_1-1647514022981.png

Second message:

InfodimGIS_2-1647514022987.png

InfodimGIS_3-1647514022988.png

When I try to test the code with a bigger image (e.g., a mosaic of 5-6 images as the above) it crushes all the time.

The code:

InfodimGIS_4-1647514022990.png

Finally, I’d like to ask if you have any suggestions about improving the performance and optimizing the parameters for better results. As you can see on the script, I have padding:32, threshold:0.9 and batch_size: 8. For a single image, it takes a few minutes with 2 GPUs (It takes about 2 hours with one GPU), but the results need improvement.

0 Kudos
0 Replies