fix: Revert crop to 512 for generator comp, update detector input to 800

This commit is contained in:
Hawk Lee
2026-01-20 20:57:16 +08:00
parent 72d4eafc85
commit ccae8536bf
2 changed files with 2 additions and 2 deletions
@@ -89,7 +89,7 @@ class Source2Info:
ret_dct = crop_image(
img,
lmk203,
dsize=800,
dsize=512,
scale=kwargs.get("crop_scale", 2.3),
vx_ratio=kwargs.get("crop_vx_ratio", 0),
vy_ratio=kwargs.get("crop_vy_ratio", -0.125),
@@ -71,7 +71,7 @@ class InsightFaceDet:
self.nms_thresh = 0.4
self.det_thresh = 0.5
self.input_size = (512, 512)
self.input_size = (800, 800)
self.input_mean = 127.5
self.input_std = 128.0
self._anchor_ratio = 1.0