Reader small image

You're reading from  MLOps with Red Hat OpenShift

Product typeBook
Published inJan 2024
PublisherPackt
ISBN-139781805120230
Edition1st Edition
Right arrow
Authors (2):
Ross Brigoli
Ross Brigoli
author image
Ross Brigoli

Ross Brigoli is a consulting architect at Red Hat, where he focuses on designing and delivering solutions around microservices architecture, DevOps, and MLOps with Red Hat OpenShift for various industries. He has two decades of experience in software development and architecture.
Read more about Ross Brigoli

Faisal Masood
Faisal Masood
author image
Faisal Masood

Faisal Masood is a cloud transformation architect at AWS. Faisal's focus is to assist customers in refining and executing strategic business goals. Faisal main interests are evolutionary architectures, software development, ML lifecycle, CD and IaC. Faisal has over two decades of experience in software architecture and development.
Read more about Faisal Masood

View More author details
Right arrow

Training a model for face detection

In this section, you will use a pre-trained model to build your own model for detecting a human face in a picture. This may be a simple example but we have chosen it for a reason. Our aim is to show you how different components work together in such a system while being able to test it from any laptop with a webcam. You can enhance and rebuild the model for more complicated use cases if needed.

You will use Google’s EfficientNet, a highly efficient convolutional neural network, as the base pre-trained model. With pre-trained models, you do not need a huge amount of data to train the model for your use case. This will save you both time and compute resources. This method of reusing pre-trained models is also called transfer learning.

Because this model is specifically designed for image classification, in this example, we will be using it to classify whether an image contains a human face, a human finger, or something else. As a result...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
MLOps with Red Hat OpenShift
Published in: Jan 2024Publisher: PacktISBN-13: 9781805120230

Authors (2)

author image
Ross Brigoli

Ross Brigoli is a consulting architect at Red Hat, where he focuses on designing and delivering solutions around microservices architecture, DevOps, and MLOps with Red Hat OpenShift for various industries. He has two decades of experience in software development and architecture.
Read more about Ross Brigoli

author image
Faisal Masood

Faisal Masood is a cloud transformation architect at AWS. Faisal's focus is to assist customers in refining and executing strategic business goals. Faisal main interests are evolutionary architectures, software development, ML lifecycle, CD and IaC. Faisal has over two decades of experience in software architecture and development.
Read more about Faisal Masood