File size: 1,102 Bytes
011d3cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
widget:
- text: '-'
  output:
    url: images/wallpaper-supernova.jpg
base_model: dima806/deepfake_vs_real_image_detection
instance_prompt: null
license: apache-2.0
---
# DeepFakeDetection

<Gallery />

## Model description 

---
license: apache-2.0
metrics:
- accuracy
- f1
---
Checks whether an image is real or fake (AI-generated).

See https:&#x2F;&#x2F;www.kaggle.com&#x2F;code&#x2F;dima806&#x2F;deepfake-vs-real-faces-detection-vit for more details.

&#x60;&#x60;&#x60;
Classification report:

              precision    recall  f1-score   support

        Real     0.9921    0.9933    0.9927     38080
        Fake     0.9933    0.9921    0.9927     38081

    accuracy                         0.9927     76161
   macro avg     0.9927    0.9927    0.9927     76161
weighted avg     0.9927    0.9927    0.9927     76161
&#x60;&#x60;&#x60;


## Download model

Weights for this model are available in PyTorch,Safetensors format.

[Download](/ompathak/DeepFakeDetection/tree/main) them in the Files & versions tab.