Views
No views yet
| Dataset | Accuracy |
|---|---|
| FaceForensics++ FaceSwap | 69% |
| FaceForensics++ DeepFakeDetection | 91% |
| FaceForensics++ Deepfake | 93% |
| FaceForensics++ FaceShifter | 46% |
| FaceForensics++ NeuralTextures | 60% |
Note: Poor performance on the FaceShifter dataset is attributed to the model's difficulty in learning subtle visual artifacts.
| Model | Validation | Test |
|---|---|---|
| CViT | 87.25% | 91.5% |
| Model | Validation | FaceSwap | Face2Face |
|---|---|---|---|
| CViT | 93.75% | 69.69% | 69.39% |
[0.485, 0.456, 0.406][0.229, 0.224, 0.225]y ∈ [0, 1]
0 < y < 0.5: Real0.5 ≤ y ≤ 1: Fake1from huggingface_hub import hf_hub_download
2import torch
3
4# Download model
5model_path = hf_hub_download(
6 repo_id="mhamza-007/cvit_deepfake_detection",
7 filename="cvit2_deepfake_detection_ep_50.pth"
8)
9
10# Load model (example)
11model = torch.load(model_path, map_location='cpu')
12model.eval()