Closed zhanwenchen closed 1 year ago
Under normal circumstances, it should look like this;
(Pdb) o1o2_indices
array([[12, 10],
[ 1, 0],
[13, 5],
[13, 7],
[11, 8]])
(Pdb) gt_classes[o1o2_indices] # Regardless
array([[ 77, 111],
[ 20, 3],
[ 78, 58],
[ 78, 97],
[115, 99]])
Under error cases:
(Pdb) o1o2_indices
array([[3, 6],
[1, 2]])
(Pdb) gt_classes
20
The problem was a variable name being the same as the original, causing an overwrite of the gt_classes variable:
gt_classes = gt_classes[ex_ind] # etc