Visual style transformation using machine learning
The method uses a loss function to identify distinctive style features through Gram matrix pairs, enabling a CNN to transform visual assets to match a target style, addressing the limitations of conventional 3D stylization techniques and simplifying the creation of visually appealing virtual experiences.
Patent Information
- Application Number
- JP2025074600
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2024-04-29
- Filing Date
- 2025-04-28
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2045-04-28
AI Technical Summary
Conventional 3D stylization techniques fail to effectively modify a source 3D object to mimic the style of a target scene or object, as existing methods for identifying similarity metrics rely on hand-crafted shape descriptors that lack generalization across diverse design styles and fail to capture important stylistic features.
A method using a loss function to identify distinctive style features by calculating differences between Gram matrix pairs of positive and negative input samples, allowing a convolutional neural network (CNN) to reshape and render visual assets to match the desired style.
This approach enables efficient and accurate transformation of visual assets to align with a target style, reducing the time and effort required for creating visually appealing virtual experiences by automatically extracting and applying unique style features.
Smart Images

Figure 0007955421000015 
Figure 0007955421000016 
Figure 0007955421000017
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments generally relate to online virtual experience platforms, and more particularly to methods, systems, and computer-readable media for identifying unique style features of visual assets and performing visual style transformations to align the visual assets with a target style. BACKGROUND ART
[0002] Online platforms, such as virtual experience platforms or online game platforms, enable users to create virtual experiences or games with a particular style. The particular style may be applied to visual assets within the virtual experience or game.
[0003] Conventional 3D stylization techniques are designed to address specific design styles or use exemplary shapes where a target visual style can be encoded by their surface normals. However, neither of these approaches addresses the general stylization problem when a user wants to modify a source 3D object to mimic the style of a target scene or object. To solve this problem, a method that can extract a set of distinctive features that distinguish visual styles across source and target objects is used.
[0004] Existing methods for identifying similarity metrics used to assess style similarity between various shapes often rely on hand-crafted sets of shape descriptors that do not guarantee generalization across diverse design styles. Finding a weighted balance among such descriptors is complex, and some methods use deep learning models to jointly infer sets of shape descriptors and the weights that balance them. This method calculates style similarity in image space. Unfortunately, the pre-selection of a set of drawing views is complex and directly impacts the final metric, as important stylistic features may not be captured from selected views. As a result, existing methods for estimating style similarity fail to provide the technique to extract sets of distinctive features for each style.
[0005] The background information provided herein is intended to provide context for this disclosure. The results of the work of the inventors named herein, to the extent described in this background section, and any other description that would otherwise not be considered prior art at the time of filing, are not explicitly or implicitly recognized as prior art to this disclosure. [Overview of the Initiative] [Problems that the invention aims to solve]
[0006] The aspects of this disclosure are directed towards methods, systems, and computer-readable media for identifying distinctive stylistic features in the form entered for application to virtual experiences or assets. [Means for solving the problem]
[0007] One aspect of this disclosure provides a computer implementation method. The method may include receiving a visual asset by a processor. The method may include receiving an indicator of a visual style by the processor. The method may include identifying a set of distinctive style features for a visual style by using a loss function calculated by the processor based on a first sum of differences between a first set of Gram matrix pairs and a second sum of differences between a second set of Gram matrix pairs. The first set of Gram matrix pairs may be associated with a set of positive input samples of the same visual style, and the second set of Gram matrix pairs may be associated with a set of negative input samples of different visual styles. The method may include the processor modifying the shape of the visual asset to match the identified set of distinctive style features for the visual style. After modification, the method may include rendering the visual asset to match the set of distinctive style features by the processor.
[0008] In some implementations, the method may involve the processor receiving a set of positive input samples with the same visual style and a set of negative input samples with different visual styles. In some implementations, the method may involve the processor generating a first set of feature maps associated with the set of positive input samples and a second set of feature maps associated with the set of negative input samples. In some implementations, the method may involve the processor obtaining a first set of Gram matrix pairs associated with the set of positive input samples based on the first set of feature maps, and a second set of Gram matrix pairs associated with the set of negative input samples based on the second set of feature maps. In some implementations, the method may involve the processor calculating a loss function based on a first sum of the differences of the first set of Gram matrix pairs and a second sum of the differences of the second set of Gram matrix pairs.
[0009] In some implementations, a set of positive input samples associated with the same visual style may include a first set of shape pairs of that style. In some implementations, a set of negative input samples associated with different visual styles may include a second set of shape pairs of different styles.
[0010] In some implementations, one shape in the second set of a shape pair may have the same style as the style in the first set of a shape pair.
[0011] In some implementations, the generation of a first set of feature maps associated with a set of positive input samples and a second set of feature maps associated with a set of negative input samples may involve the processor applying a set of convolutional filters to the set of positive input samples to generate the first set of feature maps.
[0012] In some implementations, the set of convolutional filters may include kernels of varying sizes.
[0013] In some implementations, obtaining a first set of Gram matrix pairs associated with a set of positive input samples based on a first set of feature maps, and a second set of Gram matrix pairs associated with a set of negative input samples based on a second set of feature maps, may involve the processor determining a first correlation between the first set of feature maps associated with the set of positive input samples for obtaining the first set of Gram matrix pairs. In some implementations, obtaining a first set of Gram matrix pairs associated with a set of positive input samples based on a first set of feature maps, and a second set of Gram matrix pairs associated with a set of negative input samples based on a second set of feature maps, may involve the processor determining a second correlation between the second set of feature maps associated with the set of negative input samples for obtaining the second set of Gram matrix pairs.
[0014] In another aspect of this disclosure, a computing device is provided. The computing device may include a processor and memory coupled to the processor, which causes the processor to perform operations when instructions stored therein are executed by the processor. Operations may include the processor receiving a visual asset. Operations may include the processor receiving indicators of the visual asset. Operations may include the processor identifying a set of distinctive style features for a visual style using a loss function calculated based on a first sum of differences between a first set of Gram matrix pairs and a second sum of differences between a second set of Gram matrix pairs. The first set of Gram matrix pairs may be associated with a set of positive input samples of the same visual style, and the second set of Gram matrix pairs may be associated with a set of negative input samples of different visual styles. Operations may include the processor reshaping the visual asset to match the identified set of distinctive style features for the visual style. After the reshaping, operations may include the processor rendering the visual asset to match the set of distinctive style features.
[0015] In some implementations, the operation may involve the processor receiving a set of positive input samples with the same visual style and a set of negative input samples with different visual styles. In some implementations, the operation may involve the processor generating a first set of feature maps associated with the set of positive input samples and a second set of feature maps associated with the set of negative input samples. In some implementations, the operation may involve the processor obtaining a first set of Gram matrix pairs associated with the set of positive input samples based on the first set of feature maps, and a second set of Gram matrix pairs associated with the set of negative input samples based on the second set of feature maps. In some implementations, the operation may involve the processor calculating a loss function based on a first sum of the differences of the first set of Gram matrix pairs and a second sum of the differences of the second set of Gram matrix pairs.
[0016] In some implementations, a set of positive input samples associated with the same visual style may include a first set of shape pairs of that style. In some implementations, a set of negative input samples associated with different visual styles may include a second set of shape pairs of different styles.
[0017] In some implementations, one shape in the second set of shape pairs may have the same style as a shape in the first set of shape pairs.
[0018] In some implementations, the generation of a first set of feature maps associated with a set of positive input samples and a second set of feature maps associated with a set of negative input samples may involve the processor applying a set of convolutional filters to the set of positive input samples to generate the first set of feature maps.
[0019] In some implementations, the set of convolutional filters may include kernels of varying sizes.
[0020] In some implementations, obtaining a first set of Gram matrix pairs associated with a set of positive input samples based on a first set of feature maps, and a second set of Gram matrix pairs associated with a set of negative input samples based on a second set of feature maps, may involve the processor determining a first correlation between the first set of feature maps associated with the set of positive input samples for obtaining the first set of Gram matrix pairs. In some implementations, obtaining a first set of Gram matrix pairs associated with a set of positive input samples based on a first set of feature maps, and a second set of Gram matrix pairs associated with a set of negative input samples based on a second set of feature maps, may involve the processor determining a second correlation between the second set of feature maps associated with the set of negative input samples for obtaining the second set of Gram matrix pairs.
[0021] In a further aspect of this disclosure, a non-temporary computer-readable medium is provided in which instructions are stored. When an instruction is executed by a processor, the processor performs an operation. The operation may include the processor receiving a visual asset. The operation may include the processor receiving indicators of the visual asset. The operation may include the processor identifying a set of distinctive style features for a visual style using a loss function calculated based on a first sum of differences between a first set of Gram matrix pairs and a second sum of differences between a second set of Gram matrix pairs. The first set of Gram matrix pairs may be associated with a set of positive input samples of the same visual style, and the second set of Gram matrix pairs may be associated with a set of negative input samples of different visual styles. The operation may include the processor reshaping the visual asset to match the identified set of distinctive style features for the visual style. After the reshaping, the operation may include the processor rendering the visual asset to match the set of distinctive style features.
[0022] In some implementations, the operation may involve the processor receiving a set of positive input samples with the same visual style and a set of negative input samples with different visual styles. In some implementations, the operation may involve the processor generating a first set of feature maps associated with the set of positive input samples and a second set of feature maps associated with the set of negative input samples. In some implementations, the operation may involve the processor obtaining a first set of Gram matrix pairs associated with the set of positive input samples based on the first set of feature maps, and a second set of Gram matrix pairs associated with the set of negative input samples based on the second set of feature maps. In some implementations, the operation may involve the processor calculating a loss function based on a first sum of the differences of the first set of Gram matrix pairs and a second sum of the differences of the second set of Gram matrix pairs.
[0023] In some implementations, the set of positive input samples associated with the same visual style may include a first set of shape pairs of the same style. In some implementations, the set of negative input samples associated with different visual styles may include a second set of shape pairs of different styles.
[0024] In some implementations, one shape of the second set of shape pairs may have the same style as the style of the first set of shape pairs.
[0025] In some implementations, the generation of the first set of feature maps associated with the set of positive input samples and the second set of feature maps associated with the set of negative input samples may include applying, by a processor, a set of convolutional filters to the set of positive input samples to generate the first set of feature maps. In some implementations, the generation of the first set of feature maps associated with the set of positive input samples and the second set of feature maps associated with the set of negative input samples may include applying, by a processor, a set of convolutional filters to the set of negative input samples to generate the second set of feature maps.
[0026] In some implementations, the set of convolutional filters may include kernels of various sizes.
[0027] In some implementations, obtaining a first set of Gram matrix pairs associated with a set of positive input samples based on a first set of feature maps, and a second set of Gram matrix pairs associated with a set of negative input samples based on a second set of feature maps, may involve the processor determining a first correlation between the first set of feature maps associated with the set of positive input samples for obtaining the first set of Gram matrix pairs. In some implementations, obtaining a first set of Gram matrix pairs associated with a set of positive input samples based on a first set of feature maps, and a second set of Gram matrix pairs associated with a set of negative input samples based on a second set of feature maps, may involve the processor determining a second correlation between the second set of feature maps associated with the set of negative input samples for obtaining the second set of Gram matrix pairs.
[0028] In yet another aspect, the details of the system, method, and non-temporary computer-readable media, features, and implementations may be combined to form additional aspects, including some aspects, which include additional components or features and / or other modifications that exclude and / or modify some or some of the individual components or features, all of which are within the scope of this disclosure. [Brief explanation of the drawing]
[0029] [Figure 1] This is a diagram illustrating an exemplary network environment with several implementations. [Figure 2] This diagram shows sets of positive and negative input samples from several implementations. [Figure 3A] The following are illustrative diagrams of feature maps from several implementations. [Figure 3B] Figures illustrating the calculation of exemplary Gram matrices based on the feature map in Figure 3A, using several implementations, are shown. [Figure 4] Figure 2 shows a set of distinctive style features identified based on the set of positive and negative input samples in several implementations. [Figure 5] This shows the input form and the corresponding rendered asset, based on several implementations. [Figure 6A] This is a flowchart illustrating examples of how to train and use convolutional neural networks (CNNs) to identify unique style features, using several implementations. [Figure 6B] This is a flowchart illustrating exemplary methods for training and using convolutional neural networks (CNNs) to identify unique style features, using several implementations. [Figure 7] This block shows an exemplary computing device with several implementations. [Modes for carrying out the invention]
[0030] The following embodiments of the invention refer to accompanying drawings that form part of the embodiments of the invention. Similar symbols in the drawings typically identify similar components unless otherwise indicated by the context. The embodiments of the invention described in the embodiments, drawings and claims are not intended to be limiting. Other embodiments may be used, and other modifications may be made without departing from the spirit or scope of the subject matter presented herein. The embodiments of this disclosure are generally arranged, replaced, combined, separated, and designed in a wide variety of different configurations as described and drawn herein.
[0031] The terms "several implementations," "implementation," and "example implementations" used herein indicate that the described implementations may include certain features, structures, or characteristics, but each implementation may not necessarily include those specific features, structures, or characteristics. Furthermore, such expressions do not necessarily refer to the same implementation. Additionally, when certain features, structures, or characteristics are described in relation to an implementation, such features, structures, or characteristics may be achieved in relation to other implementations, whether explicitly stated or not.
[0032] Recent advancements in gaming, metaverse, and user-generated content (UGC) platforms have lowered the expertise barrier when designing visual assets (e.g., 2D or 3D avatars, objects, and scenes). However, designing virtual environments remains a complex task, with users spending considerable time creating new 3D objects, modifying existing ones, or selecting existing ones to compose desired scenes. While designing 3D objects from scratch is complex and time-consuming, the rapid growth of the commercial and platform-specific 3D asset market allows users to browse and find existing objects that align with a particular aesthetic. However, beyond finding objects that match a specific aesthetic, composing scenes with style-compatible objects and assets is crucial for designing visually appealing virtual experiences. To this end, users may spend considerable time and effort finding objects that conform to a specific style. As a result, users may reuse existing ones to avoid the complex task of creating new 3D objects from scratch, thereby compromising the specific style specifications.
[0033] Providing user-friendly tools for geometric style analysis and manipulation has the potential to improve how both novice and expert users compose 3D environments and objects. For example, guiding users to select style-compatible assets can significantly simplify their navigation through the 3D asset market. This can help non-expert users create more visually appealing and professional scenes. Furthermore, providing editing tools that automatically change the visual style of existing objects allows users to reuse any existing 3D assets and consistently compose virtual experiences of any style. Finally, combining geometric style analysis and control capabilities with generative models can efficiently remove the expertise barriers involved in designing the overall virtual experience. For example, generative models can be tasked with creating visual assets that align with style embedding and other style specifications (e.g., "generate rabbit in cube style" when the cube style is indicated from style embedding).
[0034] This disclosure provides a technique for automatically extracting discriminative style feature sets from individual styles using a loss function generated by contrasting the shapes of different image styles. For example, this disclosure uses an artificial intelligence (AI)-based technique that automatically learns a unique set of style features specific to each input visual style. Unique style features are features that are common to the input visual styles and features that are different from other visual styles, while being consistently found within the visual assets of the input visual styles.
[0035] For example, the shape, ornamentation, thickness, or curvature of corners may be distinctive stylistic features that distinguish serif fonts from sans-serif fonts. By training a machine learning model to identify the distinctive features of one style from others, the implementations described herein can estimate stylistic similarity between shapes and manipulate the shape of an asset to conform to the input shape for a virtual environment.
[0036] To that end, this method optimizes a set of convolutional filter weights that activate geometric features characterized by the distinctive style features of the input style. Using the optimized set of convolutional filter weights, a convolutional neural network (CNN) learns the distinctive style features based on a loss function generated using the optimized set of convolutional filter weights. Once trained, the CNN can identify distinctive style features of any 2D or 3D shape that a user may use as input. In this way, this disclosure can manipulate the shapes of objects and assets for a virtual environment to match the distinctive style features of a particular aesthetic, thereby reducing the time and effort spent creating a visually appealing experience.
[0037] Figure 1: System Architecture
[0038] Figure 1 shows an exemplary network environment 100 according to several implementations of the present disclosure. Figure 1 and other drawings use similar reference numbers to identify similar elements. Letters following a reference number, such as "110a," indicate that the text specifically refers to the element having that particular reference number. Reference numbers in text without letters following them, such as "110," refer to any or all elements in the figure that have that reference number (for example, "110" in text refers to reference numbers "110a," "110b," and / or "110n" in the figure).
[0039] The network environment 100 (also referred to herein as the “Platform”) includes an online virtual experience server 102, a data store 108, a client device 110 (or more client devices), and a third-party server 118, all of which are connected via network 122.
[0040] The online virtual experience server 102 may include, among many others, a virtual experience engine 104, one or more virtual experiences 105, and machine learning components 130. The machine learning components 130 may include a model trained to identify distinctive style features. Once trained, the model can modify or generate visual assets of a specific style associated with the distinctive style features of the input visual assets. In some implementations, the online virtual experience server 102 may be configured to provide virtual experiences 105 to one or more client devices 110, provide automatic generation of a loss function through the machine learning components 130, and provide automatic generation of virtual experience assets (e.g., objects, avatars, etc.) that match the style features of the input image using a CNN trained with the loss function.
[0041] The data store 108 is displayed in conjunction with the online virtual experience server 102. However, in some implementations, the data store 108 may be provided as part of the online virtual experience server 102. In some implementations, the data store 108 may be configured to store advertising data, user data, engagement data, and / or other contextual data associated with the machine learning component 130.
[0042] Each client device 110 (e.g., 110a, 110b, 110n) may include a virtual experience application 112 (e.g., 112a, 112b, 112n) and an I / O interface 114 (e.g., 114a, 114b, 114n) for interacting with the online virtual experience server 102 and for viewing a graphical user interface (GUI) through, for example, a computer monitor or display (not shown). In some implementations, the client device 110 may be configured to run and display a virtual experience which may include a virtual user engagement portal as described herein.
[0043] The network environment 100 is provided for illustrative purposes. In some implementations, the network environment 100 may contain the same, fewer, more, or different elements, configured in the same or different manner as shown in Figure 1.
[0044] In some implementations, network 122 may include public networks (e.g., the Internet), private networks (e.g., local area networks (LANs) or wide area networks (WANs)), wired networks (e.g., Ethernet networks), wireless networks (e.g., 702.11 networks, Wi-Fi® networks, or wireless LANs (WLANs)), cellular networks (e.g., Long Term Evolution (LTE) networks, Fifth Generation (5G) New Radio (NR)), routers, hubs, switches, server computers, or combinations thereof.
[0045] In some implementations, the datastore 108 may be non-temporary computer-readable memory (e.g., random-access memory), a cache, a drive (e.g., a hard drive), a flash drive, a database system, or another type of component or device capable of storing data. The datastore 108 may also include multiple storage components (e.g., multiple drives or multiple databases) that may extend to multiple computing devices (e.g., multiple server computers).
[0046] In some implementations, the online virtual experience server 102 may include a server with one or more computing devices (e.g., a cloud computing system, rack-mount servers, server computers, a cluster of physical servers, or virtual servers). In some implementations, the server may be included in the online virtual experience server 102, be a separate system, or be part of another system or platform. In some implementations, the online virtual experience server 102 may be a single server or any combination of multiple servers, load balancers, network devices, and other components. The online virtual experience server 102 may also be implemented on a physical server, but in some implementations, virtualization technology may be utilized. Other variations of the online virtual experience server 102 may also apply.
[0047] In some implementations, the online virtual experience server 102 may include one or more computing devices (e.g., rack-mount servers, router computers, server computers, personal computers, mainframe computers, laptop computers, tablet computers, desktop computers, etc.), data stores (e.g., hard disks, memory, databases), networks, software components, and / or hardware components that can be used to perform operations on the online virtual experience server 102 and to provide users with access to the online virtual experience server 102 (through client devices 110).
[0048] The online virtual experience server 102 may also include a website (e.g., one or more web pages) or application backend software that can be used to provide users with access to content provided by the online virtual experience server 102. For example, users (or developers) may access the online virtual experience server 102 using a virtual experience application 112 on a client device 110.
[0049] In some implementations, the online virtual experience server 102 may include digital assets and conditions for generating digital virtual experiences. For example, the platform may provide an administrator interface that allows design, modification, personalized adjustments, and other modification functions. In some implementations, virtual experiences may include, for example, two-dimensional (2D) games, three-dimensional (3D) games, virtual reality (VR) games, or augmented reality (AR) games. In some implementations, creators and / or developers of virtual experiences may search for virtual experiences, combine parts of virtual experiences, or tailor virtual experiences for specific activities (e.g., group virtual experiences) and other features provided through the virtual experience server 102.
[0050] In some implementations, the online virtual experience server 102 or client device 110 may include a virtual experience engine 104 or a virtual experience application 112. In some implementations, the virtual experience engine 104 may be used for developing or running a virtual experience 105. For example, the virtual experience engine 104 may include, among some features, a rendering engine ("renderer") for 2D, 3D, VR, or AR graphics, a physics engine, a collision detection engine (and collision response), a sound engine, scripting capabilities, a haptic engine, an artificial intelligence engine, networking capabilities, streaming capabilities, memory management capabilities, threading capabilities, scene graph capabilities, or video support for filmmaking techniques. The components of the virtual experience engine 104 may generate instructions (e.g., rendering instructions, collision instructions, physics instructions, etc.) that assist in computing and rendering the virtual experience.
[0051] The online virtual experience server 102 may use the virtual experience engine 104 to perform some or all of the virtual experience engine functions (e.g., generating physical instructions, rendering instructions, etc.), or the client device 110 may release some or all of the virtual experience engine functions to the virtual experience engine (not shown). In some implementations, each virtual experience 105 may have a different ratio between the virtual experience engine functions performed on the online virtual experience server 102 and the virtual experience engine functions performed on the client device 110.
[0052] In some implementations, a virtual experience instruction may refer to an instruction that enables the client device 110 to render gameplay, graphics, and other features of the virtual experience. An instruction may include one or more user inputs (e.g., positioning of physical objects), character position and velocity information, or instructions (e.g., physics instructions, rendering instructions, collision instructions, etc.).
[0053] In some implementations, each client device 110 may include computing devices such as personal computers (PCs), mobile devices (e.g., laptops, mobile phones, smartphones, tablet computers, or netbooks), network-connected televisions, and game consoles. Also, in some implementations, client devices 110 may be referred to as "user devices." In some implementations, one or more client devices 110 may connect to the online virtual experience server 102 at any time. It should be noted that the number of client devices 110 is not limited and is provided as an example. In some implementations, any number of client devices 110 may be used.
[0054] In some implementations, each client device 110 may contain an example of a virtual experience application 112. The virtual experience application 112 may be rendered on the client device 110 for interaction. During user interaction within the virtual experience or other GUIs of the network environment 100, the user may create assets (e.g., objects, avatars, etc.) that contain distinctive style features. For example, the user may input image data associated with an image style into a machine learning component 130. The machine learning component 130 may identify a set of distinctive style features associated with a visual style using a CNN with kernel weights trained with a loss function to identify distinctive style features. The machine learning component 130 may adjust various features of assets, objects, and / or scenes (e.g., shape, curvature, angles, etc.) to match the set of distinctive style features of the visual style indicator (e.g., input image data). Once the features of an asset are adjusted to match the set of distinctive style features, the asset may be rendered by the machine learning component 130.
[0055] The machine learning component 130 may use convolutional filters and their corresponding feature maps to represent an identified set of features with a unique style. However, since the set of features with a unique style is initially unknown, the kernel weights are also unknown before training and cannot be a priori hand-drawn. To determine the kernel weights, the machine learning component 130 may iteratively optimize the CNN's convolutional filters so that the features extracted to identify the features with a unique style are aligned as much as possible. To that end, the learned features must satisfy the following conditions: 1) the features must be frequent within a certain style, and 2) the features must be different from features that are common to two or more styles simultaneously.
[0056] The machine learning component 130 softly models these requirements, like individual conditions within a contrasting framework. Contrastive learning aims to encourage the extracted style features of objects belonging to the same style to be identical, and different for objects with different styles. However, these goals are location-dependent and cannot be directly modeled based on learned feature maps. This means that convolving the same set of learned filters onto inputs with the same style but slightly different locations will result in different feature maps. Consequently, feature maps do not provide a reliable metric for style comparison.
[0057] A more detailed discussion of the machine learning components 130 and their operation is presented below with reference to Figure 2-5.
[0058] Figure 2-5: Learning and using model components with unique features
[0059] Figure 2 shows the sets of positive and negative input samples from several implementations. Figure 3A shows the generated feature maps from several implementations. Figure 3B shows the calculation of an exemplary Gram matrix based on the feature maps from Figure 3A from several implementations. Figure 4 shows the sets of distinctive style features identified based on the sets of positive and negative input samples from Figure 2 from several implementations. Figure 5 shows the input form and the corresponding rendered asset from several implementations. Figures 2-5 are explained together.
[0060] Instead of directly using feature maps, the machine learning component 130 identifies unique features based on correlations between feature maps using Gram matrices, as described below with reference to Figures 2, 3A, and 3B.
[0061] Referring to Figures 2 and 3A, the feature map 302 may be generated based on a set of positive input samples 202 and a set of negative input samples 204. For example, the set of positive input samples 202 may include images of the same style (e.g., characters in a serif font), while the set of negative input samples 204 may include images of different styles (e.g., characters in a serif font and characters in a sans-serif font). The machine learning component 130 may measure the similarity between two shapes (e.g., character or numeric fonts, 2D objects, 3D objects, etc.) based on the overall difference in the correlation of their filtered responses. This depiction has the advantage of removing location information and making it location-independent.
[0062] In the non-limiting embodiment of Figure 2, the positive input sample 202 includes images of the letters D, K, S, and W, all of which are in sans-serif fonts. That is, the set of positive input samples 202 includes shapes of the same style. The negative input sample 204 includes one or more pairs of shapes in different styles. For example, the negative input sample 204 includes pairs of D, K, S, and W. Each pair of shapes in the set of negative input samples 204 includes a first shape of a first style (e.g., a sans-serif font) and a second shape of a second style (e.g., a serif font). While Figure 2 illustrates styles defined in a human-readable way, more complex styles may be used for visual assets on a virtual environment platform, and they may be distinguished based on their visual appearance without specific style names being associated with individual styles.
[0063] The machine learning component 130 may generate a first set of feature maps associated with a set of positive input samples 202, and a second set of feature maps associated with a set of negative input samples 204. The first set of feature maps may be generated by applying a set of convolutional filters to the set of positive input samples 202, and the second set of feature maps may be generated by applying a set of convolutional filters to the set of negative input samples 204. For example, the set of convolutional filters may include kernels of size 5×5, 7×7, and 9×9, or any other suitable size. Each filter in the set of convolutional filters operates independently of the other filters in the set. This means that the machine learning component 130 may separately input the same form of input to each filter. The output of the set of convolutional filters may be a set of feature maps 302 (hereinafter referred to as "feature map 302"), as depicted in Figure 3A.
[0064] Referring to Figure 3A, the machine learning component 130 can flatten the feature map 302 to obtain a flattened horizontal feature map 304a and a flattened vertical feature map 304b. Flattened horizontal feature map 304a
number
number
[0065] Refer to Figure 3B,
number
number
number
number
number
number
number
[0066] As shown in Figure 3B, the Gram matrix 306 obtains the feature correlation between each matrix pair in the flattened horizontal feature map 304a and the flattened vertical feature map 304b. A high feature correlation value for a matrix pair indicates that the image has features obtained by the first feature map and features obtained by the second feature map. Conversely, a relatively low feature correlation value indicates that the image does not have features obtained by the first feature map from the flattened horizontal feature map 304a and features obtained by the second feature map from the flattened vertical feature map 304b.
[0067] Using the correlation difference of features, the machine learning component 130 can compute a loss function. The loss function compares Gram matrices and solves the function of equation (1) for the set of filter weights that minimize the correlation of the corresponding feature maps.
number
[0068] In [Math 10], I + represents a set of 202 positive input samples, and I - represents a set of 204 negative input samples, where i represents the first form and j represents the second form. In equation 2, I + The sum for this is the shape of the style in order to identify the style features that appear frequently within the same style.
number
number
[0069] An example of the distinctive style features obtained by the loss function shown in Equation 2 is illustrated in Figure 4. Using the loss function, the machine learning component 130 identifies a set of distinctive style features for serif fonts. For example, the set of distinctive style features may include serif decoration 402 and thickness modification 404 as distinctive style features that distinguish sans-serif font styles (left column) and serif font styles (right column).
[0070] Referring to Figure 5, once the kernel weights for the CNN filter are trained using the loss function, the machine learning component 130 can identify distinctive style features for any input shape 502. The machine learning component 130 can render the asset 504 to include the distinctive style features of the input shape 502. The visual style of the input asset (not shown) (e.g., an existing cow shape in the asset repository, or a new cow shape) can be manipulated or transformed to match the visual style of the input shape 502. For example, when designing a virtual experience, the user may input image data associated with a circle or a sphere into the machine learning component 130. Using the trained CNN filter, distinctive style features including circular features can be identified for the circle or sphere. The machine learning component 130 may apply circular features to the cow's features so that the asset's body shape, head shape, leg shape, horn shape, ear shape, etc., are styled along with the circular features of the shape in the user's input image.
[0071] The following provides a more detailed consideration of the methods for training and using the CNNs of this disclosure, with reference to Figures 6A and 6B.
[0072] Figures 6A and 6B: Exemplary methods for training and using a CNN
[0073] Figures 6A and 6B are flowcharts of methods 600 for training and using a CNN to render a scene based on unique style features of the input form, with several implementations.
[0074] In some implementations, Method 600 may be implemented on a server 102, as described with reference to Figure 1, for example. In some implementations, some or all of Method 600 may be implemented on one or more client devices 110, one or more developer devices (not shown), one or more server devices 102, and / or combinations of developer devices, server devices and client devices, as shown in Figure 1. In the embodiments described, the implementation system includes one or more digital processors or processing circuits ("processors") and one or more storage devices (e.g., datastore 108 or other storage). In some implementations, different components of one or more servers and / or clients may execute different blocks or other parts of Method 600. In some embodiments, a first device is described as executing a block of Method 600. Some implementations may have one or more blocks of Method 600 executed by one or more devices (e.g., other client devices or server devices) that can send results or data to the first device.
[0075] In some implementations, method 600 or part of method may be automatically started by the system. In some implementations, the implementation system is a first device. For example, method (or part thereof) may be executed periodically, or based on one or more specific events or states in response to the reception of one or more resulting states that may be specified in the input form and / or settings read by method, for example, at the request of a user. Referring to Figure 6A, method 600 may begin in block 602. Block 602 may receive a set of positive input samples associated with the same visual style and a set of negative input samples associated with different visual styles. Referring to Figures 1 and 2, for example, machine learning component 130 may receive a set of positive input samples 202 containing images in the form of the same style (e.g., characters in a serif font) and a set of negative input samples 204 containing images in the form of different styles (e.g., characters in a serif font and characters in a sans-serif font).
[0076] Block 604 may follow Block 602. Block 604 may generate a first set of feature maps associated with a set of positive input samples, and a second set of feature maps associated with a set of negative input samples. For example, referring to Figures 1 and 3A, the machine learning component 130 may generate a feature map 302 based on a set of positive input samples 202 (e.g., the first set of feature maps) and a set of negative input samples 204 (e.g., the second set of feature maps). For example, the set of positive input samples 202 may include images of the same style (e.g., characters in a serif font), while the set of negative input samples 204 may include images of different styles (e.g., characters in a serif font and characters in a sans-serif font).
[0077] Block 606 may follow Block 604. In Block 606, a first set of Gram matrix pairs associated with a set of positive input samples based on a first set of feature maps, and a second set of Gram matrix pairs associated with a set of negative input samples based on a second set of feature maps may be obtained. See, for example, Figures 1 and 3B.
number
number
[0078] Block 608 may follow Block 606. In Block 608, a loss function may be calculated based on a first sum of differences between a first set of Gram matrix pairs, and a second sum of differences between a second set of Gram matrix pairs. See, for example, Figures 1 and 4, the machine learning component 130 may calculate a loss function using the correlation difference of features. The loss function compares Gram matrices and solves for a set of filter weights whose correlation of the corresponding feature maps minimizes the energy of equation (2).
[0079] Block 610 may follow Block 608. In Block 610, visual assets may be received. Referring to Figure 1, for example, the machine learning component 130 may receive image data associated with a visual asset (e.g., an image, object, or scene). The image data may be associated with a single visual asset or with all visual assets in the scene being rendered.
[0080] Block 612 may follow Block 610. Block 612 may receive a visual style indicator. Referring, for example, to Figures 1 and 5, the machine learning component 130 may receive an input form 502 (visual style indicator) of an image, object, or scene. The input form 502 may be selected and entered, for example, by the user. The input form 502 may be associated with a specific visual style.
[0081] Referring to Figure 6B, block 614 may follow block 612. In block 614, a set of distinctive style features for visual styles may be identified using a loss function calculated based on a first sum of differences between a first set of Gram matrix pairs and a second sum of differences between a second set of Gram matrix pairs. Referring to Figures 1 and 4, for example, an example of distinctive style features obtained by the loss function shown in equation (2) is depicted. Using the loss function, the machine learning component 130 may identify a set of distinctive style features for serif fonts. For example, a set of distinctive style features may obtain serif decoration 402 and thickness modification 404 as distinctive style features that distinguish sans-serif font styles (left column) and serif font styles (right column).
[0082] Block 616 may follow Block 614. In Block 616, the shape of a visual asset may be modified to align with an identified set of distinctive style features for a visual style. For example, referring to Figures 1 and 5, once the kernel weights for the CNN filter are trained using a loss function, the machine learning component 130 may identify distinctive style features for any input shape 502. The machine learning component 130 may adjust the shape of the asset 504 to include the distinctive style features of the input shape 502. For example, when designing a virtual experience, the user may input image data associated with a circle or a sphere into the machine learning component 130. Using the trained CNN filter, distinctive style features including circular features may be identified for the circle or sphere. The machine learning component 130 may apply circular features to the features of a cow such that the asset's body shape, head shape, leg shape, horn shape, ear shape, etc., are styled along with the circular features of the shape of the user's input image. In some implementations, the machine learning component 130 may modify the position of one or more vertices of the visual asset's mesh to match the distinctive style features identified for the visual style and / or texture of the visual asset.
[0083] Block 618 may follow Block 616. In Block 618, a modified visual asset may be rendered based on a specific set of style features. Block 618 may terminate the operation. For example,
[0084] Figure 7: Computing Devices
[0085] The following provides a more detailed description of various computing devices that may be used to implement the different devices and / or components shown in Figure 1, with reference to Figure 7.
[0086] Figure 7 is a block diagram of an exemplary computing device 700, which may be used to implement one or more features described herein, in several implementations. In one embodiment, device 700 may be used to implement a computer device (e.g., 102, 110 in Figure 1) and perform operations as appropriate, as described herein. Computing device 700 may be any suitable computer system, server, or other electronic or hardware device. For example, computing device 700 may be a mainframe computer, desktop computer, workstation, portable computer, or electronic device (portable device, mobile device, cell phone, smartphone, tablet computer, television, TV set-top box, personal digital assistant (PDA), media player, game console, wearable device, etc.). In some implementations, device 700 includes a processor 702, memory 704, input / output (I / O) interface 706, and audio / video input / output devices 714 (e.g., display screen, touchscreen, display goggles or glasses, audio speaker, headphones, microphone, etc.).
[0087] The processor 702 may be one or more processors and / or processing circuits for executing program code and controlling the basic operation of device 700. “Processor” includes any suitable hardware and / or software system, mechanism or component for processing data, signals or other information. A processor may include a general-purpose central processing unit (CPU), a set of processing units, dedicated circuits for achieving a function, or a system with other systems. Processing is not limited to a specific geographical location or subject to temporal constraints. For example, a processor may perform its functions in “real-time,” “offline,” “batch mode,” etc. Parts of the processing may be performed by different (or identical) processing systems at different times and locations. A computer may be any processor communicating with memory.
[0088] Memory 704 is typically provided in device 700 for access by processor 702 and can be any suitable processor-readable storage medium suitable for storing instructions to be executed by the processor, located separately from and / or integrated with processor 702, such as random access memory (RAM), read-only memory (ROM), electrically erasable read-only memory (EEPROM), or flash memory. Memory 704 may store software running on server device 700 by processor 702, including an operating system 708, a software application 710, and an associated database 712. In some implementations, application 710 may include instructions that enable processor 702 to perform the functions described herein. Software application 710 may include some or all of the functions necessary to train a CNN filter to acquire distinctive style features of the input shape and to manipulate the distinctive style features of the input shape to match the shape of an asset. In some implementations, one or more parts of the software application 710 may be implemented on dedicated hardware such as application-specific integrated circuits (ASICs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), or machine learning processors. In some implementations, one or more parts of the software application 710 may be implemented on general-purpose processors such as central processing units (CPUs) or graphics processing units (GPUs). In various implementations, a suitable combination of dedicated and / or general-purpose processing hardware may be used to implement the software application 710.
[0089] For example, a software application 710 stored in memory 704 may include instructions necessary to train a CNN filter to acquire distinctive style features of the input shape, and to manipulate the distinctive style features of the software shape, such as the input or machine learning component 130, to match the shape of the asset. Any software in memory 704 may be stored alternatively in any other suitable storage location or computer-readable medium. Furthermore, memory 704 (and / or other connected storage devices) may store instructions and data used for the features described herein. Memory 704 and any other type of storage (magnetic disk, optical disk, magnetic tape, or other tangible medium) are considered “storage” or “storage device”.
[0090] The I / O interface 706 can provide functionality to enable interfacing between the server device 700 and other systems and devices. For example, network communication devices, storage devices (e.g., memory and / or datastore 108), and input / output devices can communicate through interface 706. In some implementations, the I / O interface may connect to interface devices including input devices (such as keyboards, pointing devices, touchscreens, microphones, cameras, scanners, etc.) and / or output devices (such as display devices, speaker devices, printers, motors, etc.).
[0091] For ease of explanation, Figure 7 shows one block for each of the following: processor 702, memory 704, I / O interface 706, operating system 708, software application 710, and database 712. These blocks may represent one or more processors or processing circuits, operating systems, memory, I / O interfaces, applications, and / or software modules. In other implementations, device 700 may not have all the components shown and / or may have other components, including other types of elements in place of or in addition to the types of elements shown herein. While the virtual experience server 102 is described to perform operations as described in some implementations herein, any suitable component or combination of components of the virtual experience server 102, or a similar system, or a processor or any suitable processor associated with such a system may perform the operations described.
[0092] Furthermore, user devices may implement and / or be used with the features described herein. An exemplary user device may be a computer device including, for example, a processor 702, memory 704, and / or several components similar to the I / O interface 706. A suitable operating system, software, and applications for the client device may be provided in memory and used by the processor. The I / O interface for the client device may be connected to network communication devices and input / output devices, such as a microphone for capturing sound, a camera for capturing images or videos, an audio speaker device for outputting sound, a display device for outputting images or videos, or other output devices. The display device in the audio / video input / output device 714 may be connected to (or included in) device 700 for displaying, for example, the image pre-processing and post-processing described herein, and such a display device may include any suitable display device, such as an LCD, LED, or plasma display screen, a CRT, a television, a monitor, a touchscreen, a 3D display screen, a projector, or other visual display device. Some implementations may provide audio output devices, such as sound output or text-to-speech synthesis.
[0093] The methods, blocks, and / or operations described herein may, where appropriate, be executed in an order different from that shown or described, and / or concurrently (partially or completely) with other blocks or operations. Some blocks or operations may be executed for a portion of data and then executed again, for example, for another portion of data. Not all of the described blocks and operations must be executed in every implementation. In some implementations, blocks and operations may be executed multiple times, in a different order in the method, and / or at different times.
[0094] In some implementations, some or all of the methods may be executed on a system such as one or more client devices. In some implementations, one or more of the methods described herein may be executed on a server system, and / or on both a server system and a client system. In some implementations, one or more different components of a server and / or client may execute different blocks, operations, or other parts of the method.
[0095] One or more methods described herein (e.g., Method 600) may be implemented by computer program instructions or code that can be executed on a computer. For example, code may be implemented by one or more digital processors (e.g., microprocessors or other processing circuits) and stored in a computer program product including non-temporary computer-readable media (e.g., storage media) such as magnetic, optical, electromagnetic, or semiconductor storage media, including semiconductor or solid memory, magnetic tape, removable computer diskettes, random access memory (RAM), read-only memory (ROM), flash memory, rigid magnetic disks, optical disks, solid memory drives, etc. Program instructions may also be included in and provided as electronic signals, for example, in the form of software as a service (SaaS) delivered from a server (e.g., a distributed system and / or a cloud computing system). Alternatively, one or more methods may be implemented in hardware (e.g., logic gates) or a combination of hardware and software. Illustrative hardware may include programmable processors (e.g., field-programmable gate arrays (FPGAs), complex-programmable logic devices), general-purpose processors, graphics processors, and application-specific integrated circuits (ASICs). One or more methods may be executed as a component or part of an application running on the system, or as an application or software that operates together with other applications and the operating system.
[0096] One or more methods described herein may be standalone programs that run on any type of computing device, programs that run in a web browser, or mobile applications ("apps") that run on mobile computing devices (e.g., mobile phones, smartphones, tablet computers, wearable devices (watches, armbands, jewelry, hats, goggles, glasses, etc.), laptop computers, etc.). In one embodiment, a client / server architecture may be used, for example, where a mobile computing device (as a client device) sends user input data to a server device and receives live feedback data for output (e.g., for a display) from the server. In another embodiment, computation may be divided between a mobile computing device and one or more server devices.
[0097] While specific implementations of this explanation have been described, these particular implementations are merely examples and not restrictive. The concepts shown in the examples may apply to other examples and implementations.
[0098] It should be noted that the functional blocks, operations, features, methods, devices, and systems described herein may be integrated into or separated from various combinations of systems, devices, and functional blocks known to those skilled in the art. Any suitable programming language and programming technique may be used to implement routines in a particular implementation. Various programming techniques, such as procedural or object-oriented, may be used. Routines may be executed on a single processing device or on multiple processors. Steps, operations, or calculations may be presented in a specific order, but the order may vary in different specific implementations. In some implementations, multiple steps or operations presented sequentially in this specification may be executed simultaneously. [Explanation of Symbols]
[0099] 100 Network Environment 102 Online Virtual Experience Servers 104 Virtual Experience Engine 105 Virtual Experiences 108 Datastores 110 Client Devices 112 Virtual Experience Applications 114 I / O Interfaces 118 Third-party servers 122 Network 130 Machine Learning Components Set of 202 positive input samples Set of 204 negative input samples 302 Feature Map 304a Horizontal Feature Map 304b Vertical Feature Map 306 gram matrix 402 Dialogue Decoration 404 Change 404a Horizontal Feature Map 404b Vertical Feature Map Type 502 504 Assets 600 ways 700 Computing Devices 702 Processor 704 memory 706 Input / Output (I / O) Interfaces 708 Operating Systems 710 Software Applications 712 Databases 714 Video Input / Output Devices
Claims
1. A method performed by computer, Visual assets, receiving by the processor, The visual style indicator is received by the processor, Identification of a set of distinctive style features for a visual style by machine learning components, where a first set of Gram matrix pairs is associated with a set of positive input samples of the same visual style, and a second set of Gram matrix pairs is associated with a set of negative input samples of different visual styles; kernel weights of a convolutional neural network are trained using a loss function calculated based on a first sum of differences between the first sets of Gram matrix pairs and a second sum of differences between the second sets of Gram matrix pairs; To align with the set of distinctive style features identified for the aforementioned visual style, the shape of the visual asset is modified using the machine learning components, A computer-based method comprising rendering the visual asset by the processor after the aforementioned modification, to conform it to the set of distinctive style features.
2. The processor receives the set of positive input samples of the same visual style and the set of negative input samples of different visual styles. The processor generates a first set of feature maps associated with the set of positive input samples and a second set of feature maps associated with the set of negative input samples. The processor obtains a first set of Gram matrix pairs associated with the set of positive input samples based on the first set of feature maps, and a second set of Gram matrix pairs associated with the set of negative input samples based on the second set of feature maps. The method according to claim 1, further comprising the calculation by the processor of the loss function based on a first sum of the differences of a first set of Gram matrix pairs and a second sum of the differences of a second set of Gram matrix pairs.
3. The set of positive input samples associated with the same visual style includes a first set of shape pairs of the same style, The method according to claim 2, wherein the set of negative input samples associated with the different visual styles includes a second set of shape pairs of different styles.
4. The method according to claim 3, wherein for each of the shape pairs included in the second set of shape pairs, one shape has the same style as the style of the first set of shape pairs.
5. The generation of a first set of feature maps associated with the set of positive input samples, and a second set of feature maps associated with the set of negative input samples, The application by the processor of a set of convolutional filters to the set of positive input samples for generating a first set of the feature maps, The method according to claim 2, further comprising: the application by the processor of the set of convolution filters to the set of negative input samples to generate a second set of the feature maps.
6. The method according to claim 5, wherein the set of convolutional filters includes kernels of various sizes.
7. The acquisition of a first set of Gram matrix pairs associated with the set of positive input samples based on the first set of feature maps, and a second set of Gram matrix pairs associated with the set of negative input samples based on the second set of feature maps, The processor determines a first correlation between a first set of feature maps associated with a set of positive input samples for obtaining a first set of Gram matrix pairs, The method according to claim 2, further comprising: determination by the processor of a second correlation between a second set of feature maps associated with a set of negative input samples for obtaining a second set of Gram matrix pairs.
8. A computing device, Processor and When an instruction stored in memory is executed by the processor, Receiving visual assets, Receiving visual style indicators, Identification of a set of distinctive style features for a visual style by machine learning components, where a first set of Gram matrix pairs is associated with a set of positive input samples of the same visual style, and a second set of Gram matrix pairs is associated with a set of negative input samples of different visual styles; kernel weights of a convolutional neural network are trained using a loss function calculated based on a first sum of differences between the first sets of Gram matrix pairs and a second sum of differences between the second sets of Gram matrix pairs; Modification of the shape of the visual asset by using the machine learning components to align with the set of distinctive style features identified for the aforementioned visual style, After the aforementioned changes, rendering of the visual asset to match the set of distinctive style features, A computing device comprising: a memory coupled to the processor, which causes the processor to perform an operation comprising:
9. Receiving the set of positive input samples of the same visual style and the set of negative input samples of different visual styles, Generation of a first set of feature maps associated with the set of positive input samples, and a second set of feature maps associated with the set of negative input samples, Acquisition of a first set of Gram matrix pairs associated with the set of positive input samples based on the first set of feature maps, and a second set of Gram matrix pairs associated with the set of negative input samples based on the second set of feature maps, The computing device according to claim 8, further comprising: calculating the loss function based on a first sum of the differences between a first set of Gram matrix pairs and a second sum of the differences between a second set of Gram matrix pairs.
10. The set of positive input samples associated with the same visual style includes a first set of shape pairs of the same style, The computing device according to claim 9, wherein the set of negative input samples associated with the different visual styles includes a second set of shape pairs of different styles.
11. The computing device according to claim 10, wherein for each of the shape pairs included in the second set of shape pairs, one shape has the same style as the style of the first set of shape pairs.
12. The generation of a first set of feature maps associated with the set of positive input samples, and a second set of feature maps associated with the set of negative input samples, Applying a set of convolutional filters to the set of positive input samples to generate a first set of the feature maps, The computing device according to claim 9, further comprising applying the set of convolutional filters to the set of negative input samples to generate a second set of the feature maps.
13. The computing device according to claim 12, wherein the set of convolutional filters includes kernels of various sizes.
14. The acquisition of a first set of Gram matrix pairs associated with the set of positive input samples based on the first set of feature maps, and a second set of Gram matrix pairs associated with the set of negative input samples based on the second set of feature maps, Determination of a first correlation between a first set of feature maps associated with a set of positive input samples for obtaining a first set of Gram matrix pairs, The computing device according to claim 9, comprising: determining a second correlation between a second set of feature maps associated with a set of negative input samples for obtaining a second set of the Gram matrix pairs.
15. A non-temporary computer-readable medium in which instructions stored therein are executed by a processor, Receiving visual assets, Receiving visual style indicators, Identification of a set of distinctive style features for a visual style by machine learning components, where a first set of Gram matrix pairs is associated with a set of positive input samples of the same visual style, and a second set of Gram matrix pairs is associated with a set of negative input samples of different visual styles; kernel weights of a convolutional neural network are trained using a loss function calculated based on a first sum of differences between the first sets of Gram matrix pairs and a second sum of differences between the second sets of Gram matrix pairs; Modification of the shape of the visual asset by using the machine learning components to align with the set of distinctive style features identified for the aforementioned visual style, After the aforementioned changes, rendering of the visual asset to match the set of distinctive style features, A non-temporary computer-readable medium that causes the processor to perform an operation comprising the above.
16. Receiving the set of positive input samples of the same visual style and the set of negative input samples of different visual styles, Generation of a first set of feature maps associated with the set of positive input samples, and a second set of feature maps associated with the set of negative input samples, Acquisition of a first set of Gram matrix pairs associated with the set of positive input samples based on the first set of feature maps, and a second set of Gram matrix pairs associated with the set of negative input samples based on the second set of feature maps, The non-temporal computer-readable medium according to claim 15, further comprising: calculating the loss function based on a first sum of the differences between a first set of Gram matrix pairs and a second sum of the differences between a second set of Gram matrix pairs.
17. The set of positive input samples associated with the same visual style includes a first set of shape pairs of the same style, The non-temporary computer-readable medium according to claim 16, wherein the set of negative input samples associated with the different visual styles includes a second set of shape pairs of different styles.
18. The non-temporary computer-readable medium according to claim 17, wherein for each of the shape pairs included in the second set of shape pairs, one shape has the same style as the style of the first set of shape pairs.
19. The generation of a first set of feature maps associated with the set of positive input samples, and a second set of feature maps associated with the set of negative input samples, Applying a set of convolutional filters to the set of positive input samples to generate a first set of the feature maps, A non-temporary computer-readable medium according to claim 16, comprising applying the set of convolution filters to the set of negative input samples to generate a second set of the feature maps.
20. The non-temporary computer-readable medium according to claim 19, wherein the set of convolutional filters includes kernels of various sizes.
Citation Information
Patent Citations
Image synthesis device and method for embedding watermark
US20220156873A1
