2022-04-02 20:01:06 +08:00
|
|
|
# Copyright (c) Alibaba, Inc. and its affiliates.
|
2022-07-12 18:07:02 +08:00
|
|
|
# Copyright (c) Alibaba, Inc. and its affiliates.
|
2022-04-02 20:01:06 +08:00
|
|
|
import logging
|
|
|
|
|
2022-07-12 18:07:02 +08:00
|
|
|
from easycv.models.detection.dab_detr import DABDETRHead, DABDetrTransformer
|
|
|
|
from easycv.models.detection.detection import Detection
|
|
|
|
from easycv.models.detection.detr import DETRHead, DetrTransformer
|
|
|
|
from easycv.models.detection.fcos import FCOSHead
|
|
|
|
from easycv.models.detection.necks import FPN, SFP
|
2022-06-10 21:49:32 +08:00
|
|
|
|
2022-04-02 20:01:06 +08:00
|
|
|
try:
|
2022-07-12 18:07:02 +08:00
|
|
|
from easycv.models.detection.yolox.yolox import YOLOX
|
2022-04-02 20:01:06 +08:00
|
|
|
except Exception as e:
|
|
|
|
logging.info(f'Exception: {e}')
|
|
|
|
logging.info(
|
|
|
|
'Import YOLOX failed! please check your CUDA & Pytorch Version')
|
|
|
|
|
|
|
|
try:
|
2022-07-12 18:07:02 +08:00
|
|
|
from easycv.models.detection.yolox_edge.yolox_edge import YOLOX_EDGE
|
2022-04-02 20:01:06 +08:00
|
|
|
except Exception as e:
|
|
|
|
logging.info(f'Exception: {e}')
|
|
|
|
logging.info(
|
|
|
|
'Import YOLOX_EDGE failed! please check your CUDA & Pytorch Version')
|