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
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ Config files contain two main parts:
101
101
-**data**
102
102
-*id_image* - source image, identity of this person will be transferred.
103
103
-*att_image* - target image, attributes of the person on this image will be mixed with the person's identity from the source image. Here you can also specify a folder with multiple images - identity translation will be applied to all images in the folder.
104
-
-*specific_id_image* - a specific person on the *att_image* you would like to replace, leaving others untouched (if there're any other person).
104
+
-*specific_id_image* - a specific person on the *att_image* you would like to replace, leaving others untouched (if there's any other person).
105
105
-*att_video* - the same as *att_image*
106
106
-*clean_work_dir* - whether remove temp folder with images or not (for video configs only).
107
107
@@ -118,7 +118,7 @@ Config files contain two main parts:
118
118
-*face_alignment_type* - affects reference face key points coordinates. **Possible values are "ffhq" and "none". Try both of them to see which one works better for your data.**
119
119
-*erode_mask_value* - a non-zero value. It's used for the post-processing mask size attenuation. You might want to play with this parameter.
120
120
-*smooth_mask_value* - an odd non-zero value. It's used for smoothing edges of the post-processing mask. Usually is set to *erode_mask_value* + 1.
121
-
-*sigma_scale_value* - controls the amount of blur added to the post-processing mask. Valid values are in range [0.01...1.0]. Tune it if yuo see artifacts around swapped faces (some rectangles).
121
+
-*sigma_scale_value* - controls the amount of blur added to the post-processing mask. Valid values are in range [0.01...1.0]. Tune this parameter if there are artifacts around swapped faces (some rectangles).
122
122
-*face_detector_threshold* - values in range [0.0...1.0]. Higher value reduces probability of FP detections but increases the probability of FN.
123
123
-*specific_latent_match_threshold* - values in range [0.0...inf]. Usually takes small values around 0.05.
124
124
-*enhance_output* - whether to apply GFPGAN model or not as a post-processing step.
0 commit comments