Model and algorithm development management method and system, electronic device and storage medium
By forming a closed loop of data processing in model and algorithm development, the problems of underutilization of data and lack of control over release quality are solved, and efficient iterative updates and quality control of models and algorithms are achieved.
Patent Information
- Application Number
- CN202410885298.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-07-03
AI Technical Summary
When models and algorithms in the existing technology are developed or updated and optimized, the data processing process does not form a complete closed loop, resulting in insufficient data mining and utilization, high storage costs, and a lack of effective control over the release quality of models and algorithms.
By determining the model and algorithm data sets, perform data annotation, review and segmentation processing, generate initial training models and algorithms, and judge the accuracy of the models and algorithms based on preset conditions, forming the entire process from the initial reflow data to the target model and target algorithm. Closed loop to achieve quality control over the release of models and algorithms.
It achieves the satisfaction of iterative update standards for models and algorithms, reduces storage costs, ensures the quality of model and algorithm release, and forms a full-process closed loop, allowing precise management and control of development circulation nodes.
Smart Images

Figure CN118409743B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of machine learning technology, and in particular to a model and algorithm development management method and system, electronic equipment and storage medium. Background Art
[0002] With the rapid development of artificial intelligence technology, models and algorithms based on machine learning and deep learning have been widely used in various industry scenarios. In order to meet different application scenarios and maintain the industry competitiveness of models and algorithms, models and algorithms need to be continuously developed and updated and optimized.
[0003] However, the inventors of the present invention have discovered that, during the development or update and optimization of current models and algorithms, the data processing process does not form a complete closed loop, resulting in insufficient mining and utilization of effective data, high storage costs, and a lack of effective control over the quality of model and algorithm releases. Summary of the invention
[0004] The present invention provides a model and algorithm development management method and system, electronic device and storage medium, which are used to solve the problems existing in the prior art of insufficient mining and utilization of effective data, high storage costs and lack of effective management and control of the release quality of models and algorithms.
[0005] According to one aspect of the present invention, the present invention provides a development management method for models and algorithms. The development management method includes: determining a model data set and an algorithm data set according to target processing data; obtaining model training annotation data, model verification annotation data and model test annotation data according to the model data set; obtaining algorithm test annotation data according to the algorithm data set; performing model training based on the model training annotation data and the model verification annotation data to obtain an initial training model; generating a target model when the initial training model is judged to meet a first preset condition based on the model test annotation data; generating an initial algorithm based on the target model; generating a target algorithm when the initial algorithm is judged to meet a second preset condition based on the algorithm test annotation data.
[0006] According to some embodiments of the present invention, obtaining model training annotation data, model verification annotation data and model test annotation data based on a model data set includes: annotating the model data set based on a first preset annotation rule to obtain model annotation data; reviewing the model annotation data to determine whether the model annotation data meets a first preset review condition; and segmenting the model annotation data that meets the first preset review condition to obtain model training annotation data, model verification annotation data and model test annotation data.
[0007] According to some embodiments of the present invention, obtaining algorithm test annotation data based on an algorithm data set includes: annotating the algorithm data set based on a second preset annotation rule to obtain algorithm annotation data; reviewing the algorithm annotation data to determine whether the algorithm annotation data meets a second preset review condition; and determining the algorithm annotation data that meets the second preset review condition as the algorithm test annotation data.
[0008] According to some embodiments of the present invention, model training is performed based on model training annotated data and model verification annotated data to obtain an initial training model, including: adding the model training annotated data to the model historical training data to obtain first training data; adding the model verification annotated data to the model historical verification data to obtain second training data; performing model training based on the first training data and the second training data until the training model is in a converged state to obtain an initial training model.
[0009] According to some embodiments of the present invention, when it is determined based on model test annotation data that the initial training model meets a first preset condition, generating a target model includes: adding the model test annotation data to the model historical test data to obtain third test data; based on the third test data, determining the model accuracy difference between the initial training model and the historical training model version; when the model accuracy difference meets the first preset condition, determining the initial training model as the target model.
[0010] According to some embodiments of the present invention, when it is determined based on the algorithm test annotation data that the initial algorithm meets the second preset condition, generating the target algorithm includes: adding the algorithm test annotation data to the algorithm historical test data to obtain fourth test data; judging the algorithm accuracy difference between the initial algorithm and the historical test algorithm version based on the fourth test data; and when the algorithm accuracy difference meets the second preset condition, determining the initial algorithm as the target algorithm.
[0011] According to some embodiments of the present invention, before determining the model data set and the algorithm data set according to the target processing data, the development management method also includes: performing information supplement processing, data frame extraction processing, data deduplication processing and data preliminary screening processing on the initial reflow data in sequence to obtain the target processing data.
[0012] According to another aspect of the present invention, a model and algorithm development management system is provided, and the development management system includes a data processing module, a model training module, and an algorithm development evaluation module. The data processing module determines the model data set and the algorithm data set according to the target processing data, and obtains the model training annotation data, the model verification annotation data, and the model test annotation data according to the model data set, and obtains the algorithm test annotation data according to the algorithm data set; the model training module performs model training based on the model training annotation data and the model verification annotation data to obtain an initial training model, and generates a target model when the initial training model is judged to meet the first preset condition based on the model test annotation data; the algorithm development evaluation module generates an initial algorithm according to the target model, and generates a target algorithm when the initial algorithm is judged to meet the second preset condition based on the algorithm test annotation data.
[0013] According to another aspect of the present invention, an electronic device is provided, which includes: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors can implement the development management method described above.
[0014] According to another aspect of the present invention, a non-volatile computer-readable storage medium is provided, wherein a computer program is stored on the storage medium, and the computer program can implement the development management method described above.
[0015] The present invention determines the model data set and the algorithm data set respectively through the target processing data, and obtains the model training annotation data, the model verification annotation data and the model test annotation data by performing data processing on the model data set. The model training annotation data and the model verification annotation data are used for training the initial training model, and the model test annotation data is used for judging the accuracy of the initial training model. The target model that meets the model iteration update standard can be obtained, so that the release quality of the target model can be controlled.
[0016] The present invention also obtains algorithm annotation data by processing the algorithm data set. The algorithm annotation data is used to judge the accuracy of the initial algorithm, and a target algorithm that meets the algorithm iteration update standard can be obtained, thereby achieving control over the release quality of the target algorithm.
[0017] The present invention can form a full-process closed loop from initial reflux data-target model development-target algorithm development. Corresponding process processing personnel can be set in each processing link, and the flow nodes of target model development and target algorithm development can be accurately managed and controlled. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 A flow chart showing a development management method according to an embodiment of the present invention;
[0020] Figure 2 Another flow chart showing the development management method according to an embodiment of the present invention;
[0021] Figure 3 Another flow chart showing the development management method according to an embodiment of the present invention;
[0022] Figure 4 Another flow chart showing the development management method according to an embodiment of the present invention;
[0023] Figure 5 Another flow chart showing the development management method according to an embodiment of the present invention;
[0024] Figure 6 Another flow chart showing the development management method according to an embodiment of the present invention;
[0025] Figure 7 A schematic diagram showing the structure of a development management system according to an embodiment of the present invention is shown.
[0026] Description of reference numerals:
[0027] Development management system 1; data processing module 10; model training module 20; algorithm development evaluation module 30. DETAILED DESCRIPTION
[0028] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that the present invention will be comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0029] The described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of these specific details, or other modes, components, materials, devices, etc. may be adopted. In these cases, known structures, methods, devices, implementations, materials or operations will not be shown or described in detail.
[0030] In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0031] The terms "first", "second" and the like in the specification, claims and the above drawings of the present invention are used to distinguish different objects rather than to describe a specific order.
[0032] The following is a clear and complete description of the technical solution of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0033] According to one aspect of the present invention, the present invention provides a development management method for models and algorithms. Figure 1 As shown, the development management method includes steps S100-S700. According to an example embodiment, the development management method may be executed by a development management system for models and algorithms.
[0034] In step S100, the development management system determines a model data set and an algorithm data set according to target processing data.
[0035] For example, the target processing data is high-quality data obtained by developing a management system to process the initial return data in response to the operating instructions of the data processing personnel.
[0036] Exemplarily, the types of initial return data include but are not limited to project data, self-collected data, and public data, etc. And the form of initial return data includes but is not limited to image data, video data, voice data, text data, or structured data, etc., which is not limited in the present invention.
[0037] According to the example embodiment, the development management system responds to the operation instructions of the algorithm processing personnel to determine the associated model and associated algorithm corresponding to the target processing data. After careful screening of the target processing data, the corresponding model data set and algorithm data set can be obtained.
[0038] For example, according to the data content included in the target processing data, the development management system selects the corresponding associated model and algorithm. For example, if the target processing data includes content such as a safety helmet, a safety belt, and a safety rope, the development management system correspondingly associates the models and algorithms of the safety helmet, the safety belt, and the safety rope.
[0039] Optionally, the model dataset and the algorithm dataset are saved in a .csv or .txt file in the form of a file path list. The development management system also responds to the operation instruction of the data processing personnel and deletes the target processing data after generating the model dataset and the algorithm dataset to save local storage space.
[0040] Optionally, before step S100, the development management method may further include: the development management system sequentially performs information supplementation processing, data frame extraction processing, data deduplication processing and data preliminary screening processing on the initial reflow data to obtain target processed data.
[0041] For example, the development management system responds to the operation instructions of the data processing personnel and performs data information supplement processing on the initial return data. The supplemented data information includes but is not limited to data name information, data batch information, acquisition scene information, data format information, camera angle information, target object information and data volume information.
[0042] The development management system also responds to the operating instructions of the data processing personnel to perform data deduplication and data screening on the initial return data after the information supplement processing is completed.
[0043] For example, taking image data as an example, the development management system performs frame extraction, deduplication and preliminary screening on the image data after the information supplementation processing is completed. The frame extraction frequency can be N frames per second, where N is a positive integer greater than 0. The value of N can be customized according to user needs, such as N can be 5.
[0044] The development management system deduplicates the image data obtained after frame extraction based on structural similarity, and selects high-quality image data based on the image classification algorithm.
[0045] High-quality image data refers to image data that meets the user's data analysis needs. For example, high-quality image data can be non-blurred or non-occluded image data, which can provide data modeling support based on the iteration of blurry or occluded image classification models.
[0046] The development management system also responds to the operating instructions of the data processing personnel, stores the high-quality image data in the data server and database table, and deletes the initial return data to save local storage space.
[0047] The development management system also responds to the operation instructions of the data processing personnel to retrieve and preview the high-quality image data to determine whether the current high-quality image data is valid data. If the current high-quality image data is invalid data, the development management system ends the training of the current model and algorithm. If the current high-quality image data is valid data, the development management system determines the current high-quality image data as the target processing data.
[0048] Through the above embodiments, the present invention can obtain high-quality data that meets the user's data analysis needs by processing the initial reflow data, which can improve the accuracy of data analysis. After determining the target processing data, the data other than the target processing data is deleted, which can effectively save local storage space.
[0049] In step S200, the development management system obtains model training annotation data, model verification annotation data and model test annotation data according to the model data set.
[0050] In step S300, the development management system obtains algorithm test annotation data according to the algorithm data set.
[0051] According to an example embodiment, the development management system responds to the operation instruction of the data annotator to perform an annotation process on the model data set to obtain the model training annotated data, the model verification annotated data and the model test annotated data. And the development management system responds to the operation instruction of the data annotator to perform an annotation process on the algorithm data set to obtain the algorithm test annotated data.
[0052] Alternatively, if Figure 2 As shown, step S200 may include steps S210 to S230.
[0053] In step S210, the development management system performs annotation processing on the model data set based on a first preset annotation rule to obtain model annotation data.
[0054] For example, the development management system transfers the annotation process submitted by the algorithm processing personnel based on the first preset annotation rule to the data annotation personnel. The development management system responds to the operation instruction of the data annotation personnel and annotates the model data set according to the first preset annotation rule to obtain model annotated data.
[0055] The first preset annotation rule is a preset annotation rule used to perform annotation processing on the model data set. The first preset annotation rule can be customized according to user needs.
[0056] For example, taking the labeling rules of non-motor vehicles as an example, the labeling tags of non-motor vehicles include: electric vehicle; bicycle; tricycle; Unknown.
[0057] The labeling rules can be:
[0058] 1. The four sides of the target annotation box completely fit the annotation target.
[0059] 2. One target annotation box corresponds to one annotation target.
[0060] 3. The label of the labeled target with poor quality, severe blur, overexposure, dark light, or dark backlight is unknown.
[0061] 4. The label of the labeled target with an occlusion ratio exceeding 2 / 3 is unknown. The occlusion ratio is the ratio of the occluded area of the labeled target to the actual area of the labeled target based on the viewing angle of the labeled target.
[0062] 5. The label of the labeled target whose length and width of the target annotation box are both less than 30 pixels is unknown.
[0063] In step S220, the development management system reviews the model annotation data to determine whether the model annotation data meets the first preset review condition.
[0064] For example, the development management system responds to the operation instruction of the algorithm processing personnel and performs a visual review of the model annotation data according to the annotation tool to determine whether the model annotation data meets the first preset review condition.
[0065] The first preset review condition is a preset review condition for reviewing the model annotation data to determine whether the annotation quality of the model annotation data meets the annotation requirements of the user. The first preset review condition can be customized according to the user's requirements.
[0066] In step S230, the development and management system performs segmentation processing on the model annotation data that meets the first preset review condition to obtain model training annotation data, model verification annotation data and model test annotation data.
[0067] For example, when it is determined that the labeling quality of the model labeling data is poor and does not meet the first preset review condition, the development management system responds to the operation instruction of the data labeler to modify and adjust the model labeling data that does not meet the first preset review condition. When it is determined that the model labeling data meets the first preset review condition, the development management system responds to the operation instruction of the data labeler to segment the model labeling data to obtain model training labeling data, model verification labeling data, and model test labeling data.
[0068] For example, the development management system responds to the operation instructions of the data labeler and can segment train (training data), val (verification data) and test (test data) based on camid (camera unique identifier) to obtain model training labeled data, model verification labeled data and model test labeled data. This ensures that the camids of train, val and test are non-overlapping.
[0069] For another example, the development management system responds to the operation instructions of the data labeler and can divide the train, val and test based on time to obtain the model training label data, model verification label data and model test label data. This ensures that the time between train, val and test does not overlap, and can make the generalization ability of the training model stronger, and can better verify the real effect of the model.
[0070] Through the above embodiments, the present invention can accurately obtain model training labeled data, model verification labeled data and model test labeled data that meet user data analysis needs by labeling, reviewing and segmenting the model data set.
[0071] Alternatively, if Figure 3 As shown, step S300 may include steps S310 to S330.
[0072] In step S310, the development management system performs annotation processing on the algorithm data set based on the second preset annotation rule to obtain algorithm annotation data.
[0073] For example, the development management system transfers the annotation process submitted by the algorithm processing personnel based on the second preset annotation rule to the data annotation personnel. The development management system responds to the operation instruction of the data annotation personnel and annotates the algorithm data set according to the second preset annotation rule to obtain algorithm annotated data.
[0074] The second preset annotation rule is a preset annotation rule for annotating the algorithm data set. The second preset annotation rule can be customized according to user needs.
[0075] In step S320, the development management system reviews the algorithm annotation data to determine whether the algorithm annotation data meets the second preset review condition.
[0076] For example, the development management system responds to the operation instructions of the algorithm processing personnel and performs a visual review of the algorithm annotation data according to the annotation tool to determine whether the algorithm annotation data meets the second preset review condition, so that the annotation quality of the algorithm annotation data meets the user's annotation requirements.
[0077] The second preset review condition is a preset review condition for reviewing the algorithm-annotated data to determine whether the annotation quality of the algorithm-annotated data meets the user's annotation requirements. The second preset review condition can be customized according to user requirements.
[0078] In step S330, the development management system determines the algorithm annotation data that meets the second preset review condition as the algorithm test annotation data.
[0079] For example, when it is determined that the annotation quality of the algorithm annotation data is poor and does not meet the second preset review condition, the development management system responds to the operation instruction of the data annotation personnel to modify and adjust the algorithm annotation data that does not meet the second preset review condition. When it is determined that the algorithm annotation data meets the second preset review condition, the development management system responds to the operation instruction of the data annotation personnel to determine the algorithm annotation data as algorithm test annotation data.
[0080] According to an example embodiment, the development management system also stores model training annotation data, model verification annotation data, model test annotation data, and algorithm test annotation data to the data server and database table.
[0081] Through the above embodiments, the present invention can accurately obtain algorithm test annotation data that meets the user's data analysis needs by annotating and reviewing the algorithm data set.
[0082] In step S400, the development management system performs model training based on the model training annotation data and the model verification annotation data to obtain an initial training model.
[0083] For example, the development management system responds to the operation instructions of the algorithm processing personnel, and performs model training according to the model training labeled data and the model verification labeled data to obtain the initial training model.
[0084] Alternatively, if Figure 4 As shown, step S400 may include steps S410 to S430.
[0085] In step S410, the development management system adds the model training annotation data to the model historical training data to obtain the first training data.
[0086] In step S420, the development management system adds the model verification annotation data to the model historical verification data to obtain second training data.
[0087] In step S430, the development management system performs model training based on the first training data and the second training data until the training model is in a converged state, thereby obtaining an initial training model.
[0088] For example, the development management system responds to the operation instructions of the algorithm processing personnel, adds model training annotation data to the model historical training data, and adds model verification annotation data to the model historical verification data, and performs model training based on the obtained data until the model reaches a convergence state to obtain an initial training model. Exemplarily, the initial training model is in a pre-release state.
[0089] Through the above embodiments, the present invention combines model training annotation data, model verification annotation data with model historical training data and model historical verification data for data modeling, and can accurately generate an initial training model that meets user data analysis needs.
[0090] In step S500, the development management system generates a target model when it determines that the initial training model meets the first preset condition based on the model test annotation data.
[0091] For example, the development management system responds to the operation instruction of the model tester and determines whether the initial training model meets the first preset condition based on the model test annotation data. If it is determined that the initial training model meets the first preset condition, the development management system determines the initial training model as the target model. If it is determined that the initial training model does not meet the first preset condition, the development management system deletes the initial training model and ends the development process of the current model and algorithm.
[0092] Alternatively, if Figure 5 As shown, step S500 may also include steps S510 to S530.
[0093] In step S510, the development management system adds the model test annotation data to the model historical test data to obtain third test data.
[0094] In step S520, the development management system determines the model accuracy difference between the initial training model and the historical training model version based on the third test data.
[0095] In step S530, the development management system determines the initial training model as the target model when the model accuracy difference meets the first preset condition.
[0096] For example, the development management system responds to the operation instructions of the model tester and adds the model test annotation data to the model historical test data. The development management system compares the model accuracy of the initial training model version and the previous version of the historical training model under the third test data, and calculates the model accuracy difference L, where the value range of L is 1%≤L≤100%.
[0097] The first preset condition can be customized according to user needs. The first preset condition can be that the model accuracy difference L between the initial training model and the historical training model version is greater than a first preset value, for example, the first preset value can be 1%.
[0098] The model accuracy difference refers to the statistical accuracy difference of all test data of the model. If there is a preset proportion of test data with accuracy differences that meets the first preset condition, it is determined that the model accuracy difference meets the first preset condition.
[0099] For example, when it is determined that the model accuracy difference L is 2%, the development management system determines that the initial training model meets the iterative update standard of model training, and the development management system determines the initial training model as the target model. Alternatively, when it is determined that the model accuracy difference L is 0.5%, the development management system determines that the initial training model does not meet the iterative update standard of model training, and the development management system deletes the initial training model and ends the current model and algorithm development process.
[0100] Through the above embodiments, the present invention can screen out training models that meet the version iteration update standard by judging the model accuracy difference between the initial training model version and the historical training model version. In this way, the release quality of the generated target model can be controlled.
[0101] In step S600, the development management system generates an initial algorithm according to the target model.
[0102] For example, the development management system responds to the operation instructions of the algorithm processing personnel, completes the algorithm logic development based on the target model, and obtains the initial algorithm.
[0103] Exemplarily, the initial algorithm is in a pre-release state.
[0104] In step S700, the development management system generates a target algorithm when it is determined that the initial algorithm meets the second preset condition based on the algorithm test annotation data.
[0105] For example, the development management system responds to the operation instruction of the algorithm tester and determines whether the initial algorithm meets the second preset condition based on the algorithm test annotation data. If it is determined that the initial algorithm meets the second preset condition, the development management system determines the initial algorithm as the target algorithm. If it is determined that the initial algorithm does not meet the second preset condition, the development management system deletes the initial algorithm and ends the development process of the current model and algorithm.
[0106] Alternatively, if Figure 6 As shown, step S700 may also include steps S710 to S730.
[0107] In step S710, the development management system adds the algorithm test annotation data to the algorithm historical test data to obtain fourth test data.
[0108] In step S720, the development management system determines the difference in algorithm accuracy between the initial algorithm and the historical test algorithm version based on the fourth test data.
[0109] In step S730, the development management system determines the initial algorithm as the target algorithm when the algorithm accuracy difference meets the second preset condition.
[0110] For example, the development management system responds to the operation instructions of the algorithm tester and adds the algorithm test annotation data to the algorithm historical test data. The development management system compares the algorithm accuracy of the initial algorithm version with the previous version of the historical test algorithm under the fourth test data, and calculates the algorithm accuracy difference M, where the value range of M is 1%≤M≤100%.
[0111] The second preset condition can be set according to user needs. The second preset condition can be that the algorithm accuracy difference M between the initial algorithm and the historical test algorithm version is greater than a second preset value, such as 1%.
[0112] Optionally, the algorithm precision difference refers to the statistical precision difference of all test data of the algorithm. If there is a preset proportion of test data with precision differences that meets the second preset condition, it is determined that the algorithm precision difference meets the second preset condition.
[0113] Optionally, the development management system determines the algorithm accuracy of the initial algorithm version and the previous version of the historical test algorithm under the fourth test data based on the whole-graph evaluation method. This arrangement can avoid the problem of writing a separate effect evaluation script for each algorithm, and the whole-graph evaluation method is more universal.
[0114] For example, if the algorithm accuracy difference M is determined to be 2%, the development management system determines that the initial algorithm meets the iterative update standard of algorithm training, and the development management system determines the initial algorithm as the target algorithm, and the target algorithm is in the formal release state. Alternatively, if the algorithm accuracy difference M is determined to be 0.5%, the development management system determines that the initial algorithm does not meet the iterative update standard of algorithm training, and the development management system deletes the initial algorithm and ends the development process of the current model and algorithm.
[0115] Through the above embodiments, the present invention can screen out algorithms that meet the version iteration update standard by judging the algorithm accuracy difference between the initial algorithm version and the historical training algorithm version. In this way, the release quality of the generated target algorithm can be controlled.
[0116] The present invention determines the model data set and the algorithm data set respectively through the target processing data, and obtains the model training annotation data, the model verification annotation data and the model test annotation data by performing data processing on the model data set. The model training annotation data and the model verification annotation data are used for training the initial training model, and the model test annotation data is used for judging the accuracy of the initial training model. The target model that meets the model iteration update standard can be obtained, so that the release quality of the target model can be controlled.
[0117] And the present invention obtains algorithm annotation data by processing the algorithm data set, and the algorithm annotation data is used to judge the accuracy of the initial algorithm, so as to obtain a target algorithm that meets the algorithm iteration update standard, thereby realizing the control of the release quality of the target algorithm.
[0118] The present invention can form a full-process closed loop from initial reflux data-target model development-target algorithm development. Corresponding process processing personnel can be set in each processing link, and the flow nodes of target model development and target algorithm development can be accurately managed and controlled.
[0119] According to another aspect of the present invention, the present invention provides a development management system for models and algorithms. Figure 7 As shown, the development management system 1 includes a data processing module 10 , a model training module 20 and an algorithm development evaluation module 30 .
[0120] According to an example embodiment, the data processing module 10 determines a model data set and an algorithm data set according to target processing data, obtains model training labeled data, model verification labeled data and model test labeled data according to the model data set, and obtains algorithm test labeled data according to the algorithm data set.
[0121] The model training module 20 performs model training based on the model training annotation data and the model verification annotation data to obtain an initial training model, and generates a target model when it is determined based on the model test annotation data that the initial training model meets the first preset condition.
[0122] The algorithm development and evaluation module 30 generates an initial algorithm according to the target model, and generates a target algorithm when it is determined based on the algorithm test annotation data that the initial algorithm meets the second preset condition.
[0123] The development management system of the model and algorithm provided by the present invention is used to execute the development management method as described above. The development management method has been described in detail above, so it will not be repeated here.
[0124] The present invention determines the model data set and the algorithm data set respectively through the target processing data, and obtains the model training annotation data, the model verification annotation data and the model test annotation data by performing data processing on the model data set. The model training annotation data and the model verification annotation data are used for training the initial training model, and the model test annotation data is used for judging the accuracy of the initial training model. The target model that meets the model iteration update standard can be obtained, so that the release quality of the target model can be controlled.
[0125] And the present invention obtains algorithm annotation data by processing the algorithm data set, and the algorithm annotation data is used to judge the accuracy of the initial algorithm, so as to obtain a target algorithm that meets the algorithm iteration update standard, thereby realizing the control of the release quality of the target algorithm.
[0126] The present invention can form a full-process closed loop from initial reflux data-target model development-target algorithm development. Corresponding process processing personnel can be set in each processing link, and the flow nodes of target model development and target algorithm development can be accurately managed and controlled.
[0127] According to another aspect of the present invention, an electronic device is provided, which includes: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors can implement the development management method described above.
[0128] According to another aspect of the present invention, a non-volatile computer-readable storage medium is provided, wherein a computer program is stored on the storage medium, and the computer program can implement the development management method described above.
[0129] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention is described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions of the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for development and management of models and algorithms, characterized in that: include: Determine a model data set and an algorithm data set according to target processing data, wherein the target processing data includes image data, video data, voice data and text data; Obtain model training annotation data, model verification annotation data, and model test annotation data according to the model data set; Obtaining algorithm test annotation data according to the algorithm data set; Performing model training based on the model training annotated data and the model verification annotated data to obtain an initial training model; If it is determined based on the model test annotation data that the initial training model meets the first preset condition, generating a target model; generating an initial algorithm according to the target model; When it is determined based on the algorithm test annotation data that the initial algorithm meets the second preset condition, generating a target algorithm includes: Adding the algorithm test annotation data to the algorithm historical test data to obtain fourth test data; Determining the difference in algorithm accuracy between the initial algorithm and the historical test algorithm version based on the fourth test data; When the algorithm accuracy difference meets the second preset condition, the initial algorithm is determined as the target algorithm.
2. The development management method according to claim 1, characterized in that: The obtaining of model training annotation data, model verification annotation data and model test annotation data according to the model data set includes: Performing annotation processing on the model data set based on a first preset annotation rule to obtain model annotation data; Performing a review process on the model annotation data to determine whether the model annotation data meets a first preset review condition; The model annotation data that meets the first preset review condition is segmented to obtain the model training annotation data, the model verification annotation data and the model test annotation data.
3. The development management method according to claim 1, characterized in that: The obtaining of algorithm test annotation data according to the algorithm data set includes: Performing annotation processing on the algorithm data set based on a second preset annotation rule to obtain algorithm annotation data; Reviewing the algorithm-annotated data to determine whether the algorithm-annotated data meets a second preset review condition; The algorithm annotation data that meets the second preset review condition is determined as the algorithm test annotation data.
4. The development management method according to claim 1, characterized in that: The performing model training based on the model training annotated data and the model verification annotated data to obtain an initial training model includes: Adding the model training annotation data to the model historical training data to obtain first training data; Adding the model verification annotation data to the model historical verification data to obtain second training data; Model training is performed based on the first training data and the second training data until the training model is in a converged state, thereby obtaining the initial training model.
5. The development management method according to claim 1, characterized in that: In the case where it is determined based on the model test annotation data that the initial training model meets the first preset condition, generating the target model includes: adding the model test annotation data to the model historical test data to obtain third test data; Determining the model accuracy difference between the initial training model and the historical training model version based on the third test data; When the model accuracy difference meets the first preset condition, the initial training model is determined as the target model.
6. The development management method according to claim 1, characterized in that: Before determining the model data set and the algorithm data set according to the target processing data, the development management method further includes: The initial reflow data is subjected to information supplementation processing, data frame extraction processing, data deduplication processing and data preliminary screening processing in sequence to obtain the target processed data.
7. A model and algorithm development management system, characterized in that: The development management system is used to execute the development management method according to any one of claims 1 to 6, and the development management system includes: A data processing module, which determines a model data set and an algorithm data set according to target processing data, obtains model training annotation data, model verification annotation data and model test annotation data according to the model data set, and obtains algorithm test annotation data according to the algorithm data set, wherein the target processing data includes image data, video data, voice data and text data; A model training module performs model training based on the model training annotation data and the model verification annotation data to obtain an initial training model, and generates a target model when it is determined based on the model test annotation data that the initial training model meets a first preset condition; An algorithm development and evaluation module generates an initial algorithm according to the target model, and generates a target algorithm when it is determined based on the algorithm test annotation data that the initial algorithm meets a second preset condition; wherein the algorithm development and evaluation module adds the algorithm test annotation data to the algorithm historical test data to obtain a fourth test data, determines the algorithm accuracy difference between the initial algorithm and the historical test algorithm version based on the fourth test data, and when the algorithm accuracy difference meets the second preset condition, the algorithm development and evaluation module determines the initial algorithm as the target algorithm.
8. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the development management method as described in any one of claims 1 to 6.
9. A non-volatile computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program implements the development management method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Model generation method and device, electronic equipment and storage medium
CN111310934A
Algorithm model training method and device, electronic equipment and storage medium
CN113448988A
