Data processing model training method, device, electronic device and storage medium

Through the fusion processing of multi-frame video data and the identification of computing nodes, the efficiency problem caused by the frame length difference in data processing model training is solved, and efficient data processing model training is achieved.

CN114882333BActive Publication Date: 2024-09-06BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202210325710.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-31
Publication Date
2024-09-06
Estimated Expiration
2041-05-31

AI Technical Summary

Technical Problem

During the training process of the data processing model, due to the large difference in frame length between multiple sample data, invalid data is introduced during alignment processing, affecting training efficiency.

Method used

By acquiring multi-frame video data, performing fusion processing to generate target sample data, identifying target computing nodes from computing nodes based on data characteristics, inputting data into corresponding nodes to generate intermediate computing results, and finally training the data processing model based on annotation information.

Benefits of technology

It effectively avoids the introduction of invalid data, reduces the waste of computing resources, and improves the training efficiency and effect of the data processing model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114882333B
    Figure CN114882333B
Patent Text Reader

Abstract

The present disclosure provides a training method, device, electronic device and storage medium for a data processing model, which relates to the field of computer technology, and in particular to the field of artificial intelligence technology such as deep learning and big data processing. The specific implementation scheme is: obtaining multiple sample data, the multiple sample data have corresponding multiple annotation information; fusing the multiple sample data to obtain target sample data; and training the initial data processing model according to the multiple sample data, the target sample data, and the multiple annotation information to obtain the target data processing model. Since the initial data processing model is trained according to the target sample data obtained by the fusion process, the amount of data processed by the data processing model can be reduced accordingly, thereby effectively avoiding the occupation of video memory by invalid data, effectively improving the training efficiency of the data processing model, and improving the data processing effect of the data processing model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, in particular to the field of artificial intelligence technology such as deep learning and big data processing, and specifically to a training method, device, electronic device and storage medium for a data processing model. Background Art

[0002] Artificial intelligence is a discipline that studies how to use computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning, deep learning, big data processing technology, knowledge graph technology, and other major directions.

[0003] In the related art, during the data processing model training process, due to the large difference in frame lengths between multiple sample data, a method of aligning multiple sample data is usually adopted to perform model training based on the aligned sample data. However, the method of aligning multiple sample data will bring in invalid data, thereby affecting the training efficiency of the data processing model. Summary of the invention

[0004] The present disclosure provides a training method for a data processing model, a data processing method, an apparatus, an electronic device, a storage medium, and a computer program product.

[0005] According to a first aspect of the present disclosure, a training method for a data processing model is provided, comprising: obtaining multiple frames of video, and using the multiple frames of video as multiple sample data respectively, wherein the multiple sample data have corresponding multiple annotation information; performing fusion processing on the multiple sample data to obtain target sample data; obtaining multiple data features corresponding to the multiple sample data; identifying a target computing node from multiple computing nodes included in an initial data processing model according to the multiple data features; inputting the target sample data into the target computing node to obtain a first intermediate computing result output by the target computing node; inputting the multiple sample data into other computing nodes to obtain a second intermediate computing result output by the other computing nodes, wherein the target computing node and the other computing nodes together constitute the multiple computing nodes; processing the first intermediate computing result according to the multiple data features to obtain multiple intermediate computing sub-results corresponding to the multiple sample data; and training the initial data processing model according to the multiple intermediate computing sub-results, the second intermediate computing result, and the multiple annotation information to obtain a target data processing model.

[0006] According to the second aspect of the present disclosure, a data processing method is provided, including: obtaining multiple frames of video and using the multiple frames of video as data to be processed; inputting the data to be processed into a target data processing model trained by the training method of the data processing model as described above, so as to obtain target information output by the target data processing model.

[0007] According to a third aspect of the present disclosure, a training device for a data processing model is provided, comprising: a first acquisition module, used to acquire multiple frames of video, and respectively use the multiple frames of video as multiple sample data, wherein the multiple sample data have corresponding multiple annotation information; a fusion module, used to perform fusion processing on the multiple sample data to obtain target sample data; a training module, used to train an initial data processing model according to the multiple sample data, the target sample data, and the multiple annotation information to obtain a target data processing model; wherein the training module comprises: an acquisition submodule, used to acquire multiple data features corresponding to the multiple sample data; an identification submodule, used to identify the target computing node from the multiple computing nodes included in the initial data processing model according to the multiple data features; Node; a first input submodule, used to input the target sample data into the target computing node to obtain a first intermediate computing result output by the target computing node; a second input submodule, used to input the multiple sample data into other computing nodes to obtain second intermediate computing results output by the other computing nodes, wherein the target computing node and the other computing nodes together constitute the multiple computing nodes; a processing submodule, used to process the first intermediate computing result according to the multiple data features to obtain a plurality of intermediate computing sub-results corresponding to the multiple sample data; and a training submodule, used to train the initial data processing model according to the multiple intermediate computing sub-results, the second intermediate computing result, and the multiple annotation information to obtain the target data processing model.

[0008] According to a fourth aspect of the present disclosure, a data processing device is provided, comprising: a second acquisition module, used to acquire multiple frames of video and use the multiple frames of video as data to be processed; a processing module, used to input the data to be processed into a target data processing model trained by a training device for the data processing model as described above, so as to obtain target information output by the target data processing model.

[0009] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a training method for a data processing model as in the first aspect, or execute a data processing method as in the second aspect.

[0010] According to a sixth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute a training method for a data processing model as in the first aspect, or to execute a data processing method as in the second aspect.

[0011] According to a seventh aspect of the present disclosure, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements a training method for a data processing model as in the first aspect, or performs a data processing method as in the second aspect.

[0012] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0014] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure;

