





'''simple docstring'''



from ..utils import DummyObject, requires_backends






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: str      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[str]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Union[str, Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Union[str, Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Any:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Optional[int]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Dict:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Dict      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[str]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: int      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[str]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[str]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Union[str, Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							int:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Any      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Tuple      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[int]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Any      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Optional[int]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[int]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Optional[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[str]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Dict      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							str:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Union[str, Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							str:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Optional[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Any:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Union[str, Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							int:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Any      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[str]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Optional[int]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[str]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Dict      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[str]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Dict      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							str:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Tuple:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[str]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							int:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Optional[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							str:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Optional[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Union[str, Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Dict      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Dict:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[str]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[str]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[int]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Dict:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Tuple      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Any:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Optional[int]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[str]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Dict:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Any      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Union[str, Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Dict:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: int      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							str:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: str      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Union[str, Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Any      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Tuple:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: str      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Dict:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Tuple      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Dict:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Any      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[str]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Dict:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Any:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Any      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[int]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Tuple      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[str]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Dict:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Any:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Tuple      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Tuple      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[int]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Union[str, Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							str:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: int      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Any      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Union[str, Any]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Optional[int]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							str:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Dict      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							List[str]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: Tuple      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[int]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: str      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Any:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: List[Any]      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Dict:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )






class 							__lowercase				(					metaclass=lowerCAmelCase__  ):







	'''simple docstring'''

	a			: int      =				["tokenizers"]


	def __init__(self   ,*_lowerCamelCase   ,**_lowerCamelCase       )							->							Optional[int]:







				'''simple docstring'''





				requires_backends(self   ,['''tokenizers''']       )












'''simple docstring'''



from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


_SCREAMING_SNAKE_CASE    =			{
    '''configuration_deformable_detr''': ['''DEFORMABLE_DETR_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''DeformableDetrConfig'''],
}

try:
	if not is_vision_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	_SCREAMING_SNAKE_CASE    =			['''DeformableDetrFeatureExtractor''']
	_SCREAMING_SNAKE_CASE    =			['''DeformableDetrImageProcessor''']

try:
	if not is_torch_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	_SCREAMING_SNAKE_CASE    =			[
	    '''DEFORMABLE_DETR_PRETRAINED_MODEL_ARCHIVE_LIST''',
	    '''DeformableDetrForObjectDetection''',
	    '''DeformableDetrModel''',
	    '''DeformableDetrPreTrainedModel''',
	]


if TYPE_CHECKING:
	from .configuration_deformable_detr import DEFORMABLE_DETR_PRETRAINED_CONFIG_ARCHIVE_MAP, DeformableDetrConfig

	try:
		if not is_vision_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .feature_extraction_deformable_detr import DeformableDetrFeatureExtractor
		from .image_processing_deformable_detr import DeformableDetrImageProcessor

	try:
		if not is_torch_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_deformable_detr import (
		    DEFORMABLE_DETR_PRETRAINED_MODEL_ARCHIVE_LIST,
		    DeformableDetrForObjectDetection,
		    DeformableDetrModel,
		    DeformableDetrPreTrainedModel,
		)

else:
	import sys

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





