commit files to HF hub
Browse files- README.md +29 -0
- config.json +47 -0
- model.safetensors +3 -0
- preprocessor_config.json +23 -0
README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- face-recognition
|
| 4 |
+
- pytorch
|
| 5 |
+
- security
|
| 6 |
+
- surveillance
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
|
| 10 |
+
model-index:
|
| 11 |
+
- name: face-recognition-model
|
| 12 |
+
results:
|
| 13 |
+
- task:
|
| 14 |
+
name: Face Recognition
|
| 15 |
+
type: image-classification
|
| 16 |
+
metrics:
|
| 17 |
+
- name: Accuracy
|
| 18 |
+
type: accuracy
|
| 19 |
+
value: 0.95
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# face-recognition-model
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
Autogenerated by FaceRecognitionAI 🤖📸
|
| 26 |
+
|
| 27 |
+
This model is designed for real-time facial recognition, useful for security, authentication, and surveillance applications.
|
| 28 |
+
|
| 29 |
+
Report any issues or contribute to the development at the [GitHub repo](https://github.com/your-repo).
|
config.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"ViTForImageClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.0,
|
| 7 |
+
"encoder_stride": 16,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.0,
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "Ahmar_Ashfaq_Awan",
|
| 13 |
+
"1": "Ali_Zafar",
|
| 14 |
+
"2": "Ayeza_Khan",
|
| 15 |
+
"3": "Bilal_Abbas",
|
| 16 |
+
"4": "Bilal_Ashraf",
|
| 17 |
+
"5": "Faheem_Afzal_Awan",
|
| 18 |
+
"6": "Fawad_Khan",
|
| 19 |
+
"7": "Hania_Amir",
|
| 20 |
+
"8": "Hina_Altaf",
|
| 21 |
+
"9": "Hugh_Jackman"
|
| 22 |
+
},
|
| 23 |
+
"image_size": 224,
|
| 24 |
+
"initializer_range": 0.02,
|
| 25 |
+
"intermediate_size": 3072,
|
| 26 |
+
"label2id": {
|
| 27 |
+
"Ahmar_Ashfaq_Awan": "0",
|
| 28 |
+
"Ali_Zafar": "1",
|
| 29 |
+
"Ayeza_Khan": "2",
|
| 30 |
+
"Bilal_Abbas": "3",
|
| 31 |
+
"Bilal_Ashraf": "4",
|
| 32 |
+
"Faheem_Afzal_Awan": "5",
|
| 33 |
+
"Fawad_Khan": "6",
|
| 34 |
+
"Hania_Amir": "7",
|
| 35 |
+
"Hina_Altaf": "8",
|
| 36 |
+
"Hugh_Jackman": "9"
|
| 37 |
+
},
|
| 38 |
+
"layer_norm_eps": 1e-12,
|
| 39 |
+
"model_type": "vit",
|
| 40 |
+
"num_attention_heads": 12,
|
| 41 |
+
"num_channels": 3,
|
| 42 |
+
"num_hidden_layers": 12,
|
| 43 |
+
"patch_size": 16,
|
| 44 |
+
"qkv_bias": true,
|
| 45 |
+
"torch_dtype": "float32",
|
| 46 |
+
"transformers_version": "4.48.3"
|
| 47 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27bfaf21f9d5db65b148c87271d13feb83d2641e82e8acdd0b434759161982c4
|
| 3 |
+
size 343248584
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": null,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.5,
|
| 8 |
+
0.5,
|
| 9 |
+
0.5
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "ViTFeatureExtractor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.5,
|
| 14 |
+
0.5,
|
| 15 |
+
0.5
|
| 16 |
+
],
|
| 17 |
+
"resample": 2,
|
| 18 |
+
"rescale_factor": 0.00392156862745098,
|
| 19 |
+
"size": {
|
| 20 |
+
"height": 224,
|
| 21 |
+
"width": 224
|
| 22 |
+
}
|
| 23 |
+
}
|