A robot data collection iterative training method, system and storage medium based on active learning technology

Through the iterative training method of robot data collection based on active learning technology, effective data is screened and combined with manual review, the problem of low robot target detection and recognition rate and high cost of labeling data is solved, achieving efficient data collection and reducing manual labeling costs.

CN112906902BActive Publication Date: 2024-10-18SHANGHAI YOGO ROBOTICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011533507.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-22
Publication Date
2024-10-18
Estimated Expiration
2040-12-22

AI Technical Summary

Technical Problem

In the existing technology, the robot target detection and recognition rate is low and the cost of annotating data is high, mainly because the annotated data relies on manual annotation, and the annotation cost of large batches of data is high.

Method used

An iterative training method for robot data collection based on active learning technology is adopted. By establishing a supervised deep learning model, effective data is screened. The cross-entropy strategy and IOU calculation are used to screen data, combined with manual review, to reduce the need for manual annotation of data.

Benefits of technology

It improves the effectiveness of data collection, reduces the cost of manual annotation, increases the confidence and credibility of detection, and reduces the number of manual annotations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112906902B_ABST
    Figure CN112906902B_ABST
Patent Text Reader

Abstract

The present invention discloses a robot data collection iterative training method, system and storage medium based on active learning technology, comprising the following steps: S1, taking a preset proportion of labeled image data as training data, and taking the remaining proportion of image data as test data; S2, establishing a supervised deep learning model, and using the training data to train the deep learning model to optimize the supervised deep learning model; S3, using the test data to detect the confidence of the detection result of the supervised deep learning model; S4, formulating a robot strategy for collecting rough business data sets, and collecting rough business data sets; S5, introducing active learning courses to guide active learning process mining to manually annotate low-confidence samples in the collected rough business data. With the help of active learning technology, this patent realizes a semi-supervised robot data collection iterative system, which greatly improves the effectiveness of data collection and reduces the cost of manual annotation.
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 annotation, and in particular to a robot data collection iterative training method, system and storage medium based on active learning technology. Background Art

[0002] With the development of deep learning, the industry is increasingly relying on supervised learning technologies such as target detection and semantic segmentation. Such technologies require specific annotated data as support. Generally speaking, the richer the business data, the higher the robot's target detection and recognition rate. The annotated data needs to rely on manual annotation by people with certain training experience, but in actual business scenarios, the annotation cost of large quantities of data is high.

[0003] Active learning is a method that uses technical or mathematical methods to reduce labeling costs and improve the quality of data sets. When a robot collects and replays unlabeled data, it uses active learning to select valid business data and pre-label it. The labels are then manually reviewed and fine-tuned, greatly reducing labeling costs. Summary of the invention

[0004] One of the purposes of the present invention is to screen effective business data and reduce labeling costs by means of active learning technology.

[0005] To achieve the above object, the present invention provides a robot data collection iterative system and a robot data collection iterative training method based on active learning technology, which is characterized by comprising the following steps:

[0006] S1. Take a preset proportion of the labeled image data as training data, and take the remaining proportion of the image data as test data;

[0007] S2. Establish a supervised deep learning model, and use the training data to train the deep learning model and optimize the supervised deep learning model;

[0008] S3. Using the test data to detect the confidence of the detection result of the supervised deep learning model;

[0009] S4. Formulate a strategy for collecting rough business data sets by robots and collect rough business data sets;

[0010] S5. Introduce active learning courses to guide active learning process mining to manually label low-confidence samples in the collected rough business data.

[0011] Furthermore, it also includes: collecting and saving the marked business data;

[0012] Mark all the targets to be detected in the image and record the category and location information of each target.

[0013] Furthermore, the specific step of S1 includes: randomly extracting 70% of the data from the data pool as training data, and the remaining 30% of the data as test data, and saving the names of such data pictures in two files with different names.

[0014] Further, the labeled data are trained using YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model respectively by using stochastic gradient descent method, SGD and momentum method, wherein the learning momentum parameter is set to 0.9, the convolution parameter L2 regularization penalty coefficient is set to 0.001, and the learning rate is a polynomial slow decrease;

[0015] After multiple trainings, the training is terminated and the network parameters of each detector are saved.

[0016] Furthermore, set standards for roughly collecting business data;

[0017] Implement tracking points at the robot motion decision layer, and save the data captured by the camera at preset intervals when the robot is in motion;