[0015] Figure 2a is a schematic diagram of a standard arrangement structure of sample data in an embodiment of the present disclosure;

[0016] Figure 2b is a schematic diagram of a closely arranged structure of sample data in an embodiment of the present disclosure;

[0017] Figure 3 is a schematic diagram according to a second embodiment of the present disclosure;

[0018] Figure 4 is a schematic diagram of a computational subgraph searched out in an embodiment of the present disclosure;

[0019] Figure 5 It is a structural diagram of the data processing model in the embodiment of the present disclosure

[0020] Figure 6 is a schematic diagram according to a third embodiment of the present disclosure;

[0021] Figure 7 is a schematic diagram according to a fourth embodiment of the present disclosure;

[0022] Figure 8 is a schematic diagram according to a fifth embodiment of the present disclosure;

[0023] Fig. 9 is a schematic diagram according to a sixth embodiment of the present disclosure;

[0024] Fig.10 is a schematic diagram according to a seventh embodiment of the present disclosure;

[0025] Fig.11 A schematic block diagram of an example electronic device that can be used to implement the training method of the data processing model according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0026] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0027] Figure 1 is a schematic diagram according to the first embodiment of the present disclosure.

[0028] It should be noted that the executor of the training method of the data processing model of this embodiment is a training device for the data processing model, which can be implemented by software and / or hardware, and can be configured in an electronic device, which may include but is not limited to a terminal, a server, etc.

[0029] The embodiments of the present disclosure relate to the fields of artificial intelligence technology such as deep learning and big data processing.

[0030] Among them, Artificial Intelligence (AI) is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.

[0031] Deep learning is the process of learning the inherent laws and representation levels of sample data. The information obtained in the learning process is of great help in interpreting data such as text, images, and sounds. The ultimate goal of deep learning is to enable machines to have analytical learning capabilities like humans and to recognize data such as text, images, and sounds.

[0032] Big data processing refers to the process of analyzing and processing huge amounts of data using artificial intelligence. Big data can be summarized as five Vs: volume, velocity, variety, value, and veracity.

[0033] In this embodiment, the execution subject of the training method of the data processing model can obtain data through various public, legal and compliant methods, such as obtaining it from a public data set, or obtaining it from a user with the user's authorization. The data does not reflect the personal information of a specific user.

[0034] It should be noted that the data in the embodiments of the present disclosure are all obtained in compliance with relevant laws and regulations.

[0035] like Figure 1 As shown, the training method of the data processing model includes:

[0036] S101: Acquire a plurality of sample data, where the plurality of sample data has corresponding plurality of annotation information.

[0037] The data used to train the data processing model may be referred to as sample data, and the sample data may be image data of the sample or audio data of the sample, without limitation.

[0038] In some embodiments, when acquiring sample data, a video stream may be acquired and the video stream may be parsed to obtain multiple video frames as sample data, or audio data corresponding to each video frame may be parsed as sample data, without limitation.

[0039] In some embodiments, when obtaining sample data, it can be obtained from a sample data pool. The data pool can be pre-built and contain multiple different sample data. Then, one or more sample data can be directly captured from the sample data pool, or any other possible method can be used to obtain sample data, without limitation.

[0040] In some other embodiments, data (image data, or audio data) input by a user via a data input interface (the data input interface may be, for example, an interface configured on an electronic device and may be used to receive sample data) may be directly received as sample data without any limitation.

[0041] Among them, the annotation information is used as reference annotation information in the process of training the data processing model. It is assumed that the data processing model performs the data processing task by outputting prediction information corresponding to the sample data based on the input sample data. The information used as reference annotation can be called annotation information. The annotation information can be used to determine the convergence timing of the data processing model, and there is no restriction on this.

[0042] The information can be specifically used to describe data features corresponding to the sample data, such as the length of the sample data, the number of characters contained, the semantics of the sample data, context information, etc., and there is no limitation on this.

[0043] In the embodiment of the present disclosure, in the process of using multiple sample data to train a data processing model, the multiple sample data can be combined into a sample data sequence, and iterative training is performed in the form of the sample data sequence. When the sample data sequence is composed of multiple sample data.

[0044] The information of multiple annotations corresponding to the multiple sample data (such as the length of the annotation corresponding to the sample data, the number of characters included, the semantics corresponding to the sample data, context information, etc.) can be called the corresponding multiple annotation information.

[0045] It should be noted that the sample data in this embodiment is not sample data for a specific user and cannot reflect the personal information of a specific user.

[0046] The sample data in this embodiment may come from a public data set, or the acquisition of the sample data is authorized by the user corresponding to the sample data.

[0047] S102: Perform fusion processing on multiple sample data to obtain target sample data.

[0048] After acquiring the sample data and determining the multiple annotation information corresponding to the multiple sample data, the multiple sample data may be fused to obtain fused sample data, which may be referred to as target sample data.

[0049] For example, if multiple sample data include: 2 sample data, namely sample data a and sample data b, sample data a can be composed of two data frames a1 and a2, and sample data b can be composed of two data frames b1 and b2, then the data frames corresponding to sample data a and sample data b can be fused, for example: the two data frames a1 and b1 can be fused to obtain a new sample data (sample data c), and the two data frames a2 and b2 can be fused to obtain a new sample data (sample data d), and sample data c and sample data d can be called target sample data, without any restriction.

[0050] Optionally, in some embodiments, a plurality of sample data are fused to obtain target sample data. The plurality of sample data may be concatenated head to tail, and the sample data obtained by the concatenation is used as the target sample data.

[0051] like Figure 2a As shown, Figure 2a Schematic diagram of the standard arrangement structure of sample data in the embodiment of the present disclosure, including: 4 sample data, the batch size corresponding to the 4 sample data is 4, and the 4 sample data are arranged in a standard arrangement manner as: sample data a, sample data b, sample data c, sample data d.

