oussema3002 commited on
Commit
d8c00a9
·
verified ·
1 Parent(s): a9a6ed0

Upload augmentation_config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. augmentation_config.json +11 -56
augmentation_config.json CHANGED
@@ -1,57 +1,12 @@
1
- {
2
- "description": "Massive Data Augmentation Strategy for Deepfake Detection",
3
- "libraries": [
4
- "albumentations"
5
- ],
6
- "transforms": [
7
- {
8
- "name": "ImageCompression",
9
- "params": {
10
- "quality_lower": 60,
11
- "quality_upper": 100,
12
- "p": 0.5
13
- }
14
- },
15
- {
16
- "name": "GaussNoise",
17
- "params": {
18
- "var_limit": [
19
- 10.0,
20
- 50.0
21
- ],
22
- "p": 0.3
23
- }
24
- },
25
- {
26
- "name": "GaussianBlur",
27
- "params": {
28
- "blur_limit": [
29
- 3,
30
- 7
31
- ],
32
- "p": 0.3
33
- }
34
- },
35
- {
36
- "name": "RandomBrightnessContrast",
37
- "params": {
38
- "p": 0.5
39
- }
40
- },
41
- {
42
- "name": "CoarseDropout",
43
- "params": {
44
- "max_holes": 8,
45
- "max_height": 50,
46
- "max_width": 50,
47
- "p": 0.3
48
- }
49
- },
50
- {
51
- "name": "HorizontalFlip",
52
- "params": {
53
- "p": 0.5
54
- }
55
- }
56
- ]
57
  }
 
1
+ {
2
+ "strategy": "On-the-fly Massive Augmentation",
3
+ "transforms": [
4
+ "ImageCompression(quality_lower=60, p=0.5)",
5
+ "GaussNoise(var_limit=50, p=0.3)",
6
+ "GaussianBlur(blur_limit=7, p=0.3)",
7
+ "CoarseDropout(max_holes=8, p=0.5)",
8
+ "RandomBrightnessContrast(p=0.5)",
9
+ "HorizontalFlip(p=0.5)"
10
+ ],
11
+ "note": "Apply these transforms on frames during training loader."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  }