Views
No views yet
![]() | ![]() | ![]() |
|---|
1git lfs install
2git clone https://huggingface.co/Sumsub/Sumsub-ffs-synthetic-1.0_sd_200 sumsub_synthetic_sd_2001from sumsub_synthetic_sd_200.pipeline import PreTrainedPipeline
2from PIL import Image
3
4pipe = PreTrainedPipeline("sumsub_synthetic_sd_200/")
5
6img = Image.open("sumsub_synthetic_sd_200/images/2.jpg")
7
8result = pipe(img)
9print(result)1pip install -r requirements.txt
2pip install "git+https://github.com/rwightman/pytorch-image-models"
3pip install "git+https://github.com/huggingface/huggingface_hub"| Model | Dataset | Accuracy |
|---|---|---|
| diffusions_200M | Kaggel SD Faces | 0.989 |
| diffusions_200M | DiffusionDB | 0.926 |
| diffusions_200M | Stable Diffusion Wordnet Dataset | 0.946 |
| diffusions_200M | MS COCO | 0.941 |

1@misc{sumsubaiornot,
2 publisher = {Sumsub},
3 url = {https://huggingface.co/Sumsub/Sumsub-ffs-synthetic-1.0_sd_200},
4 year = {2023},
5 author = {Savelyev, Alexander and Toropov, Alexey and Goldman-Kalaydin, Pavel and Samarin, Alexey},
6 title = {For Fake's Sake: a set of models for detecting deepfakes, generated images and synthetic images}
7}