[0052] like Figure 2b As shown, Figure 2b is a schematic diagram of the close arrangement structure of sample data in the embodiment of the present disclosure. Figure 2a After the four sample data are arranged in a standard arrangement as shown, the sample data a, sample data b, sample data c, and sample data d can be fused by splicing them head to tail, that is, the data frame tail of sample data a can be spliced ​​with the data frame header of sample data b, and the data frame tail of sample data b can be spliced ​​with the data frame header of sample data c. Correspondingly, the data frame tail of sample data c can be spliced ​​with the data frame header of sample data d to obtain sample data arranged in a tight arrangement. The sample data is the target sample data, and the batch size corresponding to the target sample data is 1.

[0053] By the above Figure 2a and Figure 2b It can be seen that in the embodiments of the present disclosure, when a plurality of sample data are fused, the sample data can be fused by splicing them head to tail. In this manner, since alignment of the plurality of sample data is avoided (since the alignment processing method usually requires padding with zeros, the supplemented data is invalid data), the embodiments of the present disclosure can effectively avoid introducing invalid data, reduce the occupancy of video memory by invalid data, and can greatly reduce the waste of computing resources. In addition, the fusion processing method of splicing head to tail is simple to implement, and can effectively avoid the influence of data fusion on the data processing model training process, thereby ensuring the continuity of data processing model training.

[0054] Of course, any other possible method may be used to fuse multiple sample data to obtain target sample data, such as model fusion method, weighted fusion method, etc., and there is no limitation to this.

[0055] S103: Train an initial data processing model according to a plurality of sample data, target sample data, and a plurality of annotation information to obtain a target data processing model.

[0056] Among them, the data processing model obtained in the initial stage of training can be called the initial data processing model. The initial data processing model can be an artificial intelligence model, such as a neural network model or a machine learning model. Of course, any other possible model that can perform data processing tasks can also be used, without limitation.

[0057] After the fusion processing is performed on the multiple sample data to obtain the target sample data, an initial data processing model can be trained according to the multiple sample data, the target sample data, and the multiple annotation information to obtain the target data processing model.

[0058] For example, multiple sample data, target sample data, and multiple annotation information can be input into the initial data processing model to obtain prediction information output by the initial data processing model. If the prediction information and the annotation information meet the convergence conditions, the data processing model is determined to have converged, and the trained data processing model can be used as the target data processing model.

[0059] In some embodiments, a loss function can be pre-configured for an initial data processing model. During the training of the data processing model, multiple annotation information and prediction information are used as input parameters of the loss function, and the loss value output by the loss function is determined. The loss value is then combined to determine whether the data processing model meets the convergence timing. There is no restriction on this.

[0060] In this embodiment, multiple sample data are obtained, the multiple sample data have corresponding multiple annotation information, and the multiple sample data are fused to obtain target sample data, and an initial data processing model is trained based on the multiple sample data, the target sample data, and the multiple annotation information to obtain a target data processing model. Since the initial data processing model is trained based on the target sample data obtained by the fusion processing, the amount of data processed by the data processing model can be reduced accordingly, thereby effectively avoiding the occupation of video memory by invalid data, effectively improving the training efficiency of the data processing model, and improving the data processing effect of the data processing model.

[0061] It should be noted that the initial data processing model in this embodiment is not a data processing model for a specific user, nor can it reflect the personal information of a specific user.

[0062] The target data processing model obtained through this step includes the data processing logic for the sample data, but the construction of the data processing logic for the sample data is performed after the user's authorization, and its construction process complies with relevant laws and regulations.

[0063] Figure 3is a schematic diagram according to a second embodiment of the present disclosure.

[0064] like Figure 3 As shown, the training method of the data processing model includes:

[0065] S301: Acquire multiple sample data, where the multiple sample data have corresponding multiple annotation information.

[0066] It should be noted that the sample data in this embodiment is not sample data for a specific user and cannot reflect the personal information of a specific user.

[0067] The sample data in this embodiment may come from a public data set, or the acquisition of the sample data is authorized by the user corresponding to the sample data.

[0068] S302: Perform fusion processing on multiple sample data to obtain target sample data.

[0069] The description of S301 - S302 can be specifically referred to the above embodiment, which will not be repeated here.

[0070] S303: Acquire multiple data features corresponding to multiple sample data.

[0071] The data feature may be specifically used to describe the data feature of the sample data, such as the length corresponding to the sample data, the number of characters included, etc., and there is no limitation on this.

[0072] In the embodiment of the present disclosure, multiple data lengths corresponding to multiple sample data, and the batch size of the multiple sample data (for example, the number of multiple sample data) can be referred to as multiple data features, and there is no limitation on this.

[0073] For example, assuming that multiple sample data include: 2 sample data, and the batch size corresponding to the two sample data is 2, then the two data lengths corresponding to the two sample data and the batch size (2) corresponding to the two sample data can be used as data features, without any restriction.

[0074] Of course, any other possible manner may be used to determine multiple data features corresponding to multiple sample data, so that the determined data features can characterize the occupation of computing resources by the sample data, and there is no limitation on this.

[0075] S304: Identify a target computing node from among multiple computing nodes according to multiple data features.

[0076] Among them, the computing node identified from multiple computing nodes according to multiple data features can be called a target computing node.

[0077] The computing nodes can be used to execute corresponding computing tasks in the data processing logic. Multiple computing nodes can have a certain connection relationship, for example, a sequential connection relationship. Therefore, when the computing tasks corresponding to multiple computing nodes are used to train the data processing model, multiple computing nodes can be used to sequentially execute corresponding computing tasks on the input sample data to support the training process of the data processing model.

