Datasets & Dataloaders.

Resizing and scaling images in python. And a filename-insensitive data loader.

Recently wrote this utility, to resize and scale a python image at the center. This way, I don't have to worry about how my images are being fed into an AI pipeline, if they all get scaled and cropped the same.

Additionally, while previously I used bash to rename files in a folder to sequential names such as 1.jpg , the current implementation ignores filenames, which saves me time when massaging the data.