remove dfl_head and update dfl_whole_face template

This commit is contained in:
harisreedhar 2024-11-18 19:43:35 +05:30
parent 48016eaba3
commit 3cf06de27f
2 changed files with 6 additions and 14 deletions

View File

@ -33,21 +33,13 @@ WARP_TEMPLATES : WarpTemplateSet =\
[ 0.38710391, 0.72160547 ],
[ 0.61507734, 0.72034453 ]
]),
'dfl_head': numpy.array(
[
[ 0.39062554, 0.59114583 ],
[ 0.60481776, 0.58951825 ],
[ 0.49414062, 0.70898442 ],
[ 0.41796875, 0.82031255 ],
[ 0.58007813, 0.82031255 ]
]),
'dfl_whole_face': numpy.array(
[
[ 0.36816406, 0.40429688 ],
[ 0.62565106, 0.40071616 ],
[ 0.49023438, 0.54296875 ],
[ 0.39843755, 0.68554699 ],
[ 0.59375543, 0.68554699 ]
[ 0.35342266, 0.39285716 ],
[ 0.62797622, 0.39285716 ],
[ 0.48660713, 0.54017860 ],
[ 0.38839287, 0.68750011 ],
[ 0.59821427, 0.68750011 ]
]),
'ffhq_512': numpy.array(
[

View File

@ -85,7 +85,7 @@ ProcessStep = Callable[[str, int, Args], bool]
Content = Dict[str, Any]
WarpTemplate = Literal['arcface_112_v1', 'arcface_112_v2', 'arcface_128_v2', 'dfl_head', 'dfl_whole_face', 'ffhq_512', 'mtcnn_512', 'styleganex_384']
WarpTemplate = Literal['arcface_112_v1', 'arcface_112_v2', 'arcface_128_v2', 'dfl_whole_face', 'ffhq_512', 'mtcnn_512', 'styleganex_384']
WarpTemplateSet = Dict[WarpTemplate, NDArray[Any]]
ProcessMode = Literal['output', 'preview', 'stream']