[0078] Among them, the computing node to which the computing task that is insensitive to the data features of multiple sample data belongs can be called a target computing node.

[0079] For example, the computing nodes to which the computing tasks that are insensitive to the data features of the sample data belong may include, for example, fully connected layers (FC) and element-wise multiplication.

[0080] After acquiring multiple sample data, the target computing node can be identified from multiple computing nodes based on multiple data features. Since the target computing node is insensitive to the data features of the sample data (the data features can characterize the occupancy of computing resources by the sample data) when executing the corresponding computing task, the multiple sample data input to the target computing node can be optimized accordingly to reduce the amount of data processed by the data processing model accordingly.

[0081] Take the data feature as an example, which is the batch size of multiple sample data.

[0082] For example, if the batch size corresponding to the multiple sample data obtained is 4, and the multiple sample data are used as input data of the target computing node to perform the corresponding computing task, since the target computing node may not be sensitive to the batch size, the 4 sample data can be spliced ​​to obtain target sample data arranged in a tightly packed manner, and the batch size of the target sample data is 1.

[0083] In this embodiment, the target computing node that supports the close arrangement calculation of the sample data can be determined from multiple computing nodes with reference to the data characteristics of the sample data. Then, if the number of target computing nodes is multiple, a computing subgraph can be generated based on the multiple target computing nodes. For example, the computing nodes are added to the computing subgraph one by one, and the computing nodes connected to it are searched on the computing subgraph, and it is determined whether the connected computing nodes support the close arrangement calculation (that is, whether they are the target computing nodes). If they support the close arrangement calculation, the connected computing nodes can be added to the computing subgraph, and so on, the computing subgraph is expanded until all the target computing nodes are searched out.

[0084] like Figure 4 As shown, Figure 4 It is a schematic diagram of a computing subgraph searched out in an embodiment of the present disclosure, and the computing subgraph includes: multiple target computing nodes, so as to support subsequent corresponding optimization processing for multiple sample data input into the target computing nodes.

[0085] S305: Input the target sample data into the target computing node to obtain a first intermediate computing result output by the target computing node.

[0086] After the target sample data is obtained by fusion processing on multiple sample data and the target computing node is determined from multiple computing nodes according to multiple data features corresponding to the sample data, the target sample data can be input into the target computing node to obtain the first intermediate computing result output by the target computing node.

[0087] In the model training process, after the sample data is input into the data processing model, the corresponding computing tasks are usually performed on the sample data based on the computing nodes to output multiple intermediate computing results corresponding to the sample data. After the sample data is input into the target computing node, the computing result output by the target computing node performing the corresponding computing task on the target sample data can be called the first intermediate computing result.

[0088] That is to say, in the embodiment of the present application, since the multiple computing nodes in the data processing model are divided in combination with the data characteristics of the sample data to determine the target computing node (since the target computing node is relatively insensitive to the data characteristics), the multiple sample data input to the target computing node can be subjected to corresponding fusion optimization processing to avoid introducing too much invalid data. For other computing nodes, the sample data may not be subjected to fusion processing to ensure the computational accuracy of the computing tasks of the data processing, thereby taking into account both the accuracy and efficiency of the data processing, and making the fusion process for the sample data compatible with the existing data processing logic.

[0089] like Figure 5 As shown, Figure 5 is a schematic diagram of the structure of the data processing model in the embodiment of the present disclosure. Figure 4 After the computing subgraph (the computing subgraph includes: a plurality of connected target computing nodes) is identified, the structure of the initial data processing model can be optimized accordingly.

