fork-detect-fake / README.md
wyyadd's picture
Duplicate from not-lain/deepfake
402b016 verified
metadata
license: apache-2.0
base_model: aaronespasa/deepfake-detection-resnetinceptionv1
library_name: transformers

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