Labels swapped after training

Hi, I’ve been successfully labelling, training and analysing videos. But I’ve noticed that after training, when evaluating the training, the labels seem to be swapped. For example:
Screenshot 2020-02-19 at 09.45.14
Screenshot 2020-02-19 at 09.46.24

Here you can see the red and purple are always swapped, and the green and blue always swapped. The orange is always correct. Apart from that the inference is really good. Could anyone offer an idea why this might be happening?

Looking into this now! Thanks for raising this bug…

I just re-run the analysis (evaluation) of an old project with DLC 2.1 & DLC and get the same pixel errors & plots. Will further look into this, but for now I do not know what the issue is. Did you train the model with DLC or a different version?

Hi, thanks for looking into this :slight_smile:
This is using DLC

For both training & evaluation?

Yes, I even cleared out all the folders except for labelling and redid the training and evaluation from scratch, under

Ok, I also get the same pixel errors in DLC 2.15.2. The plots are also identical:

and DLC

One thought we had: Have you perhaps overwritten the training set that was actually used for training? I.e. dlc models contains a model that was trained with different data?

1 Like