Tuple index error

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
life2020
Posts: 8
Joined: Mon Jul 06, 2020 9:51 pm

Tuple index error

Post by life2020 »

Hello, I am a beginner with the software and can not manage to debug what is going on. Any help will be appreciated thanks
https://www.mediafire.com/file/rq9gj43d ... p.rar/file

User avatar
torzdf
Posts: 2670
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 131 times
Been thanked: 625 times

Re: Tuple index error

Post by torzdf »

It looks like you are not training on extracted faces:

The contents of D:\Downloads\fs\fs2 should be faces extracted at the extract stage:
viewtopic.php?f=5&t=27

My word is final

User avatar
life2020
Posts: 8
Joined: Mon Jul 06, 2020 9:51 pm

Re: Tuple index error

Post by life2020 »

When training inputs using them faces I then get: ValueError: cannot reshape array of size 3833856 into shape (4,6,3,128,128,3) and when I try other things I get the out of memory warning despite using allow growth

User avatar
torzdf
Posts: 2670
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 131 times
Been thanked: 625 times

Re: Tuple index error

Post by torzdf »

Post the latest crash report please.

My word is final

User avatar
life2020
Posts: 8
Joined: Mon Jul 06, 2020 9:51 pm

Re: Tuple index error

Post by life2020 »

This is the crash report or did you mean the new faceswap.log again?

Attachments
crash_report.2020.07.07.192720484901.log
(49.11 KiB) Downloaded 189 times
User avatar
torzdf
Posts: 2670
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 131 times
Been thanked: 625 times

Re: Tuple index error

Post by torzdf »

You only have 11 faces in your "B" side.

This isn't enough to train a model (see here: app.php/faqpage#f3r0)

Either way, there are a total of 14 samples per side to show the preview. As only 11 faces are being fed in, it errors.

My word is final

User avatar
life2020
Posts: 8
Joined: Mon Jul 06, 2020 9:51 pm

Re: Tuple index error

Post by life2020 »

Thanks for taking the time to debug for me I will try adding more

User avatar
abigflea
Posts: 182
Joined: Sat Feb 22, 2020 10:59 pm
Answers: 2
Has thanked: 20 times
Been thanked: 62 times

Re: Tuple index error

Post by abigflea »

Aim for 1000 pics minimum.

:o I dunno what I'm doing :shock:
2X RTX 3090 : RTX 3080 : RTX: 2060 : 2x RTX 2080 Super : Ghetto 1060

Locked