Exception during Training

If training is failing to start, and you are not receiving an error message telling you what to do, tell us about it here


Forum rules

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

This forum is for reporting errors with the Training process. If you want to get tips, or better understand the Training process, then you should look in the Training Discussion forum.

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

Locked
User avatar
taylora0000
Posts: 1
Joined: Sun Jul 16, 2023 2:24 pm

Exception during Training

Post by taylora0000 »

Hey,
I started using faceswap today, and successfully completed extracting. However, training keeps giving exceptions. I tried reinstalling faceswap as well, didn't work. Below are links to two crash logs (before and after reinstall):

https://pastebin.pl/view/3568b903
https://pastebin.pl/view/402d4027

Thanks for the help.

User avatar
torzdf
Posts: 2687
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 135 times
Been thanked: 628 times

Re: Exception during Training

Post by torzdf »

If you haven't tried already, please do this first. It should solve at least one of your issues. Don't skip any steps:
app.php/faqpage?sid=b11c0adfaa4e57e0538 ... bd7ac#f1r1

If you still have problems please post latest crash report.

My word is final

User avatar
maxchui
Posts: 1
Joined: Wed Jul 26, 2023 2:17 am

Re: Exception during Training

Post by maxchui »

I am also facing the exact same error message (i.e., ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (10,) + inhomogeneous part.)

It was my first time trying to train a model with Faceswap and it was a fresh install. I have also attempted to reinstall Faceswap with the link from the user above me.

Error log:

Last edited by maxchui on Wed Jul 26, 2023 2:31 am, edited 1 time in total.
User avatar
torzdf
Posts: 2687
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 135 times
Been thanked: 628 times

Re: Exception during Training

Post by torzdf »

This is actually a different error, and suggests a problem loading an image from one of your training folders.

My word is final

Locked