I\'m working on open set detection, which means that I have to split datasets by classes (e.g. split a dataset into two datasets; some of the classes go into one of the spli