tf2-keras-yolo3 icon indicating copy to clipboard operation
tf2-keras-yolo3 copied to clipboard

ValueError: slice index -1 of dimension 0 out of bounds. for 'loss/yolo_loss_loss/strided_slice' (op: 'StridedSlice') with input shapes: [0], [1], [1], [1] and with computed input tensors: input[1] = <-1>, input[2] = <0>, input[3] = <1>.

Open masouduut94 opened this issue 4 years ago • 3 comments

I downloaded yolo tiny weights and cfg. converted them. My training classes are two (mask - no mask).

I did the exact same steps in readme file.

However I get this error:

ValueError: slice index -1 of dimension 0 out of bounds. for 'loss/yolo_loss_loss/strided_slice' (op: 'StridedSlice') with input shapes: [0], [1], [1], [1] and with computed input tensors: input[1] = <-1>, input[2] = <0>, input[3] = <1>.

How can I resolve this? @AaronJny

masouduut94 avatar Sep 22 '20 16:09 masouduut94

Can u solve It?I meet the same problem。Please help me!

zhengvh avatar Jul 01 '21 08:07 zhengvh

Can u solve It?I meet the same problem。Please help me!

xu-2019 avatar Aug 25 '21 02:08 xu-2019

Can u solve It?I meet the same problem。Please help me!

Did u finally solve it? I meet the same problem.

Yxxxb avatar Jun 08 '22 06:06 Yxxxb