Video Classification
Keras
deepfake-detection
explainability
grad-cam
efficientnet
faceforensics
tensorflow
Instructions to use mertkayacs/xdfdet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use mertkayacs/xdfdet with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://mertkayacs/xdfdet") - Notebooks
- Google Colab
- Kaggle
Download conversion.json from mertkayacs/xdfdet: direct link, hf CLI and curl.
- Browser
- Download file 1.88 kB
-
https://huggingface.co/mertkayacs/xdfdet/resolve/main/conversion.json
- Command line
-
hf download hf://mertkayacs/xdfdet/conversion.json
-
curl -L -o conversion.json https://huggingface.co/mertkayacs/xdfdet/resolve/main/conversion.json
1.88 kB
| { | |
| "baseline": { | |
| "source": "baseline_no_aug_no_cutout.h5", | |
| "weights_identical": true, | |
| "video_score_mixed_float16": [ | |
| 0.468505859375, | |
| 0.493896484375 | |
| ], | |
| "video_score_release": [ | |
| 0.6664999723434448, | |
| 0.10909999907016754 | |
| ] | |
| }, | |
| "aug-standard": { | |
| "source": "justaug.h5", | |
| "weights_identical": true, | |
| "video_score_mixed_float16": [ | |
| 1.0, | |
| 1.0 | |
| ], | |
| "video_score_release": [ | |
| 1.0, | |
| 1.0 | |
| ] | |
| }, | |
| "cutout-random": { | |
| "source": "noaug.h5", | |
| "weights_identical": true, | |
| "video_score_mixed_float16": [ | |
| 0.0, | |
| 0.0 | |
| ], | |
| "video_score_release": [ | |
| 0.0, | |
| 0.0 | |
| ] | |
| }, | |
| "cutout-black": { | |
| "source": "noaugcb.h5", | |
| "weights_identical": true, | |
| "video_score_mixed_float16": [ | |
| 0.0, | |
| 0.0011997222900390625 | |
| ], | |
| "video_score_release": [ | |
| 0.0, | |
| 0.007699999958276749 | |
| ] | |
| }, | |
| "cutout-white": { | |
| "source": "noaugcw.h5", | |
| "weights_identical": true, | |
| "video_score_mixed_float16": [ | |
| 1.0, | |
| 1.0 | |
| ], | |
| "video_score_release": [ | |
| 1.0, | |
| 1.0 | |
| ] | |
| }, | |
| "aug-cutout-random": { | |
| "source": "rc12.h5", | |
| "weights_identical": true, | |
| "video_score_mixed_float16": [ | |
| 0.52197265625, | |
| 0.4453125 | |
| ], | |
| "video_score_release": [ | |
| 0.40709999203681946, | |
| 0.45080000162124634 | |
| ] | |
| }, | |
| "aug-cutout-black": { | |
| "source": "bzeroc12.h5", | |
| "weights_identical": true, | |
| "video_score_mixed_float16": [ | |
| 0.99365234375, | |
| 0.9990234375 | |
| ], | |
| "video_score_release": [ | |
| 0.9980000257492065, | |
| 0.9994999766349792 | |
| ] | |
| }, | |
| "aug-cutout-white": { | |
| "source": "whitec12.h5", | |
| "weights_identical": true, | |
| "video_score_mixed_float16": [ | |
| 1.0, | |
| 0.9990234375 | |
| ], | |
| "video_score_release": [ | |
| 0.9998999834060669, | |
| 0.9979000091552734 | |
| ] | |
| } | |
| } |