from abc import ABC, abstractmethod
from typing import Optional, Union

from .. import Dataset, DatasetDict, Features, IterableDataset, IterableDatasetDict, NamedSplit
from ..utils.typing import NestedDataStructureLike, PathLike



class  UpperCamelCase				( __lowercase ):

     '''simple docstring'''

     def __init__(					self				,				A_ = None				,				A_ = None				,				A_ = None				,				A_ = None				,				A_ = False				,				A_ = False				,				A_ = None				,				**A_				,				) ->				str:






           """simple docstring"""
           _lowerCamelCase			    =				path_or_paths
           _lowerCamelCase			    =				split if split or isinstance(A_				,				A_						) else '''train'''
           _lowerCamelCase			    =				features
           _lowerCamelCase			    =				cache_dir
           _lowerCamelCase			    =				keep_in_memory
           _lowerCamelCase			    =				streaming
           _lowerCamelCase			    =				num_proc
           _lowerCamelCase			    =				kwargs





     @abstractmethod
     def 		UpperCamelCase_						(					self						) ->				Union[Dataset, DatasetDict, IterableDataset, IterableDatasetDict]:






           """simple docstring"""
           pass





class  UpperCamelCase				( __lowercase ):

     '''simple docstring'''

     def __init__(					self				,				A_ = None				,				A_ = None				,				A_ = False				,				A_ = False				,				A_ = None				,				**A_				,				) ->				Any:






           """simple docstring"""
           _lowerCamelCase			    =				features
           _lowerCamelCase			    =				cache_dir
           _lowerCamelCase			    =				keep_in_memory
           _lowerCamelCase			    =				streaming
           _lowerCamelCase			    =				num_proc
           _lowerCamelCase			    =				kwargs





     @abstractmethod
     def 		UpperCamelCase_						(					self						) ->				Union[Dataset, IterableDataset]:






           """simple docstring"""
           pass
import warnings

from ...utils import logging
from .image_processing_dpt import DPTImageProcessor


snake_case__				= logging.get_logger(__name__)



class  UpperCamelCase				( __lowercase ):

     '''simple docstring'''

     def __init__(					self				,				*A_				,				**A_						) ->				None:






           """simple docstring"""
           warnings.warn(
               '''The class DPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
               ''' use DPTImageProcessor instead.'''				,				A_				,				)
           super().__init__(*A_				,				**A_						)