Skip to content

Commit c01a7e0

Browse files
committed
update readme
1 parent f295dda commit c01a7e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Config files contain two main parts:
101101
- **data**
102102
- *id_image* - source image, identity of this person will be transferred.
103103
- *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).
105105
- *att_video* - the same as *att_image*
106106
- *clean_work_dir* - whether remove temp folder with images or not (for video configs only).
107107

@@ -118,7 +118,7 @@ Config files contain two main parts:
118118
- *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.**
119119
- *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.
120120
- *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).
122122
- *face_detector_threshold* - values in range [0.0...1.0]. Higher value reduces probability of FP detections but increases the probability of FN.
123123
- *specific_latent_match_threshold* - values in range [0.0...inf]. Usually takes small values around 0.05.
124124
- *enhance_output* - whether to apply GFPGAN model or not as a post-processing step.

0 commit comments

Comments
 (0)