
Discover how the instructor approaches transfer learning projects within deep learning practice II in this course.
Explore why transfer learning helps mitigate overfitting when training CNNs from scratch on a dataset of different vehicle types, by reusing well-designed networks from literature.
Apply transfer learning in practice using two ready-to-use notebooks for classification projects; adjust data paths and model, train in the first notebook, then automatically evaluate in the second.
Document experiment configurations in a training notebook, including dataset details (603 images, seven classes), batch size 64, learning rate, optimizer, categorical entropy, and transfer learning with Mobile Nedved V2.
Compare two transfer learning strategies by tuning all parameters versus freezing feature extraction layers, and analyze 2.4 million versus 173 thousand trainable parameters and their impact.
Evaluate the model using the validation dataset to obtain validation loss and accuracy, compare with training results, then test on the test dataset to assess generalization and potential overfitting.
Display the top five predictions and the classification report to measure per-class metrics such as precision, recall, and F1, identify sedan and SUV misclassifications, and guide data improvements.
Explain how convolutional networks handle large image inputs, reduce parameter count and memory usage, prevent overfitting, and enable effective feature extraction for classification.
Apply padding to convolution to preserve input size and enhance border contributions, using zero padding with pad=1 so a 6x6 input stays 6x6 in the feature map.
Explore strided convolutions and how increasing the stride reduces feature map size while focusing on different features, and learn the size formula (input + 2 - F)/S + 1, floor.
Learn how convolution uses filters, padding and stride to shape feature maps, extract hierarchical image features across layers, and feed them into a fully connected classifier in deep networks.
Illustrates a convolutional neural network on a 39x39x3 image using 3x3 filters, stride 1, producing 37x37x10 maps, a 5x5 stride-2 conv to 17x17x20, and a 7x7x40 output for classification.
Trace the evolution of computer vision classification models from traditional techniques to deep neural networks, highlighting key architectures from 2012 to recent breakthroughs and comparing state-of-the-art methods.
VGG-16 is a 16-layer convolutional network with a uniform conv-block architecture that grows filters from 64 to 512 while halving spatial dimensions and ending with three fully connected layers.
Explore how residual neural networks address vanishing and exploding gradients through identity shortcut connections, enabling deeper models like up to 152 layers while improving training and performance.
You want to start developing deep learning solutions, but you do not want to lose time in mathematics and theory?
You want to conduct deep learning projects, but do not like the hassle of tedious programming tasks?
Do you want an automated process for developing deep learning solutions?
This course is then designed for you! Welcome to Deep Learning in Practice, with NO PAIN!
This course is the second course on a series of Deep Learning in Practice Courses of Anis Koubaa, namely
Deep Learning in Practice I: Basics and Dataset Design: the student will learn the basics of conducting a classification project using deep neural networks, then he learns about how to design a dataset for industrial-level professional deep learning projects.
Deep Learning in Practice II: Transfer Learning and Models Evaluation: the student will learn how to manage complex deep learning projects and develop models using transfer learning using several state-of-the-art CNN algorithms. He will learn how to develop reusable projects and how to compare the results of different deep learning models in an automated manner.
Deep Learning in Practice III: Deployment of Deep Learning Models: the student will learn how to deploy deep learning models in a production environment. We will present the deployment techniques used in industry such as Flask, Docker, Tensorflow Serving, Tensorflow JavaScript, and Tensorflow Lite, for deployment in a different environment. Despite important, this topic has little coverage in tutorials and documentations.
Deep Learning in Practice II: Transfer Learning Projects
This course introduces you to transfer learning and demonstrate to you how to use transfer learning in real-world projects.
In this course, I demonstrate how to conduct training of a deep learning classification model using transfer learning.
Besides, you will learn how to evaluate the performance of a model with some pre-configured libraries that makes it easy to obtain the results and interpret them.
I also provide ready-to-use Google Colab Notebooks with all codes used in this course.
The same code can be easily adapted and reused for any classification project in an automated way.