You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is the best way to do it, but it works.
You can make the cropped area bigger, by editing lines 81 nad 82 in in utils.py.
It will improve hair and ears (if they are cut in 1.0 crop) but it will degrade the face identity.
So you may need to overlay a properly upscaled face on top of it later in editing software.
For example:
face_size=512, crop_ratio=(1, 1) # original, the only correct one!
face_size=420, crop_ratio=(1.22, 1.22),
face_size=394, crop_ratio=(1.3, 1.3),
face_size=320, crop_ratio=(1.6, 1.6), # good for hair and ears, but will mess the face up really badly
No description provided.
The text was updated successfully, but these errors were encountered: