Image data annotation system and method based on deep learning

Through the image data annotation system based on deep learning, clustering and semi-supervised training modules are used to solve the problems of low image data annotation accuracy and low interactive iteration efficiency, achieve efficient high-quality data annotation, and reduce user annotation costs.

CN114612702BActive Publication Date: 2024-09-24传申弘安智能(深圳)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210090745.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-24
Publication Date
2024-09-24
Estimated Expiration
2042-01-24

AI Technical Summary

Technical Problem

In the existing technology, image data annotation accuracy is low and interaction iteration efficiency is low, resulting in high labor and time costs, making it difficult to achieve high-precision automated annotation.

Method used

An image data annotation system based on deep learning is adopted, including a clustering module, a small sample deep learning module and a semi-supervised training module. The startup data is selected through clustering, the deep learning model is trained, and the recognition accuracy is confirmed through the interactive interface for semi-supervision. Loop training and iteratively update the model.

Benefits of technology

By batch labeling with less startup data, high-quality training data is obtained. Users only need to label a small amount of data, which greatly reduces labeling costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114612702B
    Figure CN114612702B
Patent Text Reader

Abstract

The present invention discloses an image data annotation system and method based on deep learning, the system comprising: a clustering module, for selecting starting data to be annotated based on clustering, wherein the starting data to be annotated is used as input data of a small sample deep learning module after annotation; a small sample deep learning module, for receiving the annotated starting data and training the deep learning model; an interactive module, for sampling and obtaining the identification result of the deep learning model, and starting the semi-supervised training module to perform cyclic training on the deep learning model according to the recognition accuracy of the deep learning model; a semi-supervised training module, for obtaining the predicted annotation box of the unannotated sample image, screening the predicted annotation box, and iteratively updating the deep learning model according to the screened predicted annotation box. The present invention can train the algorithm model with less starting annotation data, obtain high-quality annotation results that are actually available, and greatly reduce the annotation cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image data annotation, and in particular to an image data annotation system and method based on deep learning. Background Art

[0002] The first step in using deep models to solve practical problems is to obtain labeled data for the corresponding application scenarios. Generally speaking, training a model with good performance requires tens of thousands of labeled data, which is a huge amount of labeling. When the labeling task involves professional knowledge in a vertical field, relevant personnel need to be trained on the job, resulting in a sharp increase in labor and time costs.

[0003] The accuracy of labeling is also a crucial link. Manual labeling has strong uncertainty and randomness, which puts high demands on the quality inspection link after labeling. Different quality inspection methods need to be designed according to different scenarios, and more professional quality inspectors need to be trained, which has a high overall cost. Therefore, automated labeling tools are urgently needed to reduce labeling costs and obtain high-precision labeling data.

[0004] However, it is very difficult to achieve high-precision automatic labeling. There are two main methods of semi-automatic labeling: small sample learning and active learning. Small sample learning means that a small sample model quickly establishes cognition of new concepts through one or a few examples, but generally speaking, the generalization ability of a small sample model is limited. The limitations of sample features make it impossible for the model to achieve ideal detection accuracy in more complex patterns, and it is rarely used in practice; active learning uses certain algorithms to query the most useful unlabeled samples and hand them over to experts for labeling. Through the interaction between the model and artificial experts, new pattern features are continuously provided to the model to improve the accuracy of the model. The effect is better, but the time for labeling and interactive iteration is still long and the process is cumbersome. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes an image data annotation system based on deep learning, which can solve the problems of low annotation accuracy and low interactive iteration efficiency.

[0006] The present invention also proposes an image data annotation method based on deep learning.

[0007] According to the first aspect of the present invention, the image data annotation system based on deep learning includes: a clustering module, which is used to cluster the input sample images and select the starting data to be annotated based on the clustering, wherein the starting data to be annotated is used as the input data of the small sample deep learning module after annotation; a small sample deep learning module, which is used to receive the annotated starting data and train the deep learning model; an interactive module, which is used to sample and obtain the identification result of the deep learning model, confirm the recognition accuracy of the deep learning model through an interactive interface, and start the semi-supervised training module to perform cyclic training on the deep learning model according to the recognition accuracy of the deep learning model; a semi-supervised training module, which is used to obtain the predicted annotation box of the unlabeled sample image based on the deep learning model trained in the previous round, screen the predicted annotation box, and iteratively update the deep learning model according to the screened predicted annotation box.

