IndexError: list index out of range. How to solve?

#17
by seb19986 - opened

Code: pipe("operator.wav", return_timestamps="word")
Error: tputs..split_by_batch_index(values, key, batch_idx, is_shortform, beam_indices)
980 layer_past_key_values = []
981 for w in values[v]:
--> 982 layer_past_key_values.append(w[batch_idx][None].cpu())
983 all_past_key_values.append(tuple(layer_past_key_values))
984 return tuple(all_past_key_values)

IndexError: list index out of range

Sign up or log in to comment