'''simple docstring'''





from typing import TYPE_CHECKING

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


lowerCAmelCase_	:		Any			=     {
    """configuration_maskformer""": ["""MASKFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP""", """MaskFormerConfig"""],
    """configuration_maskformer_swin""": ["""MaskFormerSwinConfig"""],
}

try:
			if not is_vision_available():
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			pass
else:
			lowerCAmelCase_	:		Any			=     ["""MaskFormerFeatureExtractor"""]
			lowerCAmelCase_	:		Dict			=     ["""MaskFormerImageProcessor"""]


try:
			if not is_torch_available():
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			pass
else:
			lowerCAmelCase_	:		Any			=     [
			    """MASKFORMER_PRETRAINED_MODEL_ARCHIVE_LIST""",
			    """MaskFormerForInstanceSegmentation""",
			    """MaskFormerModel""",
			    """MaskFormerPreTrainedModel""",
			]
			lowerCAmelCase_	:		List[Any]			=     [
			    """MaskFormerSwinBackbone""",
			    """MaskFormerSwinModel""",
			    """MaskFormerSwinPreTrainedModel""",
			]

if TYPE_CHECKING:
			from .configuration_maskformer import MASKFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP, MaskFormerConfig
			from .configuration_maskformer_swin import MaskFormerSwinConfig

			try:
						if not is_vision_available():
									raise OptionalDependencyNotAvailable()
			except OptionalDependencyNotAvailable:
						pass
			else:
						from .feature_extraction_maskformer import MaskFormerFeatureExtractor
						from .image_processing_maskformer import MaskFormerImageProcessor
			try:
						if not is_torch_available():
									raise OptionalDependencyNotAvailable()
			except OptionalDependencyNotAvailable:
						pass
			else:
						from .modeling_maskformer import (
						    MASKFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
						    MaskFormerForInstanceSegmentation,
						    MaskFormerModel,
						    MaskFormerPreTrainedModel,
						)
						from .modeling_maskformer_swin import (
						    MaskFormerSwinBackbone,
						    MaskFormerSwinModel,
						    MaskFormerSwinPreTrainedModel,
						)


else:
			import sys

			lowerCAmelCase_	:		List[Any]			=     _LazyModule(__name__, globals()["""__file__"""], _import_structure)



'''simple docstring'''





lowerCAmelCase_	:		Union[str, Any]			=     """
# Transformers 설치 방법
! pip install transformers datasets
# 마지막 릴리스 대신 소스에서 설치하려면, 위 명령을 주석으로 바꾸고 아래 명령을 해제하세요.
# ! pip install git+https://github.com/huggingface/transformers.git
"""

lowerCAmelCase_	:		List[Any]			=     [{"""type""": """code""", """content""": INSTALL_CONTENT}]
lowerCAmelCase_	:		int			=     {
    """{processor_class}""": """FakeProcessorClass""",
    """{model_class}""": """FakeModelClass""",
    """{object_class}""": """FakeObjectClass""",
}


