mirror of
https://github.com/facefusion/facefusion.git
synced 2026-06-06 20:53:54 +02:00
flatten the face store
This commit is contained in:
@@ -5,7 +5,7 @@ import pytest
|
||||
from facefusion import face_classifier, face_detector, face_landmarker, face_recognizer, state_manager
|
||||
from facefusion.download import conditional_download
|
||||
from facefusion.face_analyser import get_many_faces
|
||||
from facefusion.face_store import clear_static_faces
|
||||
from facefusion.face_store import clear_faces
|
||||
from facefusion.vision import read_static_image
|
||||
from .helper import get_test_example_file, get_test_examples_directory
|
||||
|
||||
@@ -38,7 +38,7 @@ def before_each() -> None:
|
||||
face_detector.clear_inference_pool()
|
||||
face_landmarker.clear_inference_pool()
|
||||
face_recognizer.clear_inference_pool()
|
||||
clear_static_faces()
|
||||
clear_faces()
|
||||
|
||||
|
||||
def test_get_one_face_with_retinaface() -> None:
|
||||
|
||||
Reference in New Issue
Block a user