


'''simple docstring'''
from typing import List

import datasets
from datasets.tasks import ImageClassification

from ..folder_based_builder import folder_based_builder


lowerCAmelCase  =				datasets.utils.logging.get_logger(__name__)






class 					lowerCAmelCase_     (    folder_based_builder.FolderBasedBuilderConfig  ):
       __UpperCAmelCase				=None
       __UpperCAmelCase				=None






class 					lowerCAmelCase_     (    folder_based_builder.FolderBasedBuilder  ):
       __UpperCAmelCase				=datasets.Image()
       __UpperCAmelCase				='image'
       __UpperCAmelCase				=ImageFolderConfig
       __UpperCAmelCase				=42  # definition at the bottom of the script
       __UpperCAmelCase				=ImageClassification(image_column='image'			,       label_column='label'  )






lowerCAmelCase  =				[
    """.blp""",
    """.bmp""",
    """.dib""",
    """.bufr""",
    """.cur""",
    """.pcx""",
    """.dcx""",
    """.dds""",
    """.ps""",
    """.eps""",
    """.fit""",
    """.fits""",
    """.fli""",
    """.flc""",
    """.ftc""",
    """.ftu""",
    """.gbr""",
    """.gif""",
    """.grib""",
    """.h5""",
    """.hdf""",
    """.png""",
    """.apng""",
    """.jp2""",
    """.j2k""",
    """.jpc""",
    """.jpf""",
    """.jpx""",
    """.j2c""",
    """.icns""",
    """.ico""",
    """.im""",
    """.iim""",
    """.tif""",
    """.tiff""",
    """.jfif""",
    """.jpe""",
    """.jpg""",
    """.jpeg""",
    """.mpg""",
    """.mpeg""",
    """.msp""",
    """.pcd""",
    """.pxr""",
    """.pbm""",
    """.pgm""",
    """.ppm""",
    """.pnm""",
    """.psd""",
    """.bw""",
    """.rgb""",
    """.rgba""",
    """.sgi""",
    """.ras""",
    """.tga""",
    """.icb""",
    """.vda""",
    """.vst""",
    """.webp""",
    """.wmf""",
    """.emf""",
    """.xbm""",
    """.xpm""",
]
lowerCAmelCase  =				IMAGE_EXTENSIONS





'''simple docstring'''
from __future__ import annotations

def 				lowerCamelCase_   (   __UpperCamelCase				:					list[int | float]		)				->  int | float:







     """simple docstring"""
     if len(__UpperCamelCase		) == 0:
          raise ValueError('find_max() arg is an empty sequence'		)
     _A				=       nums[0]
     for x in nums:
          if x > max_num:
               _A				=       x
     return max_num


if __name__ == "__main__":
    import doctest

    doctest.testmod(verbose=True)