[0090] For example, a data conversion node and a corresponding data restoration node may be added to the structure of the initial data processing model. Figure 5 The lod_trans node in ) supports converting multiple sample data from a standard arrangement structure to a compact arrangement structure. Data restoration nodes (such as Figure 5The re_lod_trans node in the processing module supports restoring the first intermediate calculation result obtained by processing the target sample data into multiple intermediate calculation sub-results, that is, restoring the compact arrangement structure into the standard arrangement structure, without any restriction.

[0091] For example, multiple sample data arranged in a standard arrangement manner can be input into the lod_trans node to obtain target sample data arranged in a tight arrangement structure output by the lod_trans node, and then the target sample data is input into the target computing node, so that the target computing node is used to perform corresponding calculations on the target sample data. The obtained intermediate calculation result can be called the first intermediate calculation result.

[0092] That is to say, the first intermediate calculation result is the calculation result obtained by the target computing node performing the calculation task on the target sample data.

[0093] Correspondingly, the following other computing nodes perform computing tasks on multiple sample data, and the obtained computing results corresponding to the multiple sample data respectively can be called multiple second intermediate computing results.

[0094] S306: Input the plurality of sample data into other computing nodes to obtain second intermediate computing results output by the other computing nodes, wherein the target computing node and the other computing nodes together constitute a plurality of computing nodes.

[0095] Among them, the initial data processing model includes multiple computing nodes, so after the target computing node is determined, the remaining computing nodes can be called other computing nodes. That is to say, compared with the target computing node, other computing nodes are more sensitive to the data characteristics of the sample data input thereto. Therefore, for the multiple sample data input to other computing nodes, corresponding data fusion processing is not performed to ensure the accuracy of data processing.

[0096] Among them, other computing nodes may be, for example, a convolutional layer (Convolutional Layer, Conv) and batch-normalization (batch-normalization).

[0097] In an embodiment of the present disclosure, after the target sample data is input into the target computing node to obtain the first intermediate computing result output by the target computing node, multiple sample data can be input into other computing nodes to obtain the second intermediate computing results output by the other computing nodes, and then trigger the execution of subsequent steps.

[0098] S307: Train an initial data processing model according to the first intermediate calculation result, the second intermediate calculation result, and multiple annotation information to obtain a target data processing model.

[0099] After inputting multiple sample data into other computing nodes to obtain the second intermediate computing results output by other computing nodes, the initial data processing model can be trained according to the first intermediate computing results, the second intermediate computing results, and multiple annotation information to obtain the target data processing model.

[0100] For example, the first intermediate calculation result and the second intermediate calculation result can be input into the initial data processing model to obtain the prediction information output by the initial data processing model. If the prediction information and the annotation information meet the convergence condition, it is determined that the data processing model meets the convergence timing, and the trained data processing model can be used as the target data processing model.

[0101] In some embodiments, a loss function can be pre-configured for an initial data processing model. During the training of the data processing model, multiple annotation information and prediction information are used as input parameters of the loss function, and the loss value output by the loss function is determined. The loss value is then combined to determine whether the data processing model meets the convergence timing. There is no restriction on this.

[0102] It should be noted that the initial data processing model in this embodiment is not a data processing model for a specific user, nor can it reflect the personal information of a specific user.

[0103] The data processing model to be trained obtained through this step contains the data processing logic for the sample data, but the construction of the data processing logic for the sample data is performed after the user's authorization, and its construction process complies with relevant laws and regulations.

[0104] In this embodiment, multiple sample data are obtained, the multiple sample data have corresponding multiple annotation information, and the multiple sample data are fused to obtain target sample data, and an initial data processing model is trained based on the multiple sample data, the target sample data, and the multiple annotation information to obtain a target data processing model. Since the initial data processing model is trained based on the target sample data obtained by the fusion processing, the amount of data processed by the data processing model can be reduced accordingly, thereby effectively avoiding the occupation of video memory by invalid data, effectively improving the training efficiency of the data processing model, and improving the data processing effect of the data processing model. By acquiring multiple data features corresponding to multiple sample data, and identifying a target computing node from multiple computing nodes based on the multiple data features, the target sample data is input into the target computing node to obtain a first intermediate computing result output by the target computing node, and the multiple sample data is input into other computing nodes to obtain a second intermediate computing result output by the other computing nodes, wherein the target computing node and the other computing nodes together constitute multiple computing nodes, and an initial data processing model is trained based on the first intermediate computing result, the second intermediate computing result, and multiple annotation information to obtain a target data processing model. Since the multiple computing nodes in the data processing model are divided in combination with the data features of the sample data to determine the target computing node (since the target computing node is relatively insensitive to the data features), corresponding fusion optimization processing can be performed on the multiple sample data input into the target computing node to avoid introducing too much invalid data, while for other computing nodes, the sample data may not be fused to ensure the calculation accuracy of the data processing calculation task, thereby taking into account both the accuracy and efficiency of data processing, and making the fusion process for the sample data compatible with the existing data processing logic.

[0105] Figure 6 It is a schematic diagram according to the third embodiment of the present disclosure.

[0106] like Figure 6 As shown, the training method of the data processing model includes:

[0107] S601: Acquire multiple data features corresponding to multiple sample data.

[0108] It should be noted that the sample data in this embodiment is not sample data for a specific user and cannot reflect the personal information of a specific user.

[0109] The sample data in this embodiment may come from a public data set, or the acquisition of the sample data is authorized by the user corresponding to the sample data.

[0110] For the description of S601, please refer to the above embodiment, which will not be repeated here.

[0111] S602: Determine multiple sensitivity values ​​corresponding to multiple computing nodes according to multiple data features.

[0112] The sensitivity value is used to describe the sensitivity of the computing node to the data characteristics of the sample data. The larger the sensitivity value, the more sensitive the computing node is to the data characteristics. Conversely, the smaller the sensitivity value, the less sensitive the computing node is to the data characteristics.

[0113] S603: The computing node corresponding to the sensitivity value less than the set threshold value is taken as the target computing node.

[0114] After determining the multiple sensitivity values ​​corresponding to the multiple computing nodes respectively according to the multiple data features, the computing nodes corresponding to the sensitivity values ​​less than the set threshold value can be used as target computing nodes.

[0115] The setting degree threshold may be pre-configured or adaptively adjusted based on the actual training scenario requirements of the data processing model, and there is no restriction on this.

[0116] In some embodiments, multiple sensitivity values ​​corresponding to multiple computing nodes may be determined, and the multiple sensitivity values ​​may be compared with a set threshold value. If the sensitivity value of a computing node is less than the set threshold value, the computing node may be used as a target computing node.

[0117] In the disclosed embodiment, multiple sensitivity values ​​corresponding to multiple computing nodes are determined based on multiple data features, and the computing nodes corresponding to the sensitivity values ​​less than the set threshold value are used as target computing nodes. Since the target computing nodes are determined by combining the sensitivity values ​​corresponding to the multiple computing nodes and the set threshold value, the target computing nodes can be identified more accurately and reasonably, thereby effectively avoiding the influence of the identification and calculation process of the target computing nodes on the processing logic of the data processing model, thereby ensuring the training of the data processing model and the data processing efficiency.

[0118] S604: Input the target sample data into the target computing node to obtain a first intermediate computing result output by the target computing node.

[0119] S605: Input a plurality of sample data into other computing nodes to obtain second intermediate computing results output by other computing nodes, wherein the target computing node and other computing nodes together constitute a plurality of computing nodes.

[0120] The description of S604-S605 can be specifically referred to the above embodiment, which will not be repeated here.

[0121] S606: Process the first intermediate calculation result according to the multiple data features to obtain multiple intermediate calculation sub-results corresponding to the multiple sample data.

[0122] Can be combined Figure 5 This embodiment is described in detail. Figure 5 As shown, the above Figure 5 The data restoration node shown in Figure 5 The re_lod_trans node in the processing module supports restoring the first intermediate calculation result obtained by processing the target sample data into multiple intermediate calculation sub-results, that is, ... using the re_lod_trans node to execute the step of processing the first intermediate calculation result according to multiple data features to obtain multiple intermediate calculation sub-results corresponding to multiple sample data.

[0123] The multiple calculation results obtained by restoring the first intermediate calculation result using the re_lod_trans node may be referred to as multiple intermediate calculation sub-results.

[0124] After the target sample data is input into the target computing node to obtain the first intermediate computing result output by the target computing node, the first intermediate computing result can be processed according to multiple data features to obtain multiple intermediate computing sub-results corresponding to multiple sample data, thereby effectively ensuring that the subsequent data processing logic can accurately identify and analyze the multiple intermediate computing sub-results, ensuring the continuity of the data processing tasks of the data processing model as a whole, and realizing seamless connection between the sample data fusion logic and the data processing logic.

[0125] For example, after obtaining the first intermediate calculation result output by the target calculation node, the first intermediate calculation result can be input into the re_lod_trans node to obtain a plurality of intermediate calculation sub-results output by the re_lod_trans node and arranged in a standard arrangement structure corresponding to the sample data.

[0126] S607: Input the plurality of intermediate calculation sub-results and the second intermediate calculation result into the output layer to obtain prediction information output by the output layer.

[0127] After processing the first intermediate calculation result according to multiple data features to obtain multiple intermediate calculation sub-results corresponding to multiple sample data respectively, the multiple intermediate calculation sub-results and the second intermediate calculation result can be input into the output layer to obtain prediction information output by the output layer.

[0128] Among them, the initial data processing model also includes: an output layer, which is used to process multiple intermediate calculation sub-results and second intermediate calculation results to obtain and output prediction information. The prediction information can be used to characterize the processing result information of the model for sample data. The prediction information can be used to compare with the above-mentioned annotation information to determine whether the processing performance of the data processing model meets the standards.

[0129] S608: If the loss value between the predicted information and the multiple labeled information meets the set conditions, the trained data processing model is used as the target data processing model.

[0130] For example, a loss function can be configured in advance for the data processing model. During the training of the data processing model, updated prediction information can be obtained by performing parameter updates. If the loss value between the prediction information and the labeled information is less than a loss threshold, it can be determined that the data processing model meets the convergence timing to obtain the target data processing model.

[0131] Of course, the setting condition may also be configured as any other possible condition, and there is no limitation to this.

[0132] Therefore, in this embodiment, since the data processing model is trained by combining multiple intermediate calculation sub-results, the second intermediate calculation result, prediction information, and annotation information, it is possible to effectively improve the data processing performance of the data processing model, effectively improve the training efficiency of the data processing model, and effectively improve the training effect of the data processing model. The data processing model trained using the embodiment of the present disclosure can be effectively adapted to application scenarios with high real-time requirements, and greatly enriches the scenarios for model training and use.

[0133] In this embodiment, by determining multiple sensitivity values ​​corresponding to multiple computing nodes according to multiple data features, the computing node corresponding to the sensitivity value less than the set threshold value is used as the target computing node. Since the target computing node is determined by combining the sensitivity values ​​corresponding to the multiple computing nodes and the set threshold value, the target computing node can be identified more accurately and reasonably, thereby effectively avoiding the influence of the identification calculation process of the target computing node on the processing logic of the data processing model, and ensuring the training and data processing efficiency of the data processing model. After the target sample data is input into the target computing node to obtain the first intermediate calculation result output by the target computing node, the first intermediate calculation result can be processed according to multiple data features to obtain multiple intermediate calculation sub-results corresponding to the multiple sample data, thereby effectively ensuring that the subsequent data processing logic can accurately identify and analyze the multiple intermediate calculation sub-results, ensuring the continuity of the data processing task of the data processing model as a whole, and realizing the seamless connection between the sample data fusion logic and the data processing logic. Since the data processing model is trained by combining multiple intermediate calculation sub-results, the second intermediate calculation result, prediction information, and annotation information, it is possible to effectively improve the data processing performance of the data processing model, effectively improve the training efficiency of the data processing model, and effectively improve the training effect of the data processing model. The data processing model trained using the embodiment of the present disclosure can be effectively adapted to application scenarios with high real-time requirements, and greatly enriches the scenarios for model training and use.

[0134] Figure 7 is a schematic diagram according to a fourth embodiment of the present disclosure.

[0135] In this embodiment, the execution subject of the data processing method can obtain the data to be processed in various public, legal and compliant ways, for example, it can be obtained from a public data set, or obtained from a user with the user's authorization. The data to be processed does not reflect the personal information of a specific user.

[0136] It should be noted that the data to be processed in the embodiments of the present disclosure are all obtained in compliance with relevant laws and regulations.

[0137] like Figure 7 As shown, the data processing method includes:

[0138] S701: Obtain data to be processed.

[0139] The data currently to be processed may be referred to as data to be processed.

[0140] The data to be processed may be, for example, voice data or image data.

[0141] The number of the data to be processed may be one or more, and there is no limitation on this.

[0142] It should be noted that the data to be processed in the embodiments of the present disclosure are all obtained in compliance with relevant laws and regulations.

[0143] S702: Input the data to be processed into the target data processing model trained by the data processing model training method as described above, so as to obtain the target information output by the target data processing model.

[0144] After obtaining the data to be processed, the data to be processed can be input into the target data processing model trained by the training method of the data processing model as described above to obtain the data processing result output by the target data processing model.

[0145] Since the target data processing model is obtained by training the initial data processing model based on the target sample data obtained by fusion processing, the target data processing model has the processing logic for fusing the input data to be processed, thereby reducing the amount of data processed by the data processing model accordingly.

[0146] The processing logic of the target data processing model for fusing the input data to be processed can be specifically referred to the above embodiment, which will not be described in detail here.

[0147] In this embodiment, by acquiring the data to be processed and inputting the data to be processed into the target data processing model trained by the training method of the data processing model as described above, so as to obtain the data processing result output by the target data processing model, the amount of data processed by the data processing model can be reduced accordingly, thereby effectively avoiding the occupation of video memory by invalid data, and effectively improving the data processing efficiency and data processing effect of the data processing model.

[0148] Figure 8 is a schematic diagram according to a fifth embodiment of the present disclosure.

[0149] like Figure 8 As shown, the training device 80 of the data processing model includes:

[0150] A first acquisition module 801 is used to acquire a plurality of sample data, each of which has a corresponding plurality of annotation information;

[0151] A fusion module 802 is used to perform fusion processing on multiple sample data to obtain target sample data;

[0152] The training module 803 is used to train an initial data processing model according to a plurality of sample data, target sample data, and a plurality of annotation information to obtain a target data processing model.

[0153] In some embodiments of the present disclosure, Fig. 9 As shown, Fig. 9 is a schematic diagram according to the sixth embodiment of the present disclosure, the training device 90 of the data processing model includes: a first acquisition module 901, a fusion module 902, and a training module 903, wherein the training module 903 includes:

[0154] An acquisition submodule 9031 is used to acquire a plurality of data features corresponding to a plurality of sample data respectively;

[0155] An identification submodule 9032, configured to identify a target computing node from among multiple computing nodes according to multiple data features;

[0156] The first input submodule 9033 is used to input the target sample data into the target computing node to obtain a first intermediate computing result output by the target computing node;

[0157] A second input submodule 9034 is used to input a plurality of sample data into other computing nodes to obtain a second intermediate computing result output by the other computing nodes, wherein the target computing node and the other computing nodes together constitute a plurality of computing nodes; and

[0158] The training submodule 9035 is used to train the initial data processing model according to the first intermediate calculation result, the second intermediate calculation result, and multiple annotation information to obtain a target data processing model.

[0159] In some embodiments of the present disclosure, the training module 903 further includes:

[0160] The processing submodule 9036 is used to process the first intermediate calculation result according to multiple data features to obtain multiple intermediate calculation sub-results corresponding to multiple sample data respectively.

[0161] In some embodiments of the present disclosure, the initial data processing model further includes: an output layer, wherein the training submodule 9035 is specifically used to:

[0162] Inputting the plurality of intermediate calculation sub-results and the second intermediate calculation result into the output layer to obtain prediction information output by the output layer;

[0163] If the loss value between the predicted information and multiple labeled information meets the set conditions, the trained data processing model will be used as the target data processing model.

[0164] In some embodiments of the present disclosure, the identification submodule 9032 is specifically used to:

[0165] Determine, according to the plurality of data features, a plurality of sensitivity values ​​corresponding to the plurality of computing nodes respectively;

[0166] The computing node corresponding to the sensitivity value less than the set threshold is taken as the target computing node.

[0167] In some embodiments of the present disclosure, the fusion module 902 is specifically used to:

[0168] Multiple sample data are concatenated head to tail, and the sample data obtained by the concatenation is used as the target sample data.

[0169] It is understandable that the present embodiment Fig. 9 The training device 90 of the data processing model in the above embodiment may have the same function and structure as the training device 80 of the data processing model in the above embodiment, the first acquisition module 901 may have the same function and structure as the first acquisition module 801 in the above embodiment, the fusion module 902 may have the same function and structure as the fusion module 802 in the above embodiment, and the training module 903 may have the same function and structure as the training module 803 in the above embodiment.

[0170] It should be noted that the aforementioned explanation of the data processing model training method is also applicable to the data processing model training device of this embodiment.

[0171] In this embodiment, multiple sample data are obtained, the multiple sample data have corresponding multiple annotation information, and the multiple sample data are fused to obtain target sample data, and an initial data processing model is trained based on the multiple sample data, the target sample data, and the multiple annotation information to obtain a target data processing model. Since the initial data processing model is trained based on the target sample data obtained by the fusion processing, the amount of data processed by the data processing model can be reduced accordingly, thereby effectively avoiding the occupation of video memory by invalid data, effectively improving the training efficiency of the data processing model, and improving the data processing effect of the data processing model.

[0172] Fig.10 is a schematic diagram according to a seventh embodiment of the present disclosure.

[0173] like Fig.10 As shown, the data processing device 100 includes:

[0174] The second acquisition module 1001 is used to acquire data to be processed;

[0175] The processing module 1002 is used to input the data to be processed into the target data processing model trained by the training device of the data processing model as mentioned above, so as to obtain the target information output by the target data processing model.

[0176] In this embodiment, by acquiring the data to be processed and inputting the data to be processed into the target data processing model trained by the training method of the data processing model as described above, so as to obtain the data processing result output by the target data processing model, the amount of data processed by the data processing model can be reduced accordingly, thereby effectively avoiding the occupation of video memory by invalid data, and effectively improving the data processing efficiency and data processing effect of the data processing model.

[0177] It should be noted that the aforementioned explanation of the data processing method is also applicable to the data processing device of this embodiment and will not be repeated here.

[0178] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0179] Fig.11 A schematic block diagram of an example electronic device of a training method for a data processing model that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0180] like Fig.11 As shown, the device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from the storage unit 1101 to a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0181] A number of components in the device 1100 are connected to the I / O interface 1105, including: an input unit 1106, such as a keyboard, a mouse, etc.; an output unit 1107, such as various types of displays, speakers, etc.; a storage unit 1108, such as a disk, an optical disk, etc.; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the device 1100 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0182] The computing unit 1101 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above, such as a training method for a data processing model, or a data processing method. For example, in some embodiments, a training method for a data processing model, or a data processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1100 via ROM 1102 and / or a communication unit 1109. When the computer program is loaded into RAM 1103 and executed by the computing unit 1101, the training method for the data processing model described above, or one or more steps of the data processing method may be executed. Alternatively, in other embodiments, the computing unit 1101 may be configured to execute a training method for a data processing model, or a data processing method, in any other appropriate manner (eg, by means of firmware).

[0183] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0184] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0185] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0186] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0187] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0188] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0189] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0190] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A training method for a data processing model, include: Acquire multiple frames of video, and use the multiple frames of video as multiple sample data respectively, wherein the multiple sample data have corresponding multiple annotation information; Performing fusion processing on the multiple sample data to obtain target sample data; Acquire a plurality of data features corresponding to the plurality of sample data; Determining, according to the plurality of data features, a plurality of sensitivity values ​​corresponding to a plurality of computing nodes included in the initial data processing model; Taking the computing node corresponding to the sensitivity value less than the set threshold as the target computing node; Inputting the target sample data into the target computing node to obtain a first intermediate computing result output by the target computing node; Inputting the plurality of sample data into other computing nodes to obtain second intermediate computing results output by the other computing nodes, wherein the target computing node and the other computing nodes together constitute the plurality of computing nodes; Processing the first intermediate calculation result according to the multiple data features to obtain multiple intermediate calculation sub-results corresponding to the multiple sample data; and The initial data processing model is trained according to the multiple intermediate calculation sub-results, the second intermediate calculation result, and the multiple annotation information to obtain a target data processing model.

2. The method according to claim 1, wherein the initial data processing model further comprises: include: The output layer, wherein the initial data processing model is trained according to the multiple intermediate calculation sub-results, the second intermediate calculation result, and the multiple annotation information to obtain a target data processing model, including: Inputting the plurality of intermediate calculation sub-results and the second intermediate calculation result into the output layer to obtain prediction information output by the output layer; If the loss value between the prediction information and the multiple annotation information meets the set conditions, the trained data processing model is used as the target data processing model.

