original model repo :

๐Ÿ“– this is a cutomized version of the following model aaronespasa/deepfake-detection-resnetinceptionv1

how to use

from transformers import pipeline
pipe = pipeline(model="not-lain/deepfake",trust_remote_code=True)
pipe.predict("img_path.jpg")
>> {"confidences":confidences,"face_with_mask": face_with_mask}

dependencies

to install related dependencies simply use the command

!wget https://huggingface.co/not-lain/deepfake/resolve/main/requirements.txt && pip install -r requirements.txt
Downloads last month
14
Safetensors
Model size
23.5M params
Tensor type
F32
ยท
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and HF Inference API does not yet support model repos that contain custom code.

Model tree for SivaResearch/Fake_Detection

Finetuned
(4)
this model

Space using SivaResearch/Fake_Detection 1