Skip to content

altomator/Introduction_to_Deep_Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to Deep Learning

Elementary introduction to deep learning through the case of convolutional neural networks (CNN)

Use case: heritage images classification

Goals

Elementary introduction to neural networks and deep learning for non-technical persons in two parts.

General introduction (60 mn)

This introduction presents the formal neuron model, neural networks and convolutional neural networks.

Hands-on session (60 m)

The hands-on session is based on Gallica heritage images (or any other IIIF-enabled repository), brought into play in an image classification scenario, aiming to deduce the technique or genre of these images (picture, drawing, map...) using a CNN trained model (supervised approach).

Picture class Drawing class Filter class Map class

The trainees have to:

  • select and download images from an digital repository (Gallica and the Welcome Collection are used) and create a training dataset
  • train a classification model (with commercial APIs or open source IA frameworks)
  • apply the model to the heritage images extracted thanks to APIs (including IIIF)

Educational resources

Introduction to the formal neuron model, neural networks and CNN

Hands-on session

This hands-on session (FR, EN) illustrates a basic images classification use case.

Hands-on A more detailled tutorial is also available here.

The content to be classified are Gallica images handled thanks to the IIIF protocol. The documents metadata and files are extracted from the Gallica digital repository with the help of Gallica's APIs and the PyGallica Python wrapper for the Gallica's APIs. Then, the image files are processed with a supervised classification approach. The Wellcome Collection digital library is also used.

The session leverages SaS (IBM Watson, Google Cloud Vision) and deep learning platforms (Tensorflow) for the processing.

Prerequisites

  • IBM Watson Studio account or Google Cloud AutoML account for all participants. See the setup document (FR, EN)
  • Basic scripting and command line skills for participants wishing to go through the Python scripts.

Session schedule

  1. Use case definition: choice of the source images and the model classes; downloading of the images samples
  2. Training with IBM Watson Visual Recognition or Google Cloud AutoML
  3. Test of the model (using IBM Watson/Google Cloud platforms)
  4. Local test of the model with Python scripting (IBM Watson case). Launch the notebook with Binder here: Binder
  5. For people with command line skills: training and test on the same dataset with TensorFlow Python scripts

Resources

Other resources