Image style transfer
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsHaoran WANG, Zeke XIE, Yunfeng CAI, Mingming SUN
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsHaoran WANG, Zeke XIE, Yunfeng CAI, Mingming SUN
Estimating the term…
A method is provided that includes: obtaining a reference image and a description text; extracting a text feature of the description text; and performing the following operations based on a pre-trained diffusion model to generate a target image: in each time step of the diffusion model: calculating a first cross-attention feature of a first image feature and the text feature; obtaining a second cross-attention feature of a second image feature of the reference image and the text feature; editing the first cross-attention feature based on the second cross-attention feature to obtain a third cross-attention feature; and generating a result image feature of the time step based on the third cross-attention feature and the text feature; and decoding a result image feature of a last time step to generate the target image.
A method, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are configured to enable a computer to perform operations comprising:
Dependencies are inferred from the claim text.