[0008] The deep learning-based image data annotation system according to the embodiment of the present invention has at least the following beneficial effects: the algorithm model can be trained with less starting data to batch annotate the data, thereby obtaining high-quality training data that is actually usable, and the user only needs to annotate a small amount of data, which greatly reduces the user's annotation cost.

[0009] According to some embodiments of the present invention, the clustering module includes: a feature clustering module, used to extract the feature map of the sample image, reduce the dimension of the image features of the sample image and cluster them to obtain cluster clusters; a selection module, used to determine the selection strategy according to business needs, and select a number of the sample images from the cluster clusters based on the selection strategy as the startup data to be labeled.

[0010] According to some embodiments of the present invention, the small sample deep learning module includes: an image pyramid generation module, which is used to receive the labeled startup data, cut out the positive sample target, perform multi-scale scaling on the positive sample target, and generate a multi-scale image pyramid; a training module, which is used to receive the labeled startup data and the corresponding multi-scale image pyramid, and input the deep learning model for iterative training.

[0011] According to some embodiments of the present invention, the semi-supervised training module includes: a training data selection module, which is used to predict the unlabeled sample image based on the deep learning model of the previous round of training, and select the prediction box with a confidence level above a preset threshold as the annotation of the sample image, which is used as the sample annotated image input for this round of training, so as to iteratively update the deep learning model.

[0012] According to some embodiments of the present invention, the method further includes: a data cleaning module, which is used to clean the input image data, remove damaged images and duplicate images, and screen out the sample images that meet the preset image specifications.

[0013] According to the second aspect of the present invention, the image data annotation method based on deep learning includes the following steps: clustering the input sample images, and selecting the starting data to be annotated based on the clustering, wherein the starting data to be annotated is used for annotation as the input data for deep learning model training; receiving the annotated startup data, and training the deep learning model; sampling and obtaining the identification results of the deep learning model, and confirming the recognition accuracy of the deep learning model through an interactive interface; performing semi-supervised loop training on the deep learning model according to the recognition accuracy of the deep learning model; in the semi-supervised loop training, based on the deep learning model trained in the previous round, obtaining the predicted annotation box of the unlabeled sample image, screening the predicted annotation box, and iteratively updating the deep learning model according to the screened predicted annotation box.

[0014] The deep learning-based image data labeling method according to an embodiment of the present invention has at least the following beneficial effects: the algorithm model can be trained with less starting data to batch label the data, thereby obtaining high-quality training data that is actually usable, and the user only needs to label a small amount of data, thereby greatly reducing the user's labeling cost.

[0015] According to some embodiments of the present invention, clustering the input sample images and selecting the startup data to be labeled based on the clustering includes: extracting the feature map of the sample image, reducing the dimension of the image features of the sample image and clustering them to obtain cluster clusters; determining a selection strategy according to business needs, and based on the selection strategy, selecting the sample images within a certain threshold range from the cluster center from the cluster cluster or randomly selecting a number of the sample images from the cluster cluster as the startup data to be labeled.

[0016] According to some embodiments of the present invention, the receiving of labeled startup data and the training of the deep learning model include: receiving labeled startup data, cropping positive sample targets, performing multi-scale scaling on the positive sample targets, and generating a multi-scale image pyramid; receiving labeled startup data and the corresponding multi-scale image pyramid, and inputting them into the deep learning model for iterative training.

[0017] According to some embodiments of the present invention, the semi-supervised loop training includes: based on the deep learning model of the previous round of training, predicting the unlabeled sample image, selecting a prediction box with a confidence level above a preset threshold as the annotation of the sample image, and using it as the sample labeled image input for this round of training; obtaining the multi-scale image pyramid of the input sample labeled image, performing a first data processing and a second data processing respectively, and inputting the pyramid into the deep learning model to obtain a corresponding first prediction label and a second prediction label; comparing the first prediction label and the second prediction label, calculating a corresponding loss function, and iteratively updating the deep learning model.

[0018] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0020] Figure 1 is a schematic diagram of the internal modules of the system according to an embodiment of the present invention;

[0021] Figure 2 is a detailed schematic diagram of the internal modules of the system according to an embodiment of the present invention;

[0022] Figure 3 A schematic diagram of a flow chart of data processing in a method according to an embodiment of the present invention;

[0023] Figure 4 is a schematic block diagram of a training process in a method according to an embodiment of the present invention;

