mirror of
https://github.com/facefusion/facefusion.git
synced 2026-07-31 14:27:24 +02:00
3.6.0 (#1062)
* mark as next * add fran model * add support for corridor key (#1060) * introduce despill color * simplify the apply dispill color * finalize naming for both fill and despill * follow vision_frame convension * patch fran model * adjust fran urls * Feat/dynamic env setup (#1061) * dynamic environment setup * dynamic environment setup * fix fran model * prevent directml using incompatible corridor_key model * fix environment setup for windows * switch to corridor_key_1024 and corridor_key_2048 * switch to corridor_key_1024 and corridor_key_2048 * mark it as 3.6.0 * rename environment to conda * rename environment to conda * fix testing for face analyser * some background remove cosmetics * some background remove cosmetics * some background remove cosmetics * update preview --------- Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
This commit is contained in:
co-authored by
harisreedhar
parent
2cc05d4fba
commit
57fcb86b82
@@ -5,6 +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.vision import read_static_image
|
||||
from .helper import get_test_example_file, get_test_examples_directory
|
||||
|
||||
@@ -37,6 +38,7 @@ def before_each() -> None:
|
||||
face_detector.clear_inference_pool()
|
||||
face_landmarker.clear_inference_pool()
|
||||
face_recognizer.clear_inference_pool()
|
||||
clear_static_faces()
|
||||
|
||||
|
||||
def test_get_one_face_with_retinaface() -> None:
|
||||
@@ -62,7 +64,7 @@ def test_get_one_face_with_retinaface() -> None:
|
||||
|
||||
def test_get_one_face_with_scrfd() -> None:
|
||||
state_manager.init_item('face_detector_model', 'scrfd')
|
||||
state_manager.init_item('face_detector_size', '640x640')
|
||||
state_manager.init_item('face_detector_size', '320x320')
|
||||
state_manager.init_item('face_detector_margin', (0, 0, 0, 0))
|
||||
face_detector.pre_check()
|
||||
|
||||
@@ -82,7 +84,7 @@ def test_get_one_face_with_scrfd() -> None:
|
||||
|
||||
|
||||
def test_get_one_face_with_yoloface() -> None:
|
||||
state_manager.init_item('face_detector_model', 'yoloface')
|
||||
state_manager.init_item('face_detector_model', 'yolo_face')
|
||||
state_manager.init_item('face_detector_size', '640x640')
|
||||
state_manager.init_item('face_detector_margin', (0, 0, 0, 0))
|
||||
face_detector.pre_check()
|
||||
|
||||
Reference in New Issue
Block a user