Example

Example: Multi-GPU Training of ResNet-18 on CIFAR-10 with Image Augmentation

A concrete application of multi-GPU training with data augmentation involves training a standard convolutional architecture, such as a ResNet-18 model, on the CIFAR-10 dataset using multiple GPUs. In this setup, random left-right flipping is applied to the training dataset to improve generalization. The process is orchestrated by an integrated training function that leverages the Adam optimization algorithm and distributes the minibatches across all available hardware, demonstrating how high-level abstractions seamlessly handle the complexities of distributed computation and on-the-fly image transformations.

0

1

Updated 2026-05-19

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L