Add detector configuration
Browse files- detector_config.json +31 -0
detector_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "FrequencyAwareDetector",
|
| 3 |
+
"backbone_name": "microsoft/swinv2-tiny-patch4-window8-256",
|
| 4 |
+
"num_labels": 2,
|
| 5 |
+
"dct_patch_size": 32,
|
| 6 |
+
"num_freq_bands": 8,
|
| 7 |
+
"fft_bins": 32,
|
| 8 |
+
"image_size": 256,
|
| 9 |
+
"id2label": {
|
| 10 |
+
"0": "real",
|
| 11 |
+
"1": "ai_generated"
|
| 12 |
+
},
|
| 13 |
+
"label2id": {
|
| 14 |
+
"real": 0,
|
| 15 |
+
"ai_generated": 1
|
| 16 |
+
},
|
| 17 |
+
"srm_filters": 30,
|
| 18 |
+
"srm_description": "Spatial Rich Model high-pass filter bank (Fridrich & Kodovsky, 2012)",
|
| 19 |
+
"dct_description": "2D Discrete Cosine Transform patch-wise frequency band analysis",
|
| 20 |
+
"fft_description": "Azimuthally averaged FFT power spectrum with 1/f deviation analysis",
|
| 21 |
+
"backbone_description": "SwinV2-Tiny pretrained on ImageNet for semantic feature extraction",
|
| 22 |
+
"training_dataset": "OwensLab/CommunityForensics-Small",
|
| 23 |
+
"training_dataset_size": 556000,
|
| 24 |
+
"num_generators": 4803,
|
| 25 |
+
"total_params": 28604140,
|
| 26 |
+
"social_media_augmentation": {
|
| 27 |
+
"jpeg_compression": {"probability": 0.10, "quality_range": [30, 95]},
|
| 28 |
+
"gaussian_blur": {"probability": 0.10, "sigma_range": [0.1, 2.0]},
|
| 29 |
+
"downscale_upscale": {"probability": 0.05, "scale_range": [0.5, 0.9]}
|
| 30 |
+
}
|
| 31 |
+
}
|