pil_loader
- lightautoml.image.utils.pil_loader(path)[source]
Load image from paths.
- Parameters:
path (
str) – Image path.- Return type:
<module ‘PIL.Image’ from ‘/home/docs/checkouts/readthedocs.org/user_builds/lightautoml/envs/v.0.4.0/lib/python3.10/site-packages/PIL/Image.py’>
- Returns:
Loaded PIL Image in rgb.