3. The method according to any one of claims 1 to 2, in, The fusing the plurality of sample data to obtain target sample data includes: The multiple sample data are concatenated head to tail, and the sample data obtained by the concatenation is used as the target sample data.

4. A data processing method, include: Acquire multiple frames of video, and use the multiple frames of video as data to be processed; The data to be processed is input into a target data processing model trained by the data processing model training method as described in any one of claims 1 to 3 above, so as to obtain target information output by the target data processing model.

5. A training device for a data processing model, include: A first acquisition module is used to acquire multiple frames of video and respectively use the multiple frames of video as multiple sample data, wherein the multiple sample data have corresponding multiple annotation information; A fusion module, used for fusing the plurality of sample data to obtain target sample data; A training module, used for training an initial data processing model according to the plurality of sample data, the target sample data, and the plurality of annotation information to obtain a target data processing model; Wherein, the training module includes: An acquisition submodule, used for acquiring a plurality of data features corresponding to the plurality of sample data; an identification submodule, configured to identify a target computing node from among a plurality of computing nodes included in the initial data processing model according to the plurality of data features; A first input submodule, used for inputting the target sample data into the target computing node to obtain a first intermediate computing result output by the target computing node; A second input submodule, used for inputting the plurality of sample data into other computing nodes to obtain second intermediate computing results output by the other computing nodes, wherein the target computing node and the other computing nodes together constitute the plurality of computing nodes; a processing submodule, configured to process the first intermediate calculation result according to the plurality of data features to obtain a plurality of intermediate calculation sub-results corresponding to the plurality of sample data; and A training submodule, configured to train the initial data processing model according to the plurality of intermediate calculation sub-results, the second intermediate calculation result, and the plurality of annotation information to obtain the target data processing model; The identification submodule is specifically used for: Determining, according to the plurality of data features, a plurality of sensitivity values ​​corresponding to the plurality of computing nodes; The computing node corresponding to the sensitivity value less than the set sensitivity threshold is used as the target computing node.

