Patent ID: 11875584
Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 4:
5. The method according to claim 1, wherein the character classification model includes a plurality of feature layers; and
inputting the first target-domain generated character and the target-domain sample character into the character classification model to obtain the feature loss of the font generation model comprises:
inputting the first target-domain generated character into the character classification model to obtain a generated-character feature map output by each feature layer of the character classification model;
inputting the target-domain sample character into the character classification model to obtain a sample character feature map output by each feature layer of the character classification model; and
calculating a difference between the generated-character feature map of a target feature layer and the sample character feature map of the target feature layer to obtain the feature loss.