[0024] Figure 5 It is a schematic diagram of the flow chart of the method in the embodiment of the present invention.

[0025] Reference numerals:

[0026] Clustering module 100, small sample deep learning module 200, interaction module 300, semi-supervised training module 400, data cleaning module 500; feature clustering module 110, selection module 120; image pyramid generation module 210, training module 220; training data selection module 410. DETAILED DESCRIPTION

[0027] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0028] In the description of the present invention, the meaning of "several" is one or more, the meaning of "more" is two or more, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of the first and the second, it is only for the purpose of distinguishing the technical features, and it cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. In the description of the present invention, the step numbers are only used for the convenience of description or citation. The size of the serial number of each step does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0029] Figure 1 The main internal modules of the system according to an embodiment of the present invention are shown, including: a clustering module 100, a small sample deep learning module 200, an interaction module 300 and a semi-supervised training module 400.

[0030] The clustering module 100 is used to select the start-up data to be annotated from the input sample image data (these sample image data are initially unannotated), and the start-up data to be annotated is used as input data of the small sample deep learning module 200 after being annotated. The clustering module 100 clusters the sample image data and selects the start-up data based on the clustering results. In this embodiment, the specific clustering method is not limited, as long as clustering can be performed according to business needs.

[0031] The small sample deep learning module 200 is used to receive a relatively small amount of manually annotated startup data and train the target deep learning model.

[0032] The interactive module 300 is used to sample the identification results of the deep learning model as the target and display them through the interactive interface to receive the user's confirmation of the recognition accuracy of the deep learning model results. If the recognition accuracy does not meet expectations, the semi-supervised training module is started to perform cyclic training on the deep learning model. Obviously, if the recognition accuracy has reached expectations, the semi-supervised training module can no longer be started.

[0033] The semi-supervised training module 400 is used to obtain the predicted annotation boxes of sample images that have not been manually annotated based on the deep learning model trained in the previous round, filter the predicted annotation boxes, and iteratively update the deep learning model according to the filtering results.

[0034] Specifically, refer to Figure 2 The clustering module 100 in the embodiment of the present invention includes: a feature clustering module 110, which is used to extract the feature map of the sample image, reduce the dimension of the image features of the sample image and cluster them to obtain clusters; a selection module 120, which is used to determine the selection strategy according to business needs, and select a number of sample images from the clusters according to the selection strategy as the starting data to be labeled. In this embodiment, there is no limitation on the method for obtaining the feature map of the image, which can be, for example, extracting the feature map through the deepcluster model; nor is there any limitation on the feature dimensionality reduction method and clustering method. The method for selecting sample images from the clusters by the selection module 120, that is, the selection strategy, can be to select sample images within a certain threshold range from the cluster center from the cluster, or to perform random selection, or to customize, for example, to extract different amounts of image data from the clusters according to different weights.

[0035] In some other embodiments of the present invention, the original image of the sample image may also be directly used as the clustering object.

[0036] Reference Figure 2 The small sample deep learning module 200 in the embodiment of the present invention includes: an image pyramid generation module 210 and a training module 220.

[0037] The labeled startup data is input to the small sample deep learning module 200, and the small sample learning module inputs the startup data to the image pyramid generation module 210 and the training module 220. The image pyramid generation module 210 crops the startup data, crops out the positive sample target, performs multi-scale scaling on the positive sample target, and generates a multi-scale image pyramid, which is input to the training module 220.

[0038] The training module 220 in this embodiment receives the input annotated startup data and its corresponding multi-scale image pyramid, and iteratively updates the deep learning model.

[0039] In one embodiment of the present invention, the training module includes: a main branch training module (not shown) and a first branch training module (not shown).

