mirror of
https://github.com/alibaba/EasyCV.git
synced 2025-06-03 14:49:00 +08:00
22 lines
623 B
Python
22 lines
623 B
Python
# Copyright (c) Alibaba, Inc. and its affiliates.
|
|
import logging
|
|
|
|
from .dab_detr import DABDETRHead, DABDetrTransformer
|
|
from .detection import Detection
|
|
from .detr import DETRHead, DetrTransformer
|
|
from .vitdet import SFP
|
|
|
|
try:
|
|
from .yolox.yolox import YOLOX
|
|
except Exception as e:
|
|
logging.info(f'Exception: {e}')
|
|
logging.info(
|
|
'Import YOLOX failed! please check your CUDA & Pytorch Version')
|
|
|
|
try:
|
|
from .yolox_edge.yolox_edge import YOLOX_EDGE
|
|
except Exception as e:
|
|
logging.info(f'Exception: {e}')
|
|
logging.info(
|
|
'Import YOLOX_EDGE failed! please check your CUDA & Pytorch Version')
|