add "do_center_crop": true to preprocessor_config.json
#3
by xieofxie - opened
in https://github.com/huggingface/transformers/blob/cecacd374f575ad7ffe37dcd69a98cf00b551011/src/transformers/image_processing_utils_fast.py#L298 the default do_center_crop is None, so it will not crop in https://github.com/huggingface/transformers/blob/main/src/transformers/models/vit/image_processing_vit_fast.py
Update to fix