Replacing deprecated `CLIPFeatureExtractor` for `CLIPImageProcessor`
Browse filesRemoving warnings as part of [Comprehensive type checking for `from_pretrained` kwargs](https://github.com/huggingface/diffusers/pull/10758)
feature_extractor/preprocessor_config.json
CHANGED
|
@@ -8,13 +8,13 @@
|
|
| 8 |
"do_normalize": true,
|
| 9 |
"do_rescale": true,
|
| 10 |
"do_resize": true,
|
| 11 |
-
"feature_extractor_type": "
|
| 12 |
"image_mean": [
|
| 13 |
0.48145466,
|
| 14 |
0.4578275,
|
| 15 |
0.40821073
|
| 16 |
],
|
| 17 |
-
"image_processor_type": "
|
| 18 |
"image_std": [
|
| 19 |
0.26862954,
|
| 20 |
0.26130258,
|
|
|
|
| 8 |
"do_normalize": true,
|
| 9 |
"do_rescale": true,
|
| 10 |
"do_resize": true,
|
| 11 |
+
"feature_extractor_type": "CLIPImageProcessor",
|
| 12 |
"image_mean": [
|
| 13 |
0.48145466,
|
| 14 |
0.4578275,
|
| 15 |
0.40821073
|
| 16 |
],
|
| 17 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 18 |
"image_std": [
|
| 19 |
0.26862954,
|
| 20 |
0.26130258,
|