ValueError: could not broadcast input array from shape (2) into shape (3)
Opened this issue · 1 comments
AndresPMD commented
When training, at evaluation time, the function construct_N_with_KNN outputs an error in the following line:
index_N_neighbours[i] = cand_nearest_i2t[index_i_txt-1:index_i_txt+2]
The error is:
ValueError: could not broadcast input array from shape (2) into shape (3)
Which makes the code impossible to complete full training.
gzwo-O commented