meerqat.image.resize module#

Usage: resize.py <dataset> <output> [<config> –disable_caching]

Options: –disable_caching Disables Dataset caching (useless when using save_to_disk), see datasets.set_caching_enabled()

meerqat.image.resize.get_transform(resize_kwargs={'size': 512})[source]#
meerqat.image.resize.resize(file_name, transform, output_root)[source]#
meerqat.image.resize.batch_resize(file_names, transform, output_root)[source]#
meerqat.image.resize.dataset_resize(dataset_path, output_path, map_kwargs={}, transform_kwargs={}, image_key='image', **fn_kwargs)[source]#