Update preprocessor_config.json to use image_processor_type
#32
by
ensaimado
- opened
This pull request addresses a warning message that appears when using the nlpconnect/vit-gpt2-image-captioning
model. The warning suggests updating the preprocessor_config.json
file to use image_processor_type
instead of feature_extractor_type
.
Changes made:
- Renamed
feature_extractor_type
toimage_processor_type
inpreprocessor_config.json
.
This change should help to align the model's configuration with the latest practices in the transformers
library and remove the warning message for users of the model.