Skip to content

Latest commit

 

History

History

Deep Learning Crash Course

by Giovanni Volpe, Benjamin Midtvedt, Jesús Pineda, Henrik Klein Moberg, Harshith Bachimanchi, Joana B. Pereira, Carlo Manzo
No Starch Press, San Francisco (CA), 2026
ISBN-13: 9781718503922
https://nostarch.com/deep-learning-crash-course


  1. Building and Training Your First Neural Network

  2. Capturing Trends and Recognizing Patterns with Dense Neural Networks

  3. Processing Images with Convolutional Neural Networks
    Covers convolutional neural networks (CNNs) and their application to tasks such as image classification, localization, style transfer, and DeepDream.

  • Code 3-1: Implementing Neural Networks in PyTorch Open In Colab
    Demonstrates the basics of convolutional neural networks, including defining convolutional layers, activation functions (ReLU), pooling/upsampling layers, and stacking them into a deeper architecture for image transformation or classification tasks. This notebook also illustrates how to use PyTorch in general.

  • Code 3-A: Classifying Blood Smears with a Convolutional Neural Network Open In Colab
    Walks you through loading a malaria dataset, preprocessing images, and training a CNN to distinguish parasitized from uninfected blood cells. It also shows how to generate training logs, measure accuracy, plot ROC curves, and visualize CNN heatmaps and activations to confirm the network’s attention on infected regions.

  • Code 3-B: Localizing Microscopic Particles with a Convolutional Neural Network Open In Colab
    Focuses on regression tasks (rather than classification) by predicting the (x,y) position of a trapped microparticle in noisy microscope images. It demonstrates how to manually annotate data or use simulated data for training, and includes hooking into intermediate activations to understand how the network learns positional features.

  • Code 3-C: Creating DeepDreams Open In Colab
    Uses a pre-trained VGG16 model to generate surreal DeepDream visuals, where an image is iteratively adjusted via gradient ascent to amplify the features that specific CNN layers have learned. It implements forward hooks to capture layer activations and shows how to produce dream-like images revealing what the model sees.

  • Code 3-D: Transferring Image Styles Open In Colab
    Implements neural style transfer, blending the higher-level content of one image with the lower-level textures and brush strokes of another (for example, re-painting a microscopy image in the style of a famous artwork). It demonstrates the use of Gram matrices, L-BFGS optimization, and carefully chosen layers to balance content and style.

  1. Enhancing, Generating, and Analyzing Data with Autoencoders

  2. Segmenting and Analyzing Images with U-Nets

  3. Training Neural Networks with Self-Supervised Learning

  4. Processing Time Series and Language with Recurrent Neural Networks

  5. Processing Language and Classifying Images with Attention and Transformers

  6. Creating and Transforming Images with Generative Adversarial Networks

  7. Implementing Generative AI with Diffusion Models

  8. Modeling Molecules and Complex Systems with Graph Neural Networks

  9. Continuously Improving Performance with Active Learning

  10. Mastering Decision-Making with Deep Reinforcement Learning

  11. Predicting Chaos with Reservoir Computing

CC. Companion Examples