I am dealing with an image segmentation task, the training image is named "image" and the groundtruth image is named "groundtruth". The line "history=mo