Update test_detector.py
Browse files- test_detector.py +2 -2
test_detector.py
CHANGED
@@ -16,10 +16,10 @@ from huggingface_hub import hf_hub_download
|
|
16 |
import gc
|
17 |
|
18 |
from bitmind.image_transforms import ucf_transforms, ConvertToRGB, CenterCrop, CLAHE
|
19 |
-
from arena.detectors.
|
20 |
from arena.detectors.gating_mechanisms import FaceGate
|
21 |
|
22 |
-
from arena.detectors.
|
23 |
from arena.detectors.deepfake_detectors import DeepfakeDetector
|
24 |
from arena.detectors import DETECTOR_REGISTRY, GATE_REGISTRY
|
25 |
from arena.utils.image_transforms import CLAHE
|
|
|
16 |
import gc
|
17 |
|
18 |
from bitmind.image_transforms import ucf_transforms, ConvertToRGB, CenterCrop, CLAHE
|
19 |
+
from arena.detectors.test.config.constants import CONFIGS_DIR, WEIGHTS_DIR
|
20 |
from arena.detectors.gating_mechanisms import FaceGate
|
21 |
|
22 |
+
from arena.detectors.test.detectors import DETECTOR
|
23 |
from arena.detectors.deepfake_detectors import DeepfakeDetector
|
24 |
from arena.detectors import DETECTOR_REGISTRY, GATE_REGISTRY
|
25 |
from arena.utils.image_transforms import CLAHE
|