






from typing import List

import datasets
from datasets.tasks import ImageClassification

from ..folder_based_builder import folder_based_builder


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



class 						lowerCamelCase   (folder_based_builder.FolderBasedBuilderConfig    ):







		'''simple docstring'''



		_snake_case					:					bool 		=						None
		_snake_case					:					bool 		=						None





class 						lowerCamelCase   (folder_based_builder.FolderBasedBuilder    ):







		'''simple docstring'''



		_snake_case					:					List[str] 		=						datasets.Image()
		_snake_case					:					List[Any] 		=						'''image'''
		_snake_case					:					Tuple 		=						ImageFolderConfig
		_snake_case					:					List[str]  # definition at the bottom of the script
		_snake_case					:					Union[str, Any] 		=						ImageClassification(image_column='''image'''				,						label_column='''label'''    )





__UpperCAmelCase										=		[
    '.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',
]
__UpperCAmelCase										=		IMAGE_EXTENSIONS














from typing import TYPE_CHECKING

from ...utils import _LazyModule


__UpperCAmelCase										=		{'tokenization_phobert': ['PhobertTokenizer']}


if TYPE_CHECKING:
		from .tokenization_phobert import PhobertTokenizer

else:
		import sys

		__UpperCAmelCase										=		_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)