[0018] When the business model recognition results affect the robot's planning decisions, the camera data at this time is set as key data and saved in a timestamp-named manner. Finally, the two sets of data are integrated to remove files with the same name.

[0019] Furthermore, the unlabeled data sets collected in the business pool are packaged and put into the model pool for multiple models of different scales for testing, and the test results of different models are saved;

[0020] A cross entropy strategy is used to screen valid data based on the test results of different models;

[0021] All data in the roughly collected business data set are classified according to D score Sort in ascending order and select the first preset proportion of data as the initial screening data.

[0022] Filter data by positioning differences across models.

[0023] Furthermore, this patent uses the intersection-over-union (IOU) method to calculate the direct positioning differences of each model.

[0024] The data after the initial selection in the business data set is divided into two parts according to D bbox Sort in ascending order and select the first preset proportion again as the final screening data set result.

[0025] Furthermore, active learning is introduced to manually fine-tune the output results of the model, remove duplicate and invalid data, put the adjusted data into the data pool, and update the model pool images, calibration files and training files.

[0026] A robot data collection and iterative training system based on active learning technology, comprising a data pool module, a model pool module, a business pool module, an alternative data pool module and a manual review module;

[0027] The data pool module is used to store the business data collected and annotated by the robot camera, and transmit the business data to the model pool module;

[0028] The model pool module includes a target detection reference model group with multiple parameter scales and a business model, which is used to obtain and process the task data stored in the data pool module;

[0029] The business pool module is used by the robot to set the standard for roughly collecting business data in various business scenarios;

[0030] The candidate data pool module is used to package the data sets and put them into the model pool for multiple models of different scales for testing;

[0031] The manual review module is used for manual review of the data set, and fine-tuning the output results of the model, eliminating duplicate and invalid data, and putting the adjusted data into the data pool, updating the model pool image, calibration files and training text.

[0032] A computer-readable storage medium storing a computer program, characterized in that when the computer program is executed by a processor, the method for iterative training of robot data collection based on active learning technology described in the above paragraph is implemented

[0033] Compared with the prior art, the present invention has the following technical effects:

[0034] This patent uses active learning technology to realize a semi-supervised robot data collection iteration system, which greatly improves the effectiveness of data collection and reduces the cost of manual labeling. Specifically, the content of the present invention is mainly to obtain some image data collected by robots, use the robot's alternative data pool to store roughly collected business data, and use the cross entropy strategy to screen the valid data in the roughly collected business data; use YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model to perform many-to-one detection on the roughly collected business data, increase the confidence of the detection, use a large amount of labeled image data to train and test the YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model, and integrate manual labeling experience to optimize the model and further increase the credibility of the detection; after continuous selection, the number of manual labeling is finally reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0036] Figure 1 A flow chart of a robot data collection and iterative training method based on active learning technology provided by an embodiment of the present invention;

[0037] Figure 2 A schematic diagram of IOU calculation provided by an embodiment of the present invention;

[0038] Figure 3 A schematic diagram of a system for iterative training of robot data collection based on active learning technology provided by an embodiment of the present invention;

[0039] Figure 4 A business module operation flow chart is provided in the following;

[0040] Figure 5 An alternative data module processing flow chart is provided;

[0041] Figure 6 A schematic diagram of a circuit structure of a controller provided in an embodiment of the present invention;

[0042] Table 1 is a table of model reference values. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical scheme and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the claims of the accompanying drawings.

[0044] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, all within the scope of protection of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in the present invention do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.

[0045] In some embodiments, Figure 1 A flowchart of a robot data collection iterative training method based on active learning technology is provided, including the following steps:

[0046] S1. Take a preset proportion of the labeled image data as training data, and take the remaining proportion of the image data as test data, wherein the labeled data includes pseudo-labeled data, manually labeled data, and business data sets that have been labeled by training models;

[0047] S2. Establish a supervised deep learning model, and use the training data to train the deep learning model and optimize the supervised deep learning model;

[0048] S3. Using the test data to detect the confidence of the detection result of the supervised deep learning model;

[0049] S4. Formulate a strategy for collecting rough business data sets by robots, and collect rough business data sets. The robot adopts a certain business data strategy to collect samples, which can reduce the time for further processing samples to a certain extent.

[0050] S5. Introduce active learning courses to guide the active learning process to mine and manually annotate low-confidence samples in the collected rough business data. Low-confidence samples cannot be obtained and need to be manually annotated. Of course, the annotated data includes pseudo-annotated data and manually annotated data, which can be looped to steps S1-S3 to realize continuous optimization and detection of the supervised deep learning model, thereby increasing the confidence of the annotation of the supervised deep learning model.

