could someone explain me the difference in the List size? Once it is (x,1) and the other (x,). I think I get an idexError due to that.
print(Annotation_Matrix) [array([[1], ..., [7], [7], [7]], dtype=uint8)] print(idx) [array([ True, True, True, ..., False, False, False], dtype=bool)] p.s. the left one is created with
matlabfile.get(...) the right one with
in1d(...) 