mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 21:42:08 -07:00
Converter: fix output names of merged files, now its 100% same as input,
ConvertAvatar: fix input image after fix landmarks face align, VideoEd: video_from_sequence now uses pipe input to input any filenames instead of %.5d. formatted
This commit is contained in:
parent
23854ac8bc
commit
9f58d160a0
4 changed files with 21 additions and 15 deletions
|
@ -214,12 +214,7 @@ class ConvertSubprocessor(Subprocessor):
|
|||
for i in range( len(self.frames) ):
|
||||
frame = self.frames[i]
|
||||
frame.idx = i
|
||||
|
||||
inp_stem = Path(frame.frame_info.filename).stem
|
||||
if len([ True for symbol in inp_stem if symbol not in digits ]) > 0:
|
||||
frame.output_filename = self.output_path / ('%.5d.png' % (i+1) )
|
||||
else:
|
||||
frame.output_filename = self.output_path / ( inp_stem + '.png' )
|
||||
frame.output_filename = self.output_path / ( Path(frame.frame_info.filename).stem + '.png' )
|
||||
|
||||
frames[0].cfg = self.converter_config.copy()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue