Create preprocessor_config.json
Browse files- preprocessor_config.json +12 -0
preprocessor_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"processor_class": "AutoImageProcessor",
|
3 |
+
"pretrained_model_name": "umm-maybe/AI-image-detector",
|
4 |
+
"image_processing": {
|
5 |
+
"convert_to_rgb": true,
|
6 |
+
"return_tensors": "pt"
|
7 |
+
},
|
8 |
+
"data_collator": {
|
9 |
+
"type": "custom",
|
10 |
+
"description": "CustomDataCollator to stack image tensors and labels"
|
11 |
+
}
|
12 |
+
}
|