So I can’t seem to do a np.array subtraction for val_label_seq = tokenize_labels(labels, val_labels)
although the function run smoothly on train_label_seq = tokenize_labels(labels, train_labels)
, it says that TypeError: unsupported operand type(s) for -: 'list' and 'int'
when trying to subtract the np.array with 1 eventhough I made sure that I am subtracting np.array and not list.
Does anyone encountered the same issue or know the fix to this?