Video Classification
Keras
deepfake-detection
explainable-ai
image-classification
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
File size: 1,875 Bytes
f0d4984 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | {
"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
]
}
} |