6. The device according to claim 5, wherein the initial data processing model further comprises: include: Output layer, wherein the training submodule is specifically used for: Inputting the plurality of intermediate calculation sub-results and the second intermediate calculation result into the output layer to obtain prediction information output by the output layer; If the loss value between the prediction information and the multiple annotation information meets the set conditions, the trained data processing model is used as the target data processing model.

7. The device according to any one of claims 5 to 6, in, The fusion module is specifically used for: The multiple sample data are concatenated head to tail, and the sample data obtained by the concatenation is used as the target sample data.

8. A data processing device, include: A second acquisition module is used to acquire multiple frames of video and use the multiple frames of video as data to be processed; A processing module is used to input the data to be processed into a target data processing model trained by a data processing model training device as described in any one of claims 5 to 7 above, so as to obtain target information output by the target data processing model.

9. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method of any one of claims 1 to 3, or execute the method of claim 4.

10. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 3, or to execute the method according to claim 4.

11. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 4, or implements the steps of the method according to claim 5.

Citation Information

Patent Citations

  • Model training method and device, computer equipment and storage medium

    CN111210024A

  • Model training method device, equipment and storage medium

    CN111428008A

  • Method, device and equipment for achieving automatic machine learning and storage medium

    CN111611239A

  • Training method of neural network model and related products

    CN111723932A

  • Method and system for training graph neural network model based on graph computing system

    CN112070216A