| CPC G06T 7/194 (2017.01) [G06T 2207/20081 (2013.01)] | 20 Claims |

|
1. An image segmentation model training method performed by an electronic device and comprising:
obtaining a plurality of labeled images of a training image, wherein each of the plurality of labeled images comprises a labeled target area and a background area;
obtaining a union area of the labeled target areas of the plurality of labeled images, and obtaining a complement area of the union area;
generating a predicted segmented image of the training image utilizing an image segmentation model;
generating a first loss value according to the predicted segmented image and the complement area;
generating a second loss value according to the predicted segmented image and the labeled target area of at least one of the plurality of labeled images; and
training the image segmentation model according to the first loss value and the second loss value.
|