mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-16 10:03:41 -07:00
fix of converter when using relighted faces in dst
This commit is contained in:
parent
4868bd1324
commit
2167c5cbcb
4 changed files with 16 additions and 2 deletions
|
@ -235,7 +235,9 @@ def relight(input_dir, lighten=None, random_one=None):
|
|||
i += 1
|
||||
|
||||
cv2_imwrite (relighted_filepath, relighted_img )
|
||||
dflimg.embed_and_set (relighted_filepath, source_filename="_", relighted=True )
|
||||
|
||||
dflimg.remove_source_filename()
|
||||
dflimg.embed_and_set (relighted_filepath, relighted=True )
|
||||
except:
|
||||
io.log_err (f"Exception occured while processing file {filepath.name}. Error: {traceback.format_exc()}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue