Skip to content

Computer vision with pretrained models

Classify images with a pretrained ResNet-50 in ONNX Runtime, then adapt a pretrained network to your own categories.

Free on glitchdata intermediate 4 lessons 58 min

What you'll learn

  • Explain how convolutional networks see images
  • Prepare images exactly as a model expects
  • Run image classification with ONNX Runtime
  • Choose between using, fine-tuning and training a vision model

About this course

You don't need to train a vision model from scratch to get good results. This course runs the ResNet-50 model from the hub with ONNX Runtime, explains the preprocessing that makes or breaks accuracy, and shows how transfer learning adapts a pretrained network to new categories.

Install with pip install onnxruntime numpy pillow.

Before you start

  • Neural networks and deep learning (recommended)
  • Basic Python

Course content

4 lessons · 58 min

  1. 1
    How computers see images

    Pixels, convolutions and why pretrained networks transfer so well.

    Free preview 12 min
  2. 2
    Preparing images the way the model expects

    Resize, crop, scale and normalise — exactly as in training.

    14 min
  3. 3
    Classifying images with ONNX Runtime

    Run the model, turn scores into probabilities and read the top five.

    16 min
  4. 4
    Transfer learning for your own categories

    Reuse a pretrained network for a new task with little data.

    16 min

What learners say

Sign in and enrol to leave a review.

No reviews yet — be the first once you have worked through it.

Related guides

All Applied AI guides →

More in Applied AI

Applied AI intermediate

Speech to text with Whisper

Transcribe and translate audio with OpenAI's open Whisper model, handle long recordings, and measure accuracy with word error rate.

4 lessons 56 min Free
Applied AI intermediate

Forecasting time series

Trend, seasonality, honest baselines and time-based testing, using NASA temperatures and bike rentals from the hub.

4 lessons 1 hr Free