[0051] In this embodiment, it also includes: collecting and saving the marked business data; marking all the targets to be detected in the picture, recording each target category and location information. Specifically, the data pool stores the business data collected and marked by the robot camera, and each picture file corresponds to the same-named XML format file. The annotation style adopts PASCAL VOC, and all the targets to be detected in the picture are marked, and each target category and location information are recorded for the deep model training of supervised learning. Schematically, 70% of the data are randomly extracted from the data pool as training data, and the remaining 30% of the data are used as test data. Of course, the extraction ratio is not necessarily 50%, which is related to the cardinality of the sample. In the implementation of some training and testing, in theory, the more samples, the higher the model optimization degree and the higher the credibility of the detection result. In actual training, if you want to achieve a sufficiently optimized model, you need a lot of time and samples to train the model. In this application, the marked pictures are circulated to process the data model, and the manual annotation experience is integrated into the processing process to continuously optimize the model; in addition, the names of such data pictures are saved in two files, train.txt and test.txt. The names of the files are not limited to this case, and they only need to be used to distinguish the two files.

[0052] In this embodiment, the YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model are trained respectively using the marked data by stochastic gradient descent, SGD and momentum methods. After multiple trainings, the training is terminated to save the parameters of each detector network. Specifically, the model pool module includes a target detection reference model group with multiple parameter scales and a business model. Usually, due to the computing power limitations of the robot-side device and the requirements for real-time performance, the business model (YogoMini) has the smallest parameter scale and a lower recognition rate. The reference model group of this patent includes 3 models with parameter scales (YogoSmall, YogoMedium, YogoBig), of which, 4 model parameter table 1:

[0053] Table 1 Model parameter values

[0054]

[0055]

[0056] Referring to the labeled data in the data pool, the YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model in the model pool are trained respectively. The training method adopts the stochastic gradient descent method SGD+momentum method. Preferably, the learning momentum parameter is set to 0.9, the convolution parameter L2 regularization penalty coefficient is set to 0.001, and the learning rate is a polynomial slow decrease.

[0057] In the preferred technology of this embodiment, the training is terminated after 100 training times and the parameters of each detector network are saved. In theory, the more training times, the higher the degree of optimization of the YogoMini training model, the YogoSmall training model, the YogoMedium training model and the YogoBig training model. However, in order to save time, the samples are trained by training 100 times.

[0058] In this embodiment, the standard for roughly collecting business data is set;

[0059] Implement tracking points at the robot motion decision layer. When the robot is in motion, specifically, save the data captured by the camera at preset intervals; more specifically, when the business model recognition results affect the robot's planning decisions, the camera data at this time is set as key data and saved in a timestamp naming manner. Finally, the two sets of data are integrated to remove files with the same name. The robot sets a standard for roughly collecting business data in each business scenario. Implement tracking points at the robot motion decision layer. When the robot is in motion, save the data captured by the camera at 1 second intervals. At the same time, when the business model recognition results affect the robot's planning decisions, the camera data at this time is set as key data and saved in a timestamp naming manner. Finally, the two sets of data are integrated to remove files with the same name.

[0060] In this embodiment, the unlabeled data sets collected in the business pool are packaged and put into four models of different scales in the model pool for testing. The four different models are YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model, and the test results of different models are saved.

[0061] Result i =obj(score,x1,y1,x2,y2)(i=1,2,3,4)

[0062] Among them, the (x1, y1, x2, y2) represents the box coordinates of the network prediction result, x1, y1 represent the coordinates of the upper left corner, x2, y2 represent the coordinates of the lower right corner, and this box is used to locate the position of the target in the picture.

[0063] According to the test results of different models, this patent defines a cross entropy strategy to screen valid data. The cross entropy (CE) is defined as follows:

[0064] CE(s1,s2)=s2ln(s1)+(1-s2)ln(1-s1)

[0065] Among them, S1 and S2 are input parameters of the function, wherein S represents 4 model confidences (Score), S1 and S2 come from the confidences of two models in the YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model respectively. Schematically, for example, comparing the difference between YogoMini and YogoSmall, s1 is the confidence score1 given by yogomini, and s2 is the confidence score2 given by yogosmall.

[0066] Define the difference D of 4 model confidence scores score as follows:

[0067]

