CPC G06T 5/20 (2013.01) [G06N 3/045 (2023.01); G06N 3/048 (2023.01); G06N 3/08 (2013.01); G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01)] | 15 Claims |
6. A computer device, comprising a memory and a processor, the memory storing computer-readable instructions, the computer-readable instructions, when executed by the processor, causing the computer device to perform a plurality of operations including:
inputting an original image to a decoder network according to an image transformation instruction, to obtain a first feature map of the original image, the decoder network being configured to extract features of an image;
inputting the first feature map sequentially to a plurality of transformer networks, each transformer network corresponding to at least one piece of transformation requirement information associated with the original image, to obtain a second feature map, each of the transformer networks being configured to perform image transformation to a respective region of the first feature map, further including:
determining, for each of the transformer networks, a conditional tensor according to the piece of transformation requirement information corresponding to the transformer network; and
transforming, based on the conditional tensor corresponding to the transformer network, a region corresponding to the transformer network in a respective feature map outputted by a preceding transformer network, and outputting the respective feature map of the transformer network; and
inputting the second feature map to a reconstruction network, to obtain a target image, the reconstruction network being configured to reconstruct an inputted feature map into a two-dimensional image.
|