Skip to main content
by learnformula
Explore courses
search
For Business
Team license & compliance management
For Higher Education
Academic partnerships
For Government Agencies
Government training solutions
For Instructors & Course Creators
Teach on our marketplace
Become a Sponsor
Reach professionals where they learn
Log inStart 7-Day Free TrialStart Free TrialStart Free Trial
search
Explore courses
  1. Courses
  2. /Information Technology
  3. /Artificial Intelligence

Modern Computer Vision GPT, PyTorch, Keras, OpenCV4 in 2025 Part 2: CNN Fundamentals, Training & Visualisation

Convolutional Neural Networks from First Principles to Practice: Convolutions, Backpropagation and Optimizers, Building and Training in PyTorch and Keras

Created byRajeev Dinesh Ratan
BeginnerUpdated Nov 25, 2026

What You'll Learn

  • check_circleExplain how convolutions, kernel size, padding, stride, activation functions, pooling and softmax work together in a CNN, and count a model's parameters.
  • check_circleDescribe how a CNN is trained using loss functions, backpropagation, gradient descent, optimizers and learning rate schedules.
  • check_circleBuild, train, save and plot the results of a CNN in both PyTorch and Keras, and compare the two libraries.
  • check_circleEvaluate a trained model with a confusion matrix, a classification report and an inspection of misclassified images.
  • check_circleDiagnose overfitting and reduce it with dropout, L1 and L2, data augmentation, early stopping and batch normalization.
  • check_circleVisualize what a CNN has learned using filter and activation visualization, filter and class maximization, and Grad-CAM, and apply CNN design guidelines.

About This Course

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:

  • CNN fundamentals:
    • Convolutions, feature detectors and 3D convolutions on color images
    • Kernel size and depth, padding and stride
    • Activation functions, pooling, fully connected layers and softmax
    • Building a CNN and counting parameters
    • Why CNNs work so well
  • How CNNs learn:
    • Loss functions
    • Backpropagation and gradient descent
    • Optimizers and learning rate schedules
    • A recap of deep learning with CNNs
    • A short history of deep learning, and an overview of deep learning libraries
  • Building and training CNNs in PyTorch and Keras:
    • Loading libraries and data, transformations, and inspecting and visualizing the data
    • PyTorch data loaders, model, optimizer and loss function, training, saving the model and plotting results
    • Keras data loading, preprocessing, constructing and training the CNN, plotting results, and saving, loading and visualizing results
    • A review of PyTorch versus Keras
  • Assessing model performance:
    • Accuracy and other performance measures
    • Confusion matrix and classification report
    • Looking at misclassifications, in both Keras and PyTorch
  • Overfitting and regularization:
    • Overfitting and generalization
    • Dropout, L1 and L2, data augmentation, early stopping and batch normalization
    • When to use regularization
    • Fashion-MNIST experiments with and without regularization in Keras and PyTorch
  • Visualizing what CNNs see:
    • Visualizing filters and filter activations
    • Maximizing filters and classes
    • Grad-CAM and Grad-CAM++ in Keras
    • CNN design guidelines

Course Content

5 activities • 66 videos • duration: 7h 36m

  • videocamIntroduction to Convolution Neural Networks
    Duration 5:17
  • videocamConvolutions
    Duration 8:53
  • videocamFeature Detectors
    Duration 4:41
  • videocam3D Convolutions on Color Images
    Duration 4:47
  • videocamKernel Size and Depth
    Duration 4:00
  • videocamPadding
    Duration 3:57
  • videocamStride
    Duration 5:22
  • videocamActivation Function
    Duration 5:14
  • videocamPooling
    Duration 5:53
  • videocamFully Connected Layer
    Duration 2:48
  • videocamSoftmax
    Duration 2:41
  • videocamBuilding a CNN
    Duration 7:45
  • videocamParameter Counts
    Duration 5:29
  • videocamWhy CNNs work so well
    Duration 4:30
  • videocamTraining a CNN
    Duration 6:26
  • videocamLoss Functions
    Duration 6:58
  • videocamBackpropagation
    Duration 6:29
  • videocamGradient Descent
    Duration 7:36
  • videocamOptimisers and LR Schedule
    Duration 6:50
  • videocamDeep Learning CNN Recap
    Duration 9:57
  • videocamDeep Learning History
    Duration 14:09
  • videocamDeep Learning Libraries
    Duration 10:56

Your Instructor

Rajeev Dinesh Ratan

Principal AI Engineer at BPP

menu_book10 courses

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)

Credit Information

What Students Are Saying

0.0 out of 5
Student's Choice
0 reviews

Frequently Asked Questions

We are a registered provider with 300+ associations and regulatory bodies worldwide. We operate across 28 global markets including Canada, the US, Australia, and the UK. Every course page clearly displays its specific accreditations. Upon completion, you receive a professional certificate that can be validated online. Our certificates include all necessary accreditation details, credit hours, and completion dates, and are formatted specifically to meet the submission requirements of most global regulatory bodies.

You May Also Like

  • Ethics: Business Ethics

    2026 Ethics and Corporate Compliance

    starRated5.0out of 5,(712 reviews)
    2 CPD hrs
  • Finance: Budgeting & Financial Forecasting

    Critical Skills for CFOs & Controllers: Budgeting & Forecasting Strategies for Today’s World

    starRated5.0out of 5,(210 reviews)
    2.5 CPD hrs
  • Project Management: Productivity

    Microsoft Copilot for Finance and Accounting

    starRated4.9out of 5,(111 reviews)
    1.5 CPD hrs