CPC G06T 5/003 (2013.01) [G06F 18/2148 (2023.01); G06T 3/4046 (2013.01); G06T 5/50 (2013.01); G06V 10/764 (2022.01); G06V 10/82 (2022.01); G06V 10/95 (2022.01); G06T 2207/20016 (2013.01); G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01)] | 20 Claims |
1. A training method for an image processing model for processing blurry images, performed by a network device, the image processing model comprising a first network and a second network; the first network and the second network being codec networks with different scales; the sizes of the scales corresponding to the measurements of the sharpness of to-be-processed blurry images; and the method comprising:
obtaining a sample pair for training, the sample pair comprising a clear image and a blurry image corresponding to the clear image; and the sharpness of the clear image being greater than a preset threshold, and the sharpness of the blurry image being less than the preset threshold;
activating the image processing model to perform sharpness restoration on the blurry image to obtain a restored image; and
updating network parameters of the first network and network parameters of the second network in the image processing model according to the restored image and the clear image to obtain a trained image processing model;
wherein the network parameters of the first network and the network parameters of the second network meet a selective sharing condition, and the selective sharing condition indicates the network parameters between the first network and the second network are shared or independent.
|