[0068] Specifically, D score The calculation process is:

[0069] D score =CE(s1+s2)+CE(s2+s3)+CE(s3+s4)

[0070] Among them, S1, S2, S3 and S4 represent the confidence scores of YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model respectively.

[0071] Confidence is introduced into the model to assess the reliability of the data. All data in the roughly collected business data set are classified according to D score Sort in ascending order and select 70% of the data as the initial screening data.

[0072] Then, according to the difference in model positioning (x1, y1, x2, y2) of YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model, the data is filtered, where x1, y1, x2, y2 represent the filtered data of YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model respectively, and the filtered data of YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model have different (x1, y1, x2, y2), where (x1, y1, x2, y2) represent the box coordinates of the network prediction results, x1, y1 represent the upper left corner, x2, y2 represent the coordinates of the lower right corner, and this box is used to locate the position of the target in the picture.

[0073] This patent uses the intersection over union (IOU) method to calculate the direct positioning differences of each model. The IOU calculation formula is as follows:

[0074] IOU=C / (A+BC)

[0075] in addition, Figure 2 An IOU calculation diagram is provided. In the figure, the overlapping parts of parts A and B form part C. Among them, in the filtered data (x1, y1, x1, y2) obtained from the YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model, x1 and x2 may overlap, which is the target C part. An intersection-and-union process is performed to filter out the final data.

[0076] Specifically, the (x1, y1, x2, y2) of the screening data of the YogoMini training model, the YogoSmall training model, the YogoMedium training model and the YogoBig training model are defined and differentiated. bbox Processing, schematically, the above-mentioned intersection and union ratio processing is performed on (bbox1, bbox2), and the result of the intersection and union ratio processing is further processed logarithmically (the logarithmic function is in(x)), and then the logarithmic processing results are summed to obtain the final selected data D bbox The processing steps are as follows:

[0077] D(bb0x1,bbox2)=ln(IOU(bbox1,bbox2))

[0078]

[0079] Among them, Bbox2 and bbox1 are the prediction results of the two networks respectively, and these two results are from two different YogoMini training models, YogoSmall training model, YogoMedium training model and YogoBig training model, such as the measurement results of Yogomini and Yogosmall. Schematically, Bbox2 and bbox1 are the prediction results of the two networks respectively, and these two results are from two different networks such as Yogomini and Yogosmall, and the data after the initial selection is obtained in the business data set.

[0080] In this embodiment, the data after the initial selection in the business data set is sorted according to D bbox Sort in ascending order and select 70% of the data again as the final screening data set, and use the business model output results as pre-labeling results for the next step.

[0081] In this embodiment, active learning is introduced to manually fine-tune the output results of the model, remove duplicate and invalid data, put the adjusted data into the data pool, update the model pool image, calibration file and training file.

[0082] In some embodiments, Figure 3 A system for robot data collection and iterative training based on active learning technology is provided, including: a data pool module, a model pool module, a business pool module, an alternative data pool module and a manual review module;

[0083] The data pool module is used to store the business data collected and annotated by the robot camera, and transmit the business data to the model pool module;

[0084] The model pool module includes a target detection reference model group with multiple parameter scales and a business model, which is used to obtain and process the task data stored in the data pool module;

[0085] The business pool module is used by the robot to set the standard for roughly collecting business data in various business scenarios;

[0086] The candidate data pool module is used to package the data sets and put them into the model pool for multiple models of different scales for testing;

[0087] The manual review module is used for manual review of the data set, and fine-tuning the output results of the model, eliminating duplicate and invalid data, and putting the adjusted data into the data pool, updating the model pool image, calibration files and training text.

[0088] (1) Data pool module

[0089] The data pool stores the business data collected and annotated by the robot camera. Each image file corresponds to an XML file with the same name. The annotation style uses PASCAL VOC to annotate all the targets to be detected in the image, and record the category and location information of each target for deep model training of supervised learning. 70% of the data is randomly extracted from the data pool as training data, and the remaining 30% of the data is used as test data. The names of these data images are saved in two files, train.txt and test.txt.

[0090] (2) Model pool module

[0091] The model pool module includes YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model;

[0092] A many-to-one approach is used to process unlabeled image data.

[0093] (3) Business pool module

