rohit5895 commited on
Commit
b365275
1 Parent(s): 0c708d3

Update preprocessor_config.json

Browse files

Got this warning while running.

Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration. Please open a PR/issue to update `preprocessor_config.json` to use `image_processor_type` instead of `feature_extractor_type`. This warning will be removed in v4.40.

Files changed (1) hide show
  1. preprocessor_config.json +1 -1
preprocessor_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "do_normalize": true,
3
  "do_resize": true,
4
- "feature_extractor_type": "ViTFeatureExtractor",
5
  "image_mean": [
6
  0.5,
7
  0.5,
 
1
  {
2
  "do_normalize": true,
3
  "do_resize": true,
4
+ "image_processor_type": "ViTFeatureExtractor",
5
  "image_mean": [
6
  0.5,
7
  0.5,