feat: move censor to extras, optimize safety checker file handling

This commit is contained in:
Manuel Schmid
2024-05-18 01:59:15 +02:00
parent 0f78f8d8cc
commit 7568b72d9b
7 changed files with 211 additions and 7 deletions
@@ -0,0 +1,20 @@
{
"crop_size": 224,
"do_center_crop": true,
"do_convert_rgb": true,
"do_normalize": true,
"do_resize": true,
"feature_extractor_type": "CLIPFeatureExtractor",
"image_mean": [
0.48145466,
0.4578275,
0.40821073
],
"image_std": [
0.26862954,
0.26130258,
0.27577711
],
"resample": 3,
"size": 224
}