mirror of
https://gitcode.com/gh_mirrors/eas/EasyFace.git
synced 2025-12-30 13:02:29 +00:00
15 lines
495 B
Python
15 lines
495 B
Python
# Copyright (c) Alibaba, Inc. and its affiliates.
|
|
from typing import TYPE_CHECKING
|
|
|
|
from modelscope.utils.error import (AUDIO_IMPORT_ERROR,
|
|
TENSORFLOW_IMPORT_WARNING)
|
|
from modelscope.utils.import_utils import is_torch_available
|
|
|
|
from . import cv
|
|
from .base import Head, Model
|
|
from .builder import BACKBONES, HEADS, MODELS, build_model
|
|
|
|
if is_torch_available():
|
|
from .base.base_torch_model import TorchModel
|
|
from .base.base_torch_head import TorchHead
|