holocron.utils¶
holocron.utils
provides some utilities for general usage.
Miscellaneous¶
- holocron.utils.find_image_size(dataset: Sequence[Tuple[Image, Any]], **kwargs: Any) None [source]¶
Computes the best image size target for a given set of images
- Parameters:
dataset – an iterator yielding a PIL Image and a target object
kwargs – keyword args of matplotlib.pyplot.show
- Returns:
the suggested height and width to be used