Remove differences between init and preprocess kwargs for fast image processors (#36186)
* Remove differences between init and preprocess kwargs in fast image processors * make modifs got_ocr2 * update gemma3
This commit is contained in:
@@ -1087,8 +1087,7 @@ TYPE_TO_FILE_TYPE = {
|
||||
"Processor": "processing",
|
||||
"ImageProcessor": "image_processing",
|
||||
"ImageProcessorFast": "image_processing*_fast", # "*" indicates where to insert the model name before the "_fast" suffix
|
||||
"FastImageProcessorInitKwargs": "image_processing*_fast",
|
||||
"FastImageProcessorPreprocessKwargs": "image_processing*_fast",
|
||||
"FastImageProcessorKwargs": "image_processing*_fast",
|
||||
"FeatureExtractor": "feature_extractor",
|
||||
"ProcessorKwargs": "processing",
|
||||
"ImagesKwargs": "processing",
|
||||
|
||||
Reference in New Issue
Block a user