
from typing import TYPE_CHECKING

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


snake_case__  							=							{
    """configuration_mobilevitv2""": [
        """MOBILEVITV2_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """MobileViTV2Config""",
        """MobileViTV2OnnxConfig""",
    ],
}


try:
						if not is_torch_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						snake_case__  							=							[
						    """MOBILEVITV2_PRETRAINED_MODEL_ARCHIVE_LIST""",
						    """MobileViTV2ForImageClassification""",
						    """MobileViTV2ForSemanticSegmentation""",
						    """MobileViTV2Model""",
						    """MobileViTV2PreTrainedModel""",
						]

if TYPE_CHECKING:
						from .configuration_mobilevitva import (
						    MOBILEVITV2_PRETRAINED_CONFIG_ARCHIVE_MAP,
						    MobileViTVaConfig,
						    MobileViTVaOnnxConfig,
						)

						try:
												if not is_torch_available():
																		raise OptionalDependencyNotAvailable()
						except OptionalDependencyNotAvailable:
												pass
						else:
												from .modeling_mobilevitva import (
												    MOBILEVITV2_PRETRAINED_MODEL_ARCHIVE_LIST,
												    MobileViTVaForImageClassification,
												    MobileViTVaForSemanticSegmentation,
												    MobileViTVaModel,
												    MobileViTVaPreTrainedModel,
												)

else:
						import sys

						snake_case__  							=							_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)




snake_case__  							=							"""
# Installation de Transformers
! pip install transformers datasets
# Pour installer à partir du code source au lieu de la dernière version, commentez la commande ci-dessus et décommentez la suivante.
# ! pip install git+https://github.com/huggingface/transformers.git
"""

snake_case__  							=							[{"""type""": """code""", """content""": INSTALL_CONTENT}]
snake_case__  							=							{
    """{processor_class}""": """FakeProcessorClass""",
    """{model_class}""": """FakeModelClass""",
    """{object_class}""": """FakeObjectClass""",
}


