Fix an error in the training of the segmentation model.