mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 05:22:06 -07:00
fix MaskEditor
This commit is contained in:
parent
ac1913c070
commit
3be223a265
1 changed files with 2 additions and 2 deletions
|
@ -521,7 +521,7 @@ def mask_editor_main(input_dir, confirmed_dir=None, skipped_dir=None, no_default
|
||||||
do_save_move_count -= 1
|
do_save_move_count -= 1
|
||||||
|
|
||||||
ed.mask_finish()
|
ed.mask_finish()
|
||||||
dflimg.embed_and_set (str(filepath), ie_polys=ed.get_ie_polys().dump(), eyebrows_expand_mod=eyebrows_expand_mod )
|
dflimg.embed_and_set (str(filepath), ie_polys=ed.get_ie_polys(), eyebrows_expand_mod=eyebrows_expand_mod )
|
||||||
|
|
||||||
done_paths += [ confirmed_path / filepath.name ]
|
done_paths += [ confirmed_path / filepath.name ]
|
||||||
done_images_types[filepath.name] = 2
|
done_images_types[filepath.name] = 2
|
||||||
|
@ -532,7 +532,7 @@ def mask_editor_main(input_dir, confirmed_dir=None, skipped_dir=None, no_default
|
||||||
do_save_count -= 1
|
do_save_count -= 1
|
||||||
|
|
||||||
ed.mask_finish()
|
ed.mask_finish()
|
||||||
dflimg.embed_and_set (str(filepath), ie_polys=ed.get_ie_polys().dump(), eyebrows_expand_mod=eyebrows_expand_mod )
|
dflimg.embed_and_set (str(filepath), ie_polys=ed.get_ie_polys(), eyebrows_expand_mod=eyebrows_expand_mod )
|
||||||
|
|
||||||
done_paths += [ filepath ]
|
done_paths += [ filepath ]
|
||||||
done_images_types[filepath.name] = 2
|
done_images_types[filepath.name] = 2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue