ReySajju742 commited on
Commit
0a58998
1 Parent(s): 5a580da

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +55 -0
README.md CHANGED
@@ -1,3 +1,58 @@
1
  ---
2
  license: wtfpl
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: wtfpl
3
+ language:
4
+ - en
5
+ - ur
6
+ tags:
7
+ - facial
8
+ - recognization
9
+ - face
10
+ - ML
11
+ - Ai
12
  ---
13
+ Model Card: Facial Recognition Model
14
+ Model Information
15
+ Name: Facial Means
16
+ Type: Convolutional Neural Network (CNN)
17
+ Framework: TensorFlow
18
+ Dataset: Celebrity Faces Dataset
19
+ Dataset Path: /content/drive/MyDrive/beard_dataset/celb_dataset/
20
+ Model Save Path: /content/drive/MyDrive/beard_dataset/celebrity_model.h5
21
+ Image Dimensions: 224 x 224 pixels
22
+ Batch Size: 32
23
+ Data Augmentation
24
+ Rescale: 1./255
25
+ Shear Range: 0.2
26
+ Zoom Range: 0.2
27
+ Horizontal Flip: True
28
+ Validation Split: 20%
29
+ Model Architecture
30
+ Layer (type) Output Shape Param #
31
+ ===============================================================
32
+ conv2d (Conv2D) (None, 222, 222, 32) 896
33
+ max_pooling2d (MaxPooling2D) (None, 111, 111, 32) 0
34
+ conv2d_1 (Conv2D) (None, 109, 109, 64) 18496
35
+ max_pooling2d_1 (MaxPooling2D)(None, 54, 54, 64) 0
36
+ conv2d_2 (Conv2D) (None, 52, 52, 128) 73856
37
+ max_pooling2d_2 (MaxPooling2D)(None, 26, 26, 128) 0
38
+ flatten (Flatten) (None, 86528) 0
39
+ dense (Dense) (None, 128) 11075712
40
+ dense_1 (Dense) (None, 6) 774
41
+ ===============================================================
42
+ Total params: 11,170,734
43
+ Trainable params: 11,170,734
44
+ Non-trainable params: 0
45
+ Model Compilation
46
+ Optimizer: Adam
47
+ Loss Function: Categorical Crossentropy
48
+ Metrics: Accuracy
49
+ Training
50
+ Epochs: 10
51
+ Steps per Epoch: Calculated based on the training dataset size and batch size.
52
+ Validation Steps: Calculated based on the validation dataset size and batch size.
53
+ Model Save
54
+ The trained model is saved at /content/drive/MyDrive/beard_dataset/celebrity_model.h5.
55
+ Conclusion
56
+ The facial recognition model has been trained on a celebrity faces dataset using TensorFlow. The model architecture includes convolutional and pooling layers, followed by fully connected layers for classification. The training process involves data augmentation and achieves satisfactory accuracy.
57
+
58
+ Model training code provided by Muhammad Sajjad Rasool.