Sahaj.blogs

Day page

23 Sept 2025

Study

Computer Vision · Data augmentation

Label-preserving random transforms (flips, crops, rotation, colour jitter) with torchvision.transforms.v2, applied consistently to images and boxes.

  • Augmentation creates new training views of the same image so the model learns invariances instead of memorising pixels.
  • Every augmentation must keep the label true; a flipped "6" might become a "9".

Read the post →