[0094] The business pool module includes business model, coarse collection data pool, robot and decision planning module; Figure 4 A business module operation flow chart is provided in the article. In each business scenario, the robot sets the standard for roughly collecting business data. The robot implements tracking at the robot motion decision layer. When the robot is in motion, the data captured by the camera is saved every 1 second. At the same time, when the business model recognition result affects the robot's planning decision, the camera data at this time is set as key data and saved in the form of timestamp naming. Finally, the two sets of data are integrated to remove files with the same name.

[0095] (4) Alternative data modules

[0096] Figure 5 A processing flow chart of an alternative data module is provided, wherein the alternative data module further includes a model pool and an alternative data pool, wherein the alternative data pool packages the unlabeled data sets collected in the business pool and puts them into the model pool respectively, and tests the models of different scales using YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model, and saves the test results of different models;

[0097] In addition, the alternative data pool also stores roughly collected business data, and uses the cross entropy strategy to screen out valid data from the roughly collected business data.

[0098] The roughly collected business data in the candidate pool is processed by the model pool according to D score Sort in ascending order and select 70% of the data as the initial screening data. bbox70% of the data are extracted in ascending order, and the final 70% of the extracted data and the test results of different models are combined to form a dataset to be labeled.

[0099] (5) Manual review module

[0100] Manually fine-tune the output results of the model, eliminate duplicate and invalid data, put the adjusted data into the data pool, update the model pool images, calibration files and training files.

[0101] In order to facilitate the understanding of the content of the present invention, it is necessary to explain that the research field of machine learning includes supervised learning, unsupervised learning, semi-supervised learning, reinforcement learning and many other models. For supervised learning and reinforcement learning, a certain amount of labeled data is often required, that is, when training the model, all or part of the data needs to be labeled accordingly before the model can be trained.

[0102] Scholars refer to this direction as active learning, which is to reduce the cost of human annotation through some technical means or mathematical methods. In the whole process of machine learning modeling, there are parts and links of human participation, and the appropriate selected sets are selected for manual annotation through robot learning methods.

[0103] The main idea of ​​the present invention is to obtain sample data that is difficult to classify through machine learning methods, have them manually confirm and review them again, and then train the manually labeled data again using a supervised learning model or a semi-supervised learning model, gradually improve the model's effect, and integrate manual experience into the machine learning model.

[0104] Specifically, the content of the present invention is mainly to obtain some image data collected by robots, use the robot's alternative data pool to also store roughly collected business data, and use the cross-entropy strategy to screen the valid data in the roughly collected business data; use YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model to perform many-to-one data detection on the roughly collected business data, thereby increasing the confidence of the detection, and use a large amount of labeled image data to train and test the YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model, and at the same time integrate manual labeling experience to optimize the model and further increase the credibility of the detection; after continuous selection, the number of manual labeling is finally reduced.

[0105] Figure 3 Schematic diagram of a circuit structure of a controller provided by an embodiment of the present invention. Figure 6As shown, the controller includes one or more processors 61 and a memory 62. Among them, Figure 6 A processor 61 is taken as an example.

[0106] The processor 61 and the memory 62 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0107] The memory 62, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the robot data collection and iterative training method based on active learning technology in the embodiment of the present invention. The processor 61 executes various functional applications and data processing of the robot's multi-task delivery device by running the non-volatile software programs, instructions and modules stored in the memory 62, that is, realizes the robot data collection and iterative training method based on active learning technology provided by the above method embodiment and the functions of each module or unit of the above device embodiment.

[0108] The memory 62 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 62 may optionally include a memory remotely arranged relative to the processor 61, and these remote memories may be connected to the processor 61 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0109] The program instructions / modules are stored in the memory 62, and when executed by the one or more processors 61, the robot data collection iterative training method based on active learning technology of the robot in any of the above method embodiments is executed.

[0110] An embodiment of the present invention further provides a non-volatile computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are executed by one or more processors, such as Figure 6 A processor 61 in the embodiment may enable the one or more processors to execute the robot data collection iterative training method based on active learning technology of the robot in any of the above method embodiments.

[0111] An embodiment of the present invention also provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by an electronic device, the electronic device executes any one of the robot data collection iterative training methods based on active learning technology.

[0112] The above described device or equipment embodiments are merely illustrative, wherein the unit modules described as separate components may or may not be physically separated, and the components displayed as module units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network module units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they may still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

