Description
When tools such as Classify Raster or Inspect Training Samples are run, a function chain is set up internally that depends on specific inputs in the correct order. When these inputs are incorrect, or in the wrong order, function initialization fails.
Solution
Check that the tool inputs, such as rasters, band numbers, or bit depth, match the same inputs used in the classification training tools, and that the inputs are in the same order. The training tools produce an .ecd file (JSON) that can be viewed as a text file for verification of constant inputs in the training tools and the Classify Raster or Inspect Training Samples tool.