9
Applying Train-Time and Test-Time Image Augmentations
The previous chapter introduced the existing augmentation and transformation classes Detectron2 offers. This chapter introduces the steps to apply these existing classes to training. Additionally, Detectron2 offers many image augmentation classes. However, they all work on annotations from a single input at a time, while modern techniques may need to combine annotations from different inputs while creating custom augmentations. Therefore, this chapter also provides the foundation for Detectron2’s data loader component. Understanding this component helps explain how to apply existing image augmentations and modify existing codes to implement custom techniques that need to load data from ...
Get Hands-On Computer Vision with Detectron2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.