[0040] The main branch training module performs the following operations (refer to Figure 4The middle trunk FastCNN: Input the startup data into the main branch of the deep learning model for training, and calculate the background classification loss, RPN border regression loss, category classification loss and ROI border regression loss of the main branch. The first branch training module inputs the multi-scale image pyramid into the first multi-scale refinement branch of the deep learning model (refer to Figure 4 ), calculate the category classification loss and background classification loss of the first multi-scale refinement branch, and merge the two losses into the corresponding loss of the main branch, and iteratively update the deep learning model as a whole. The deep learning model includes a feature extraction network, and the main branch of the deep learning model shares the weights of the feature extraction network of the first multi-scale refinement branch. The method of merging the loss into the main branch can be, for example, accumulating it into the corresponding loss of the main branch.

[0041] In another embodiment of the present invention, both the annotated startup data and the corresponding multi-scale image pyramid are input into the main branch of the deep learning model. That is, at this time, there is only a trunk without branches. The background classification loss, RPN border regression loss, category classification loss and ROI border regression loss of the main branch are calculated; and the deep learning model is iteratively updated according to these losses.

[0042] In some embodiments, the small sample deep learning module further includes: a preprocessing module for preprocessing the input labeled startup data, for example, data augmentation, data enhancement including: translation, flipping, rotation, shifting, noise, etc. The labeled startup data is preprocessed and then input into the training module, or is input into the training module 220 after passing through the image pyramid generation module 210.

[0043] The semi-supervised training module 400 includes: a training data selection module 410, which is used to input unlabeled sample image data into a deep learning model based on the previous round of training, perform prediction, and select prediction boxes with confidence levels above a preset threshold as annotations for sample images, which are used as sample annotated images for input in this round of training, so as to iteratively update the deep learning model.

[0044] Reference Figure 2 , this embodiment also includes: a data cleaning module 500 (see the dotted box), which is used to clean the input image data, remove damaged images and duplicate images, and filter out sample images that meet the preset image specifications. In some embodiments of the present invention, this module may not be included, and the input sample images of the preset image specifications may be directly received.

[0045] In this embodiment, Figure 1 The system shown performs as follows Figure 5 The steps shown include:

[0046] Input sample images, perform clustering, and select starting data to be labeled based on clustering; after being labeled, the starting data to be labeled is used as input data for deep learning model training;

[0047] Receive the labeled startup data and train the deep learning model;

[0048] Sample and obtain the identification results of the deep learning model, and confirm the recognition accuracy of the deep learning model through the interactive interface;

[0049] The deep learning model is trained in a semi-supervised cycle according to its recognition accuracy: based on the deep learning model trained in the previous round, the predicted annotation boxes of the unlabeled sample images are obtained, the predicted annotation boxes are screened, and the deep learning model is iteratively updated according to the screened predicted annotation boxes.

[0050] Figure 3 For use Figure 2 The overall process of data processing in the system shown in the figure. First, the user uploads the image data through the data set upload interface and performs data cleaning. The data cleaning process includes: removing damaged images, removing duplicate images, removing images in unsupported formats, and evaluating data quality (quantity, resolution). Then, a part of the images are selected from the cleaned image data through clustering methods as the startup image data to be annotated. These data are provided to users for annotation through interface interaction; users can use annotation tools to annotate the startup image data. Input the annotated startup image data (equivalent to sample annotation data), and use the small sample deep learning model ( Figure 2 The few-shot model in the training is used to train the model and obtain a rough-label model. The rough-label model can sample and return some data through the interactive interface for users to confirm the labeling effect. If the accuracy is achieved, the training is stopped and the labeling result is output. If the model accuracy obtained by the small sample deep learning model training does not meet the preset requirements, additional semi-supervised loop training is performed to improve the model accuracy.

[0051] The data processing process of the embodiment of the present invention will be described in detail below.

[0052] First, the starting image data is extracted from a large amount of cleaned image data (hereinafter referred to as the cleaned image data as sample image). The specific process is as follows:

[0053] 1. Input the sample image and extract the corresponding feature map based on the trained clustering model (such as the deepcluster model);

[0054] 2. Use dimensionality reduction methods such as umap / pca to reduce the dimension of the feature map of the sample image;

[0055] 3. Use Kmeans / Hdbsca and other methods to cluster the feature graph after dimensionality reduction to obtain several clusters;

[0056] 4. Select the corresponding strategy according to the business needs, select a number of first image data near the cluster center from the cluster, and annotate these first image data to obtain sample annotated images.

[0057] The strategy for extracting the first image data from the cluster can be customized, and image data within a certain range of the cluster center can be selected as much as possible.

[0058] Compared with directly using the original image as clustering data, encoding the data through a clustering model (such as the deepcluster model), extracting image features instead of the original image, and then using dimensionality reduction and clustering algorithms to select data can effectively reduce the impact of factors such as background, and avoid the problem of poor stability of the trained model due to the large difference between the distribution of the selected training data and the actual distribution.

[0059] Taking the deepcluster model as an example, the training process of the clustering model includes:

[0060] 1. Use alexnet, vgg16, etc. as the basic classification network, and use large datasets such as Imagenet to pre-train the network;

[0061] 2. Process the input image through the deepcluster model to obtain the corresponding feature map;

[0062] 3. Cluster the acquired feature graphs by any method, and generate corresponding pseudo labels based on the clustering results so that the clustered groups have the same labels;

[0063] 4. Use the generated pseudo-label as the label of the input image, input it into the deepcluster model, update the parameters of the deepcluster model network, and iterate the training until the deepcluster model converges.

[0064] For convenience, the training process of the clustering model is described above by using the deepcluster model, but the clustering model in the present invention is not limited to the deepcluster model.

[0065] The small sample deep learning model can use a small amount of labeled data to train a high-precision model and annotate the data. However, due to data limitations, the small sample model has poor detection effects on targets with scale changes. In real data, the scale distribution of targets is generally continuous. Therefore, in this embodiment, the multi-scale positive sample refinement branch is used to enrich the target scale and enhance the model's feature extraction capabilities for targets in new fields. The multi-scale positive sample refinement branch is a feature extraction network enhancement branch that shares weights with the feature extraction network of the original model. It generates multi-scale positive samples of the target to form an input image pyramid, and updates the feature extractor simultaneously with the backbone network to improve the performance of the model at different scales.

[0066] In this embodiment, the specific training process of the small sample deep learning model is as follows:

[0067] 1. Input the sample annotated image, crop the positive sample target from the sample annotated image, perform multi-scale scaling on the cropped positive sample target, and generate a multi-scale image pyramid as the input of the first multi-scale refinement branch.

[0068] 2. Reference Figure 4 , the original sample annotated image is input into the trunk (also called the main branch), and its corresponding multi-scale image pyramid is input into the first multi-scale refinement branch, and the corresponding image features are obtained after passing through the second feature extraction network. Among them, the weights of the second feature extraction network and the first feature extraction network are shared.

[0069] 3. The original image features in the main branch are the normal training process. The sample annotated image is input into the backbone network. After passing through the first feature extraction network, the ROI is obtained and then the classification regression network is entered to obtain the final prediction result; and the background classification loss, RPN border regression loss, category classification loss and ROI border regression loss of the backbone network are calculated, and the backbone network is iteratively updated. In this embodiment, the first feature extraction network can be an FPN network or other networks.

[0070] 4. Since the image features obtained by the first multi-scale refinement branch are positive sample image features, it is only necessary to calculate the corresponding category classification loss and background classification loss of this branch and merge them into the loss of the main branch to iteratively update the detection network.

[0071] Reference Figure 4, merge the category classification loss of the first multi-scale refinement branch into the category classification loss of the trunk; merge the background classification loss of the first multi-scale refinement branch into the background category classification loss of the trunk. After updating the background classification loss and category classification loss of the trunk network, as well as the RPN border regression loss and ROI border regression loss of the trunk network, the trunk network is iteratively updated. During the iterative update process, the weights of the first feature extraction network are synchronized to the second feature extraction network through weight sharing.

[0072] Through the strengthening effect of the first multi-scale refinement branch, the model's ability to identify sample features is effectively enhanced, and the model's detection accuracy is improved. The model can generally achieve 80% detection accuracy of all data with dozens of data.

[0073] When the labeling effect of the small sample learning model cannot reach the preset accuracy, the semi-supervised loop training will be started in this embodiment to further improve the model accuracy. Figure 4 The specific process of semi-supervised loop training for the second multi-size refinement branch in is as follows:

[0074] 1. Use the detection network model trained in the previous round to predict all unlabeled data, and select the prediction box with a confidence level above a certain threshold as the label of the image, which will be used as the sample labeled image input for this round of training.

[0075] That is to say, the sample annotated images input in this round of training only have prediction boxes annotated with confidence levels above a certain threshold.

[0076] 2. Perform a first data processing and a second data processing different from the first data processing on the multi-scale image pyramid to obtain two corresponding image data, which are input into the second multi-scale refinement branch as a set of input samples and predicted through the third feature extraction network; wherein the third feature extraction network shares weights with the first feature extraction network and the second feature extraction network.

[0077] In this embodiment, the first data processing is strong data enhancement, and the second data processing is weak data enhancement. In another embodiment of the present invention, the second data processing is not to process the image in any way, that is, directly input the multi-scale image pyramid.

[0078] Among them, strong data enhancement is a combination of various data enhancement methods, which can be a combination of methods that both change and do not change the structure and characteristics of image data, or a combination of various methods that only change the structure and characteristics of image data. That is, strong data enhancement is to process the input image by at least one method that changes the structure and characteristics of image data, such as Gaussian blur or adding noise. Weak data enhancement is a data enhancement method that does not change the structure and characteristics of image data, such as flipping and translation. In other words, strong enhancement can be regarded as weak enhancement and methods that change data structure and characteristics or their combination.

[0079] 3. For a set of input samples, the output result label of the weakly enhanced image is used as the pseudo label, that is, the true label of the strongly enhanced image, and the corresponding category classification loss and background classification loss of the second multi-scale refinement branch are calculated. Then these two losses are merged into the loss of the backbone network, and the backbone network is iteratively updated to optimize the network.

[0080] 4. Repeat steps 1-3 for cyclic training until the model meets the accuracy requirements or the set maximum number of cycles.

[0081] Through this training method, the impact of noise labels on network accuracy can be weakened. Through different data enhancements, the network learns more target patterns, is more robust to complex environments, can better learn the representative features of the target, and improve model accuracy.

[0082] Although specific embodiments are described herein, those of ordinary skill in the art will recognize that many other modifications or alternative embodiments are also within the scope of the present disclosure. For example, any of the functions and / or processing capabilities described in conjunction with a particular device or component may be performed by any other device or component. In addition, although various exemplary implementations and architectures have been described according to embodiments of the present disclosure, those of ordinary skill in the art will recognize that many other modifications to the exemplary implementations and architectures described herein are also within the scope of the present disclosure.

[0083] Some aspects of the present disclosure are described above with reference to the block diagram and flow chart of the system, method, system and / or computer program product according to the exemplary embodiments.It should be understood that the combination of one or more blocks in the block diagram and the flow chart and the blocks in the block diagram and the flow chart can be realized by executing computer executable program instructions respectively.Equally, according to some embodiments, some blocks in the block diagram and the flow chart may not need to be executed in the order shown, or may not need to be executed in full.In addition, additional components and / or operations beyond those components and / or operations shown in the blocks in the block diagram and the flow chart may be present in certain embodiments.

[0084] Therefore, the blocks in the block diagrams and flow charts support the combination of devices for performing the specified functions, the combination of elements or steps for performing the specified functions, and the program instruction devices for performing the specified functions. It should also be understood that each block in the block diagrams and flow charts and the combination of blocks in the block diagrams and flow charts can be implemented by a special-purpose hardware computer system or a combination of special-purpose hardware and computer instructions that performs a specific function, element or step.

[0085] The program modules, applications, etc. described herein may include one or more software components, including, for example, software objects, methods, data structures, etc. Each such software component may include computer-executable instructions that, in response to execution, cause at least a portion of the functionality described herein (e.g., one or more operations of the illustrative methods described herein) to be performed.

[0086] Software components can be encoded with any of various programming languages. An exemplary programming language can be a low-level programming language, such as an assembly language associated with a specific hardware architecture and / or an operating system platform. The software component comprising assembly language instructions may need to be converted to executable machine code by an assembler before being executed by hardware architecture and / or platform. Another exemplary programming language can be a higher-level programming language, which can be transplanted across multiple architectures. The software component comprising a higher-level programming language may need to be converted to an intermediate representation by an interpreter or a compiler before execution. Other examples of programming languages ​​include but are not limited to macro languages, shells or command languages, job control languages, scripting languages, database queries or search languages ​​or report writing languages. In one or more exemplary embodiments, the software component comprising the instruction of one of the above-mentioned programming language examples can be directly executed by an operating system or other software components, without first being converted into another form.

[0087] Software components may be stored as files or other data storage structures. Software components of similar type or related functions may be stored together, such as in a specific directory, folder, or library. Software components may be static (e.g., preset or fixed) or dynamic (e.g., created or modified at execution time).

[0088] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the relevant technical field without departing from the purpose of the present invention.

Claims

1. A deep learning-based image data annotation system, characterized in that: include: A clustering module, used to cluster the input sample images and select the starting data to be labeled based on the clustering, wherein the starting data to be labeled is used as input data of the small sample deep learning module after being labeled; Small sample deep learning module, used to receive labeled startup data and train the deep learning model; An interactive module, used to sample and obtain identification results of the deep learning model, confirm the recognition accuracy of the deep learning model through an interactive interface, and start a semi-supervised training module to perform cyclic training on the deep learning model according to the recognition accuracy of the deep learning model; Wherein, starting a semi-supervised training module to perform cyclic training on the deep learning model according to the recognition accuracy of the deep learning model includes: When the recognition accuracy does not reach the preset accuracy, starting the semi-supervised training module to perform cyclic training on the deep learning model; A semi-supervised training module, used to obtain the predicted annotation boxes of the unlabeled sample images based on the deep learning model trained in the previous round, screen the predicted annotation boxes, and iteratively update the deep learning model according to the screened predicted annotation boxes; The iterative updating of the deep learning model includes: Based on the deep learning model trained in the previous round, predict the unlabeled sample image, and select the prediction box with a confidence level above a preset threshold as the label of the sample image, which is used as the sample labeled image input for this round of training; Obtain a multi-scale image pyramid of the input sample annotated image, perform first data processing and second data processing respectively, and input the pyramid into the deep learning model to obtain corresponding first prediction labels and second prediction labels, wherein the first data processing is strong data enhancement and the second data processing is weak data enhancement; Comparing the first prediction label and the second prediction label, calculating a corresponding loss function, and iteratively updating the deep learning model; The small sample deep learning module includes: An image pyramid generation module is used to receive the labeled startup data, crop the positive sample targets, perform multi-scale scaling on the positive sample targets, and generate a multi-scale image pyramid; The training module is used to receive the labeled startup data and the corresponding multi-scale image pyramid, and input them into the deep learning model for iterative training.

2. The image data annotation system based on deep learning according to claim 1, characterized in that: The clustering module comprises: A feature clustering module, used to extract a feature map of the sample image, perform dimension reduction and clustering on the image features of the sample image, and obtain clusters; The selection module is used to determine a selection strategy according to business requirements, and select a number of the sample images from the clusters based on the selection strategy as the start-up data to be labeled.

3. The image data annotation system based on deep learning according to claim 1, characterized in that: Also includes: The data cleaning module is used to clean the input image data, remove damaged images and duplicate images, and screen out the sample images that meet the preset image specifications.

4. A method for labeling image data based on deep learning, characterized in that: The following steps are involved: Clustering the input sample images, and selecting the starting data to be annotated based on the clustering, wherein the starting data to be annotated is used for annotation as input data for deep learning model training; Receiving the labeled startup data and training the deep learning model; Sampling and obtaining identification results of the deep learning model, and confirming the recognition accuracy of the deep learning model through an interactive interface; Performing semi-supervised loop training on the deep learning model according to the recognition accuracy of the deep learning model; The semi-supervised loop training includes: Based on the deep learning model trained in the previous round, predict the unlabeled sample image, and select the prediction box with a confidence level above a preset threshold as the label of the sample image, which is used as the sample labeled image input for this round of training; Obtain a multi-scale image pyramid of the input sample annotated image, perform first data processing and second data processing respectively, and input the pyramid into the deep learning model to obtain corresponding first prediction labels and second prediction labels, wherein the first data processing is strong data enhancement and the second data processing is weak data enhancement; Comparing the first prediction label and the second prediction label, calculating a corresponding loss function, and iteratively updating the deep learning model; Wherein, performing semi-supervised loop training on the deep learning model according to the recognition accuracy of the deep learning model includes: When the recognition accuracy does not reach the preset accuracy, starting the semi-supervised training module to perform cyclic training on the deep learning model; The receiving the labeled startup data and training the deep learning model comprises: Receiving the labeled start data, cutting out the positive sample target, performing multi-scale scaling on the positive sample target, and generating a multi-scale image pyramid; The labeled startup data and the corresponding multi-scale image pyramid are received and input into the deep learning model for iterative training.

5. The image data annotation method based on deep learning according to claim 4 is characterized in that: The step of clustering the input sample images and selecting the startup data to be labeled based on the clustering includes: Extracting a feature map of the sample image, reducing the dimension of the image features of the sample image and clustering the image features to obtain cluster clusters; A selection strategy is determined according to business requirements. Based on the selection strategy, the sample images within a certain threshold range from the cluster center are selected from the cluster or a number of the sample images are randomly selected from the cluster as the start data to be labeled.

6. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 4 to 5 when executed by a processor.