
System requirement
The overview of installation
Choose Nvidia GPU driver
Search your GPU driver
Nvidia GPU driver installation
Why we need virtual environments?
Learn more about Anaconda
Practice to create environments
Anaconda installation
Tensorflow installation test
Pycharm installation
What is Jupyter notebook?
How to enter Jupyter interface in the base environment?
How to enter Jupyter interface in certain virtual environment?
Learn to use Jupyter notebook to organize deep learning code with cells, run code, memorize variables, and reset the kernel for efficient long-running functions.
Show the packages that I use
Comparison of image processing packages
Read images
Resize images
Change the color format
Transform to a gray image
Crop images
Save images
Display images
How to read image paths from a root folder
How to select specific extension names
How to form 4 dimensional image data
How to write a function to distribute a dataset into training and test set
What is a classification model?
What’s inside the AI black box?
What is AI model training?
How to evaluate the model?
What is the accuracy?
In the binary system, what are TP, FP, TN, FN?
What is the recall?
What is the precision?
What is the accuracy in terms of positives and negatives?
Why uses the deep learning?
How CNN works?
Strides of CNN
Padding of CNN
Non-linearity
Activation functions
Pooling of CNN
Flatten
Fully connection
Dropout
Labels
One-hot encoding
Label dictionary example
Softmax function
Loss function: cross entropy
Optimizer functions
A model example: VGG
About the data set: No validation set in my tutorial
•What’s Tensorflow?
•Why is Tensorflow difficult to understand?
•How to understand Tensorflow easily?
How to use Tensorflow functions?
Why and how to set GPU resource?
How to build deep learning models?
Use Tensorflow functions to create classic model: VGG16
How to define inputs?
Introduction of fashion mnist data set
What is the loss?
Set up the loss and the optimizer
Read image paths, labels and record classes from the train folder
Read image paths and labels from the validation folder
An introduction of batch data, batch size, iterations, and epoch
How to calculate iterations?
How to do the training?
How to evaluate the training?
Why do we need the validation data?
How to save the training weights?
What is transfer learning?
How to use PB file to do the inference?
Demonstrate how to write codes from scratch
Build a classification model overview detailing class initialization, model initialization, and training, with inputs like dataset paths and label dictionary, and outputs such as weights, pb files, and logs.
When you download the dataset(Mnist), please use the data distribution function(taught in Section 3) to divide the dataset into train and test set.
Initialize a masked face detection model by constructing a simple resnet with input placeholders, a dropout-enabled fully connected layer, and softmax cross-entropy loss with an Adam optimizer.
Execute transfer learning for masked face detection and recognition, iterating through batches and epochs, adjusting the optimizer and batch size while evaluating training and test performance.
Save training weights to CKPT and PB files
Save training results including the loss and the accuracy to the log file
The log file is a quick review if you want to know the parameters after 3 months
Milestones of face recognition
Face recognition sequence
Face recognition performance survey 2019
Why is FaceNet so classic?
FaceNet introduction
What’s the difference between normal classification and FaceNet
How to use embeddings to do face matching
Face recognition training and evaluation diagram
Training dataset introduction
What is VAL and FAR?
What is ROC Curve?
Results
Why can't we train FaceNet model with the simple ResNet model?
What's the lager model?
What is the standard evaluation method?
The test set input is replaced with another dataset
The inference model is replaced with a larger model
Add a standard evaluation method
Record all parameters
Check the training process is complete
Dataset introduction
Face alignment introduction
Face detection method introduction
Margin difference introduction
Object detection comparison
SSD face detection introduction
FaceMaskDetection class
Avoid some face detection cases
Write the program of face alignment
Please do face alignment to LFW dataset as your assignment
Explore MTC for face detection and alignment, using a three-net cascade on an image pyramid with a 0.7 scale factor to output bounding boxes and five landmark points.
Deep Learning of artificial intelligence(AI) is an exciting future technology with explosive growth.
Masked face recognition is a mesmerizing topic which contains several AI technologies including classifications, SSD object detection, MTCNN, FaceNet, data preparation, data cleaning, data augmentation, training skills, etc.
Nowadays, people are required to wear masks due to the COVID-19 pandemic.
The conventional FaceNet model barely recognizes faces without masks
Even the FaceID on iPhone or iPad devices only works without masks.
In this course, I will teach you how to train a model that works with masks.
In the final presentation, you will be able to perform the real time face detection, face mask detection, and face recognition, even with masks!
Windows is the operating system so you don't need to learn Linux first.
Having Python and Tensorflow knowledge are required.
In my tutorials, I would like to explain difficult theories and formulas by easy concepts or practical examples.
Model training always takes a lot of time.
Take this project as an example, it needs more than 400,000 images to train.
I will offer training skills to speed up the training process.
These training skills can be not only applied in face recognition but also in your future projects.
All lectures are spoken in plain English.
If you feel my speaking pace is quite slow, you can use the gear setting to speed up.
If you don't want to train the model by yourself, the source code and trained weight files are included!
Besides the training steps, this is also a highly integrated application.
Achievement from the topic, skills grow from the project. I hope you enjoy the fun of AI.