Page 1 of 1

Exception during Training

Posted: Sun Jul 16, 2023 3:09 pm
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.


Re: Exception during Training

Posted: Mon Jul 17, 2023 11:20 am
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.


Re: Exception during Training

Posted: Wed Jul 26, 2023 2:26 am
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:


Re: Exception during Training

Posted: Thu Jul 27, 2023 11:18 pm
by torzdf

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