import os import sys current_file_path = os.path.abspath(__file__) parent_dir = os.path.dirname(os.path.dirname(current_file_path)) project_root_dir = os.path.dirname(parent_dir) sys.path.append(parent_dir) sys.path.append(project_root_dir) from metrics.registry import DETECTOR from .utils import slowfast from .xception_detector import XceptionDetector from .efficientnetb4_detector import EfficientDetector from .resnet34_detector import ResnetDetector from .ucf_detector import UCFDetector