Unexpected Crash Has Occured

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
jeongw03
Posts: 1
Joined: Mon Sep 21, 2020 12:56 pm

slice index 4 of dimension 3 out of bounds error

Post by jeongw03 »

ValueError: slice index 4 of dimension 3 out of bounds. for '{{node LossWrapper/strided_slice_22}} = StridedSlice[Index=DT_INT32, T=DT_FLOAT, begin_mask=0, ellipsis_mask=1, end_mask=0, new_axis_mask=0, shrink_axis_mask=2](IteratorGetNext:2, LossWrapper/strided_slice_22/stack, LossWrapper/strided_slice_22/stack_1, LossWrapper/strided_slice_22/stack_2)' with input shapes: [16,64,64,4], [2], [2], [2] and with computed input tensors: input[1] = <0 4>, input[2] = <0 5>, input[3] = <1 1>.

09/22/2020 00:04:26 CRITICAL An unexpected crash has occurred. Crash report written to 'C:\Users\dntlr\faceswap\crash_report.2020.09.22.000423918423.log'. You MUST provide this file if seeking assistance. Please verify you are running the latest version of faceswap before reporting

Hi all, I'm struggling with this and I cant get to a solution, can anyone tell me how to fix?
thanks in advance

User avatar
bryanlyon
Site Admin
Posts: 793
Joined: Fri Jul 12, 2019 12:49 am
Answers: 44
Location: San Francisco
Has thanked: 4 times
Been thanked: 218 times
Contact:

Re: slice index 4 of dimension 3 out of bounds error

Post by bryanlyon »

jeongw03 wrote: Mon Sep 21, 2020 3:06 pm

09/22/2020 00:04:26 CRITICAL An unexpected crash has occurred. Crash report written to 'C:\Users\dntlr\faceswap\crash_report.2020.09.22.000423918423.log'. You MUST provide this file if seeking assistance. Please verify you are running the latest version of faceswap before reporting

This is the first step.

User avatar
Skripto16
Posts: 2
Joined: Tue Sep 22, 2020 1:22 am

Unexpected Crash Has Occured

Post by Skripto16 »

I don't know much about what happened but I have the log file it wants me to send so here
<3

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

Re: Unexpected Crash Has Occured

Post by torzdf »

I have not seen this error before. I suspect it's a false positive and is actually an indication that you are running out of VRAM.

Try lowering the batch size and see if it makes a difference.

My word is final

User avatar
Skripto16
Posts: 2
Joined: Tue Sep 22, 2020 1:22 am

Re: Unexpected Crash Has Occured

Post by Skripto16 »

I lowered my batch size from 16 to 4 and it comes out with the same error saying I should send logs so

<3
It also has the same error on batch size 1

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

Re: Unexpected Crash Has Occured

Post by torzdf »

This bug should be fixed in the latest version.

My word is final

Locked