Could not broadcast input array from shape

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.

User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

Re: Could not broadcast input array from shape

Post by torzdf »

So this issue has not gone away then...

I will need a faceset + alignments file that causes this issue to be able to fix.

Thanks

My word is final

User avatar
fighteroffoos
Posts: 2
Joined: Fri Feb 05, 2021 3:54 pm

Re: Could not broadcast input array from shape

Post by fighteroffoos »

torzdf wrote: Fri Feb 05, 2021 6:23 pm

So this issue has not gone away then...

I will need a faceset + alignments file that causes this issue to be able to fix.

Thanks

I don't think that I could give my faceset + alignment files due to the very large size.

But I managed to find a way, to avoid this error.
The original video (the original faces that I want to replace), has bitrate more than 15 Mbps with almost 2 GB in size.
I use 3rd party software to convert and reduce the bitrate into less than 5 Mbps (final size around 500 MB).

Then I redo the steps on viewtopic.php?f=5&t=27, and It was successful.
The facesets extracted from the smaller bitrate video can be sorted with no "could not broadcast input array from shape" error.

User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

Re: Could not broadcast input array from shape

Post by torzdf »

Yeah. That's unlikely to have solved the issue, just reduced the quality of the data you're creating. But if it works for you, great.

My word is final

User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

Re: Could not broadcast input array from shape

Post by torzdf »

This bug should now be squashed.

My word is final

Locked