Select to view content in your preferred language

Classify Pixels Using Deep Learning Produces Empty Output

197
3
3 weeks ago
dhan
by
Emerging Contributor

Hello,

I'm currently attempting to follow this model guide here: Use the model—ArcGIS pretrained models | Documentation

The guide uses this model here: Land Cover Classification (Aerial Imagery) - Overview

This is the tif file that I originally started with:

dhan_0-1753896827413.png

dhan_1-1753896840558.png

However, since this tif file has 4 bands and was in state plane feet, I projected (Project Raster) the layer so that it was in meters and then extracted bands (Extract Bands) 1,2, and 3. That result is shown here:

dhan_4-1753897168364.png

 

dhan_5-1753897179275.png

 

This layer was then used as the input for the Classify Pixels Using Deep Learning tool. The parameters were set as the guide had shown them. This is how I set the tool up:

dhan_6-1753897332529.png

dhan_7-1753897393779.png

 

However, my output from that tool returns a raster layer that only has 0 or 255 values and not the distinct land cover classes. Here is what the output layer properties look like:

dhan_8-1753897739330.png

dhan_9-1753897750812.png

And this is the output layer visualized by stretch:

dhan_10-1753897817612.png


Is there some step I am missing? Or maybe there is some sort of mismatch between my input and what the model expects? 

 

Thanks in advance.

 



 

0 Kudos
3 Replies
PavanYadav
Esri Regular Contributor

@dhan

hi @dhan Can you please share a small portion of your input raster? Also, just for a test, could you try an object detection model? Depending on the objects in your image, you might try Text SAM or Building Footprints detections. I'd like to see if this is a software or a model problem. Thanks!

 

Pavan Yadav
Product Engineer at Esri
AI for Imagery
Connect with me on LinkedIn!
Contact Esri Support Services
0 Kudos
dhan
by
Emerging Contributor

Hi @PavanYadav ,

Thanks. The resolution is very fine so it exceeds the maximum file size limit. Is there an alternate way of sharing the sample data? Or I can try to extract a very small extent to be under 9MB, but I am not sure if the model would work then.

0 Kudos
PavanYadav
Esri Regular Contributor

@dhanCould you please email me at pyadav AT esri DOT com with a link to the data on OneDrive or another password-protected drive? Or, you can just email and we can set up meeting if you're in PST zone. 

Pavan Yadav
Product Engineer at Esri
AI for Imagery
Connect with me on LinkedIn!
Contact Esri Support Services
0 Kudos