error in classify using deep learning

603
1
02-06-2023 09:40 PM
尔德李
New Contributor

Classify Pixels Using Deep Learning
=====================
Parameters

Input Raster TEST\_XT_XL_C.tif
Output Classified Raster E:\arc PRO\MyProject\MyProject.gdb\test3
Model Definition E:\deep learn\newcl\newall\nocGPop\nocGPop.emd
Arguments padding 64;batch_size 2;predict_background True;test_time_augmentation False;tile_size 256
Processing Mode PROCESS_AS_MOSAICKED_IMAGE
Output Folder
=====================
Environments

Processor Type GPU
=====================
Messages

Start Time: 2023年2月7日 13:29:56
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 prepare input raster(s) for the python raster function.
Unable to open the specified raster. [raster]
Unable to extract and reorder raster bands. Invalid band index encountered. [requested band 4 at position 4]
Unable to prepare input raster(s) for the python raster function.
Unable to open the specified raster. [raster]
Unable to extract and reorder raster bands. Invalid band index encountered. [requested band 4 at position 4]
Unable to prepare input raster(s) for the python raster function.
Unable to open the specified raster. [raster]
Unable to extract and reorder raster bands. Invalid band index encountered. [requested band 4 at position 4]
Failed to execute (ClassifyPixelsUsingDeepLearning).
Failed at 2023年2月7日 13:29:59 (Elapsed Time: 3.28 seconds)

0 Kudos
1 Reply
PavanYadav
Esri Contributor

@尔德李 Can you please check the number of bands in the emd file under the ExtractBands section? Please unzip the dlpk if you don't see the emd file. For example, in my example emd, I have the following that means the model expects 8 bands input image. 


"ExtractBands": [
0,
1,
2,
3,
4,
5,
6,
7
],

0 Kudos