Convolutional Neural Networks from First Principles to Practice: Convolutions, Backpropagation and Optimizers, Building and Training in PyTorch and Keras
This second part of the Modern Computer Vision course teaches how convolutional neural networks work and how to build, train and evaluate them. It begins with the building blocks: convolutions, feature detectors, 3D convolutions on color images, kernel size and depth, padding, stride, activation functions, pooling, fully connected layers and softmax. It then explains how a CNN learns, through loss functions, backpropagation, gradient descent, optimizers and learning rate schedules, with a short history of deep learning and a look at the main libraries. Learners then build and train CNNs in both PyTorch and Keras, covering data loading, transformations, model construction, training, saving and plotting results. The course shows how to assess a model using a confusion matrix, classification report and misclassified examples. It covers overfitting and the main regularization methods, namely dropout, L1 and L2, data augmentation, early stopping and batch normalization, compared with and without regularization on Fashion-MNIST in both frameworks. It closes with ways to see what a CNN has learned, including filter and activation visualization, filter and class maximization and Grad-CAM, followed by CNN design guidelines.
Topics covered:
5 activities • 66 videos • duration: 7h 36m

Principal AI Engineer at BPP
I'm a Data Scientist with 10 years of experience with a strong focus on Computer Vision & Deep Learning. I have a wide range of experience as I've worked at 3 London tech startups as well as recent remote contractor experience. This exposure to several different business domains has taught me to quickly adapt my data science skills to a variety of needs. My passion for Data Science has led me into creating several online courses on Packt, Udemy, and Manning Publications. I'm currently involved in remote work for a US-based Computer Vision company, Darvis, where I'm a Senior Computer Vision Engineer focused on research. I also contribute to an AI research group in Trinidad and Tobago, TTLab, and I am also the founder and Head of PyDataTT, a Python-based Data Science meetup group. Data Science, Data Analysis, Machine Learning, and Artificial Intelligence Expertise: Computer Vision & Deep Learning (PyTorch, TensorFlow, Keras and OpenCV) Cloud Computing (AWS, Google Cloud Platform, Azure, Paperspace) NVIDIA DeepStream, TensorRT, and Transfer Learning Toolkit Machine Learning (Python, R) Big Data (NVIDIA RAPIDS, Dask, PySpark) Web Frameworks (Django, Flask) Regression Modeling and Predictive Analysis Statistical Analysis/Inference, A/B Testing & Modeling Data Visualization (ggplot2, matplotlib, D3.js, Dash, Plotly) Data Mining, Web Scraping, and Sentiment Analysis Natural Language Processing (NLP) Intelligent Robotics (Robotics V-REP Baxter Control, Anthropomorphic Motion) Decision Making in Autonomous Agents Business Intelligence and Analytics (Tableau, Power BI, Google Data Studio) Programming Languages: Python (Strong) C++ (Intermediate) R (Intermediate) SQL (Intermediate) JavaScript (Intermediate) MATLAB (Intermediate)