conversion problem

Got questions or tips about the Conversion process? This is the place to discuss them.


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for discussing tips and understanding the process involved with Converting faces from your trained model.

If you are having issues with the Convert process not working as you would expect, then you should post in the Convert Support forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
damafon13
Posts: 1
Joined: Tue Jan 31, 2023 7:30 pm

conversion problem

Post by damafon13 »

the dlight module, it is not possible to convert in order to see the learning result. What could be the problem ? here is the link to the error

https://drive.google.com/file/d/1hw9izi ... sp=sharing

Using TensorFlow backend.

02/01/2023 01:12:20 INFO Reading alignments from: 'E:\Dima2\deepfake_3\2_twg_mr_alignments.fsa'
02/01/2023 01:12:24 ERROR Got Exception on main handler:
Traceback (most recent call last):
File "E:\faceswap\lib\cli\launcher.py", line 154, in execute_script
process = script(arguments)
File "E:\faceswap\scripts\convert.py", line 56, in init
self.alignments = Alignments(self.args, False, self.images.is_video)
File "E:\faceswap\scripts\fsmedia.py", line 71, in init
super().init(folder, filename=filename)
File "E:\faceswap\lib\alignments.py", line 42, in init
self.
update_legacy()
File "E:\faceswap\lib\alignments.py", line 563, in update_legacy
if self.
has_legacy_landmarksxy():
File "E:\faceswap\lib\alignments.py", line 662, in has_legacy_landmarksxy
for val in self.
data.values()
File "E:\faceswap\lib\alignments.py", line 663, in <genexpr>
for alignment in val["faces"]
KeyError: 'faces'

Process exited.
02/01/2023 01:12:24 CRITICAL An unexpected crash has occurred. Crash report written to 'E:\faceswap\crash_report.2023.02.01.011221004978.log'. You MUST provide this file if seeking assistance. Please verify you are running the latest version of faceswap before reporting

User avatar
torzdf
Posts: 2636
Joined: Fri Jul 12, 2019 12:53 am
Answers: 155
Has thanked: 128 times
Been thanked: 614 times

Re: conversion problem

Post by torzdf »

You are using the legacy 1.0 version of Faceswap. I assume this is an accident on your part, and you are trying to run convert on an alignments file created with a more recent version of Faceswap.

Either way, with your GPU, there is no reason to use version 1.0, and it is entirely unsupported.

Uninstall Faceswap(app.php/faqpage#f1r1) and install the latest version from here:
viewtopic.php?t=20

Last edited by torzdf on Thu Feb 02, 2023 12:08 am, edited 1 time in total.

My word is final

Locked