[0115] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0116] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0117] The above is a detailed introduction to a robot inter-building transportation method and equipment provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A robot data collection iterative training method based on active learning technology, characterized in that: The steps include: S1. Take a preset proportion of the labeled image data as training data, and take the remaining proportion of the image data as test data; S2. Establishing a supervised deep learning model, and training the deep learning model with the training data to optimize the supervised deep learning model; S3. Using the test data to detect the confidence of the detection result of the supervised deep learning model; S4, formulate a strategy for collecting rough business data sets by robots, and collect rough business data sets; S5,Introduce active learning courses to guide active learning process mining to manually annotate low-confidence samples in the collected rough business data; It also includes: collecting and saving labeled business data; Mark all the targets to be detected in the image and record the category and location information of each target; Set standards for collecting rough business data; Implement tracking points at the robot motion decision layer, and save the data captured by the camera at preset intervals when the robot is in motion; When the business model recognition results affect the robot's planning decisions, the camera data at this time is set as key data and saved in a timestamp-named manner. Finally, the two sets of data are integrated to remove files with the same name. The unlabeled data sets collected in the business pool are packaged and put into four models of different scales in the model pool for testing, and the test results of different models are saved; the four different models are YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model; the YogoMini training model is a business model, and its parameter scale is smaller than the parameter scale of any one of the YogoSmall training model, YogoMedium training model and YogoBig training model; the YogoSmall training model, YogoMedium training model and YogoBig training model are all parameter scale models, and the parameter scales of the YogoSmall training model, YogoMedium training model and YogoBig training model increase in sequence; According to the test results of different models, the cross entropy strategy is used to screen valid data; the cross entropy is defined as follows: CE(s1,s2)=s2 ln(s1)+(1-s2)ln(1-s1) Among them, CE represents cross entropy, s1 and s2 represent the input parameters of the function, and s1 and s2 come from the confidence scores of the two models in the YogoMini training model, YogoSmall training model, YogoMedium training model, and YogoBig training model respectively; All data in the roughly collected business data set are classified according to D score Sort in ascending order and select a preset proportion of data as the initial screening data; D score Indicates the differentiation of the confidence scores of the four models, D score The calculation process is: D score =CE(s1+s2)+CE(s2+s3)+CE(s3+s4) Among them, s1, s2, s3 and s4 represent the confidence scores of each model in the YogoMini training model, YogoSmall training model, YogoMedium training model and YogoBig training model respectively; Filter data according to the positioning differences of each model; The intersection and union method is used to calculate the direct result positioning differences of each model. The data after the initial selection in the business data set is divided into two parts according to D bbox Sort in ascending order, and select the first preset proportion of data again as the final screening data set result; D(bbox i ,bbox i+1 )=ln(IOU(bbox i ,bbox i+1 )), where bbox i and bbox i+1 They are the prediction results of the two networks, which are from two different YogoMini training models, YogoSmall training model, YogoMedium training model and YogoBig training model. IOU means intersection-over-union ratio. Active learning is introduced to manually fine-tune the output results of the model, remove duplicate and invalid data, put the adjusted data into the data pool, update the model pool images, calibration files and training files.

2. The robot data collection iterative training method based on active learning technology according to claim 1 is characterized in that: The specific steps of S1 include: randomly extracting a first preset proportion of data from the data pool as training data, and the remaining proportion of data as test data, and saving the names of such data pictures in two files with different names.

3. The robot data collection iterative training method based on active learning technology according to claim 1 is characterized in that: The labeled data were trained using the YogoMini training model, the YogoSmall training model, the YogoMedium training model, and the YogoBig training model using stochastic gradient descent, SGD, and momentum methods, respectively; After multiple trainings, the training is terminated and the network parameters of each detector are saved.

4. A system for implementing the robot data collection iterative training method based on active learning technology as claimed in claim 1, characterized in that: Data pool module, model pool module, business pool module, alternative data pool module and manual review module; The data pool module is used to store the business data collected and annotated by the robot camera, and transmit the business data to the model pool module; The model pool module includes a target detection reference model group with multiple parameter scales and a business model, which is used to obtain and process the task data stored in the data pool module; The business pool module is used by the robot to set the standard for roughly collecting business data in various business scenarios; The candidate data pool module is used to package the collected unlabeled data sets and put them into the model pool for model testing of multiple models of different scales; The manual review module is used for manual review of the data set, and fine-tuning the output results of the model, eliminating duplicate and invalid data, and placing the adjusted data into the data pool, updating the model pool image, calibration files and training files.

5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the robot data collection iterative training method based on active learning technology as described in any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Universal object detection system and method for improving active learning based on self-monitoring process

    CN108985334A