Why TrOCR processor has a feature extractor?

can you check your image shape and report it should be 3 dimensional. check if it doesn’t