Bucket
With Koyha's LoRA training scripts, there's no need to pre-crop training images to 512x512 (or 2.0's 768x768, or SDXL's 1024x1024). Bucketing will sort the images into various "containers" based on resolution and aspect ratio, as images of different sizes cannot be trained at the same time. Similarly sizes images will be grouped for training.