A computer device, comprising a memory and a processor, the memory storing computer-readable instructions, and the computer-readable instructions, when being executed by the processor, causing the computer device to perform method for training an image processing network including:
- obtaining a sample image pair, the sample image pair comprising low-definition image data and high-definition image data, and the low-definition image data having the same content as the high-definition image data;
- increasing a resolution of the low-definition image data using the image processing network to obtain sample super-resolution image data;
- generating a super-resolution loss function according to the sample super-resolution image data and the high-definition image data;
- and
- updating the image processing network according to the super-resolution loss function to obtain a trained image processing network.