pil_loader

lightautoml.image.utils.pil_loader(path)[source]

Load image from pathes.

Parameters

path (str) – Image path.

Return type

<module ‘PIL.Image’ from ‘/home/docs/checkouts/readthedocs.org/user_builds/lightautoml/envs/latest/lib/python3.6/site-packages/PIL/Image.py’>

Returns

Loaded PIL Image in rgb.