[this page on wiki][index][EN][BG][CS][DA][DE][EL][ES][ET][FI][FR][GA][HR][HU][IT][MT][NL][PL][PT][RO][SK][SL][SV]

Tutorial: CNNs and Transformers for images

Administrative Information

Title Convolutional Neural Networks and Transformers for images
Duration 60
Module B
Lesson Type Tutorial
Focus Technical - Deep Learning
Topic Neural Networks

Keywords

Convolutional Neural Networks,Transformer networks,Computer Vision,

Learning Goals

Expected Preparation

Optional for Students

None.

References and background for students

None.

Recommended for Teachers

None.

Lesson materials

Instructions for Teachers

Here the goal is to show the implementation steps of the transformer network for images. We also implement a basic CNN with a similar number of trainable parameters, so we can compare the performance of the CNN to the ViT model.

Outline

Duration (min) Description
15 Training a simple convolutional neural network
35 Training a vision transformer (ViT) neural network
10 Comparing the performance of the two different approaches

Acknowledgements

The Human-Centered AI Masters programme was Co-Financed by the Connecting Europe Facility of the European Union Under Grant №CEF-TC-2020-1 Digital Skills 2020-EU-IA-0068.