
'''simple docstring'''





from typing import List

import datasets
from datasets.tasks import ImageClassification

from ..folder_based_builder import folder_based_builder


a__		: Union[str, Any]  							=							datasets.utils.logging.get_logger(__name__)


class 			UpperCamelCase__	(     folder_based_builder.FolderBasedBuilderConfig):
 UpperCAmelCase__     :     bool    					=       None
 UpperCAmelCase__     :     bool    					=       None


class 			UpperCamelCase__	(     folder_based_builder.FolderBasedBuilder):
 UpperCAmelCase__     :     Optional[Any]    					=       datasets.Image()
 UpperCAmelCase__     :     List[Any]    					=       'image'
 UpperCAmelCase__     :     Dict    					=       ImageFolderConfig
 UpperCAmelCase__     :     List[str]  # definition at the bottom of the script
 UpperCAmelCase__     :     str    					=       ImageClassification(image_column='image'   ,  label_column='label')
a__		: Optional[int]  							=							[
    ".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",
]
a__		: List[str]  							=							IMAGE_EXTENSIONS








'''simple docstring'''





def 							snake_case				(		UpperCAmelCase						)->      int:







      """simple docstring"""
      if not isinstance(UpperCAmelCase   ,	UpperCAmelCase						):
            raise ValueError('double_factorial() only accepts integral values'						)
      if num < 0:
            raise ValueError('double_factorial() not defined for negative values'						)
      __A													=      1
      for i in range(UpperCAmelCase   ,	0   ,	-2						):
            value *= i
      return value


if __name__ == "__main__":
 import doctest

 doctest.testmod()






