DeepFaceLab icon indicating copy to clipboard operation
DeepFaceLab copied to clipboard

Continue to extract faces from my own extracted frames when extracting faces is interrupted (Error in fetching the last index. )

Open Jeffrey-deng opened this issue 2 years ago • 3 comments

Expected behavior

Continue to extract faces from my own extracted frames when extracting faces is interrupted

Actual behavior

Click to continue, there will be an error

Error in fetching the last index. Extraction cannot be continued.

Steps to reproduce

Multiple "_" in the filename

Reason for error:

line751 in DeepFaceLab_NVIDIA_RTX3000_series\_internal\DeepFaceLab\mainscripts

input_image_paths = input_image_paths[ [ Path(x).stem for x in input_image_paths ].index ( Path(output_images_paths[-128]).stem.split('_')[0] ) : ]

When I don't use the default extraction, it will report an error when there are multiple “_” in the file name, This can be modified to be compatible with many situations.

Take the last “_” in the file name

input_image_paths = input_image_paths[ [ Path(x).stem for x in input_image_paths ].index ( Path(output_images_paths[-128]).stem[:Path(output_images_paths[-128]).stem.rfind("_")] ) : ]

Jeffrey-deng avatar Jul 01 '23 08:07 Jeffrey-deng

Hello friend, i see you got the same issue I'd had.I got that and what I did was I went Into the aligned folder. Copied all the faces and kept them safely in a new folder I had created on the desktop. Then ran the extraction and when I got the prompt again I chose to overwrite it. And when the new faces extraction was done. . All I did was go to the folder on desktop where I had copied the previously saved faces to. And I moved them back into the aligned folder with the newer extracted faces. If that makes any sense you should try it.

mr2girthy avatar Jul 01 '23 11:07 mr2girthy

My deepfacelab model has trueface power at zero for default and background style power zero I was tweaking those while training Saehd and somehow I was not liking the results so I turned them back to zero. Idk if it's a necessity to use the eyes and mouth priority as yes instead of the defaulted no that its on.. Please share thoughts.

mr2girthy avatar Jul 01 '23 11:07 mr2girthy

Mr2girthy please I need your help understanding all this

kingace4q avatar Jul 01 '23 20:07 kingace4q