map_labels in BatchGenerator
The new BatchGenerator interface in the dev branch has a new argument map_labels
with default value True
.
Its effect is to map labels like 2,5,7 to 0,1,2. It determines which labels are present by searching the input table.
However, in my workflow I often place samples with different labels in different tables. So, for binary classification for example, I have one table for positives and one for negatives. I create one Batch generator for each and combine them using the JointBatchGenerator. For this workflow, setting map_labels=True
results in all samples receiving label 0 which is not great. For such workflows, the mapping would have to be done by the JointBatchGenerator.
@bpadovese , do you see an easy way to fix this?
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information