Pre-training method and system for object recognition and segmentation of Gram-stained images

By using massive unlabeled data and a cyclic pre-training framework in the field of medical digital images, combined with the Weight Freezing method and the classless label conversion function, the problem of difficulty in medical image annotation and under-fitting or over-fitting in training is solved, improving the Model generalization performance and recognition efficiency reduce diagnostic costs.

CN116797853BActive Publication Date: 2024-10-29JIANGSU BIOPERFECTUS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310971163.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-02
Publication Date
2024-10-29
Estimated Expiration
2043-08-02

AI Technical Summary

Technical Problem

Existing technologies in the field of medical digital images, especially target recognition and segmentation of Gram-stained cell images, are limited by the richness of sample categories and the difficulty of extracting target features, and cannot effectively deal with multi-category target recognition problems in complex scenarios. And reliance on manual annotation leads to misdiagnosis, missed diagnosis and high costs.

Method used

Using massive unlabeled data combined with a cyclic pre-training framework, through iterative optimization of the target recognition and segmentation model, the impact of insufficient medical image annotation data on model performance is reduced. The Weight Freezing method is used to fix the model weights and remove them through the category-free label conversion function. Category information, adjust the inference confidence threshold to improve model generalization performance.

Benefits of technology

It significantly improves the model generalization performance, reduces the impact of medical image annotation data on the model, improves the ability to convert results from doctor annotation data to algorithm efficiency, reduces misdiagnosis and missed diagnosis cases, and reduces diagnostic costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116797853B_ABST
    Figure CN116797853B_ABST
Patent Text Reader

Abstract

The present invention proposes a method and system for pre-training target recognition and segmentation of Gram-stained images, which belongs to the field of digital image processing technology. In view of the problems of difficulty in labeling medical images, under-fitting or over-fitting in training, the target recognition and segmentation pre-training method combines massive unlabeled data and a cyclic pre-training framework to improve the generalization performance of the model, thereby achieving the effect of improving the generalization performance of the model, and by reducing the impact of insufficient medical image labeling data on model performance, the ability to convert results from doctor-labeled data to algorithm efficiency improvement is significantly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of digital image processing and relates to a target recognition and segmentation pre-training method and system for Gram-stained images. Background Art

[0002] Gram staining images are cell images obtained after using Gram staining. Gram staining is a commonly used method for detecting infectious bacteria in the diagnosis of infectious diseases. At the same time, the detection and analysis of Gram staining cell images can help medical staff quickly determine the patient's status or condition. However, the detection and identification of pathogenic bacteria in Gram staining cell images is highly dependent on the doctor's professional knowledge and clinical experience. The traditional manual microscopic detection method is not only time-consuming, but also requires high professional skills of the operator and is easily affected by objective environment and human subjective factors. In recent years, computer vision, image processing technology and other methods commonly used in the field of medical digital images require manual labor to spend a lot of time on image preprocessing and target feature extraction. Although this method can improve the efficiency of target recognition to a certain extent compared with manual microscopy, it is limited by the richness of the sample categories used and the difficulty of extracting features of different categories of targets, and cannot well cope with the recognition problem of multiple types of targets in complex scenes.

[0003] Although automatic recognition in the field of medical digital images has made some progress, the mainstream deep learning models used require a large amount of manually labeled data and clear sampled cell image data for training to achieve a high accuracy rate. If we only consider relying on medical staff to manually identify or manually label a large number of pathogens, it will easily lead to more misdiagnoses, missed cases and higher costs. Therefore, a large amount of unlabeled data is used to improve the automatic recognition effect of instance detection and segmentation, so as to better assist doctors in identifying and counting pathogenic bacteria. This has important clinical significance for helping medical staff quickly diagnose diseased cells. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and provide a method and system for pre-training object recognition and segmentation of Gram-stained images. The method combines massive unlabeled data with a cyclic pre-training framework to improve the generalization performance of the model. By reducing the impact of insufficient medical image annotated data on model performance, the ability to transform results from doctor-annotated data to algorithm efficiency improvement is significantly improved.

[0005] The purpose of the present invention can be achieved by the following scheme:

[0006] In a first aspect, the present invention provides a method for pre-training target recognition and segmentation of Gram-stained images, comprising the following steps:

[0007] Step S1, collect Gram-stained images, annotate the target area of ​​the target image, and combine the different category annotations and the corresponding original images to form a target recognition data set D1-1 and an image segmentation data set D1-2, and the unannotated original images form another data set D1-3;

[0008] Step S2, dividing the training set and the validation set on the data sets D1-1 and D1-2 respectively, to obtain the target recognition model M1-1 and the image segmentation model M1-2;

[0009] Step S3, using the models M1-1 and M1-2 to infer the data set D1-3 respectively, and using the category-free label conversion function to remove the category information, to obtain the data set D2 containing the category-free label;

[0010] Step S4, dividing the unlabeled dataset D2 into training and validation sets to obtain a foreground object recognition and segmentation model, i.e., a pre-training model M2;

[0011] Step S5: Use the Weight Freezing method to fix the weights of the Backbone and segmentation branches of the pre-trained model M2, train the target recognition branch on the data set D1-1, and adjust the weight of the target recognition branch;

[0012] Step S6, using the Weight Freezing method to fix the weights of the Backbone and target recognition branches of the pre-trained model M2, training the image segmentation branch on the data set D1-2, and obtaining the final model M3;

[0013] Step S7, adjusting the detection result of the final model M3 on the image to be identified by adjusting the reasoning confidence threshold of each target;

[0014] Step S8, repeat the pre-training framework of step S2 to step S6, and use the model obtained in step S7 to re-label the data set D1-3 to perform iterative loop optimization;

[0015] Alternatively, the pre-training framework of steps S2 to S6 is repeated to perform iterative cycle optimization using new unlabeled Gram staining image data.

[0016] Preferably, in step S1, the target area is divided into target selection and target coloring according to the difficulty of labeling; wherein the target selection corresponds to the labeling data used in the target recognition data set, and the target coloring corresponds to the labeling data used in the image segmentation data set.

[0017] Preferably, the target frame selection categories include spores, spores, leukocytes, trichomonas, epithelium, and parabasal epithelium; the target coloring categories include hyphae, positive bacilli, negative bacilli, streptococci, cocci, Mobiluncus, and anandamide.

[0018] Preferably, in step S1, the annotation is manual annotation.

[0019] Preferably, in step S2, the division of training and validation sets is performed using a powerful target recognition Fast R-CNN model or an image segmentation Unet model for training, and the best detection effect or the best segmentation effect is achieved on the validation set, and by setting a suitable inference threshold, it is ensured that most of the boxed targets or colored targets can be detected.

[0020] Preferably, step S3 comprises the following steps:

[0021] Step S3.1: Use model M1-1 and a suitable inference threshold to infer dataset D1-3, and save the inferred text file to form the target recognition annotation in dataset D2; use model M1-2 and a suitable inference threshold to infer dataset D1-3, and save the inferred Mask image file to form the image segmentation annotation in dataset D2;

[0022] Step S3.2: normalize the coordinate information in the target recognition annotation text file in the data set D2, and form the same annotation file together with the Mask image file;

[0023] Step S3.3: Create a non-class label conversion function for the annotation file obtained in step S3.2 to remove the class information value in the single annotation file, and save it again as an annotation file without class information.

[0024] Preferably, in step S4, the divided training and validation sets are trained using a powerful multi-task model for target recognition and image segmentation. The powerful multi-task model for target recognition and image segmentation is a commonly used model in the art, such as but not limited to any one of Mask RCNN, OmniDet, and MultiTask-CenterNet.

[0025] Preferably, in step S4, the foreground is a region where the marked object exists.

[0026] Preferably, step S4 comprises the following steps:

[0027] Step S4.1: Set the detection category of the target recognition branch to 2, and adjust the output value to the target coordinates and the number of categories, and at the same time change the output category number of the image segmentation branch to 2;

[0028] Step S4.2: Input the training samples and the unlabeled dataset D2 into the foreground object recognition and segmentation model to ensure that the output of each branch matches the input data;

[0029] Step S4.3: Calculate the losses of the object recognition branch and the image segmentation branch respectively, and calculate the weighted average of the two losses;

[0030] Step S4.4: Use the weighted average loss calculated in step S4.3 as the overall loss function to train the model.

[0031] Preferably, in step S5, the weight of the target recognition branch is adjusted until the model converges, indicating that the training of the target recognition branch is completed.

[0032] Preferably, in step S6, the image segmentation branch is trained on the data set D1-2 until the model converges, that is, the training of the branch is completed, and the final model M3 is obtained after both the recognition and segmentation branches are trained.

[0033] In a second aspect, the present invention provides a system for a method for pre-training a target recognition and segmentation of a Gram-stained image, the system comprising:

[0034] Module A1, collect Gram-stained images, annotate the target area of ​​the target image, and combine the different category annotations and the corresponding original images to form a target recognition dataset D1-1 and an image segmentation dataset D1-2, and the unannotated original images form another dataset D1-3;

[0035] Module A2, divide the training and validation sets on the data sets D1-1 and D1-2 respectively, and obtain the target recognition model M1-1 and the image segmentation model M1-2;

[0036] Module A3, using models M1-1 and M1-2 to infer data set D1-3 respectively, and using the category-free label conversion function to remove the category information, to obtain data set D2 containing category-free labels;

[0037] Module A4: Divide the training and validation sets on the unlabeled dataset D2 to obtain a foreground object recognition and segmentation model, i.e., a pre-trained model M2;

[0038] Module A5: Use the Weight Freezing method to fix the weights of the Backbone and segmentation branches of the pre-trained model M2, train the target recognition branch on the data set D1-1, and adjust the weight of the target recognition branch;

[0039] Module A6: Use the Weight Freezing method to fix the weights of the Backbone and target recognition branches of the pre-trained model M2, train the image segmentation branch on the dataset D1-2, and obtain the final model M3;

[0040] Module A7, by adjusting the reasoning confidence threshold of each target, adjusting the detection result of the final model M3 on the image to be identified;

[0041] Module A8, repeat the pre-training framework from module A2 to module A6, use the model obtained from module A7 to re-label the dataset D1-3 and perform iterative loop optimization;

[0042] Alternatively, repeat the pre-training framework of modules A2 to A6 and perform iterative cycle optimization using new unlabeled Gram staining image data.

[0043] Preferably, the module A3 comprises:

[0044] Module A3.1: Use model M1-1 and appropriate inference threshold to infer dataset D1-3, and save the inferenced text file to form the target recognition annotation in dataset D2; use model M1-2 and appropriate inference threshold to infer dataset D1-3, and save the inferenced Mask image file to form the image segmentation annotation in dataset D2;

[0045] Module A3.2: Normalize the coordinate information in the target recognition annotation text file in the dataset D2 and combine it with the mask image file to form the same annotation file;

[0046] Module A3.3: Create a non-class label conversion function for the annotation file obtained in module A3.2 to remove the class information value in a single annotation file and save it again as an annotation file without class information.

[0047] Preferably, the module A4 comprises:

[0048] Module A4.1: Set the detection category of the target recognition branch to 2, and adjust the output value to the target coordinates and the number of categories. At the same time, change the output category number of the image segmentation branch to 2.

[0049] Module A4.2: Input the training samples and the unlabeled dataset D2 into the foreground object recognition and segmentation model to ensure that the output of each branch matches the input data;

[0050] Module A4.3: Calculate the losses of the object recognition branch and the image segmentation branch respectively, and calculate the weighted average of these two losses;

[0051] Module A4.4: Use the weighted average loss calculated in module A4.3 as the overall loss function to train the model.

[0052] Compared with the prior art, the present invention has the following beneficial effects:

[0053] By adopting a cyclic pre-training framework, the present invention solves the problems of difficulty in annotating medical images and under-fitting or over-fitting in training. The pre-training method makes full use of a large amount of unlabeled data information to achieve the effect of improving the generalization performance of the model. At the same time, combining the pre-training framework of the present invention with a multi-task detection algorithm can reduce the impact of insufficient medical image annotation data on the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0055] Figure 1 Flowchart of the method and system for pre-training object recognition and segmentation of Gram-stained images;

[0056] Figure 2 Training flow chart for the target recognition branch of the pre-trained model M2;

[0057] Figure 3 This is the training flow chart of the image segmentation branch of the pre-trained model M2;

[0058] Figure 4 Flowchart for training multi-task models for object recognition and image segmentation;

[0059] Figure 5 Select the target frame in Example 1;

[0060] Figure 6 Color the mask image for the target in Example 1. DETAILED DESCRIPTION

[0061] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The following examples are implemented on the premise of the technical solution of the present invention, provide detailed implementation methods and specific operation processes, and will help those skilled in the art to further understand the present invention. It should be pointed out that the protection scope of the present invention is not limited to the following embodiments, and several adjustments and improvements made under the premise of the concept of the present invention all belong to the protection scope of the present invention.

[0062] Example 1

[0063] This embodiment provides a method for pre-training target recognition and segmentation of Gram-stained images. Figure 1 As shown, the following steps are included:

[0064] Step S1: Collect Gram-stained images and select some stained cell images from them. Manually annotate the areas of specific cell targets and bacterial species targets, and divide the annotated targets into two categories: target selection and target coloring according to the difficulty of annotation. The target selection categories include spores, spores, leukocytes, trichomonas, epithelium, and parabasal epithelium, and the target selection annotations and the original image are combined to form the target recognition dataset D1-1. The target coloring categories include hyphae, positive bacilli, negative bacilli, streptococci, cocci, Mobiluncus, and Yin-Yang bacilli, and the target coloring annotations and the original image are combined to form the image segmentation dataset D1-2. The remaining unlabeled massive data constitutes the dataset D1-3. The target selection annotation images are as follows: Figure 5 As shown, the mask of the target color-coded image is as follows Figure 6 shown.

[0065] Step S2: Divide the dataset D1-1 into training and validation sets. Use a powerful target recognition Fast R-CNN model for training, and determine whether the best detection effect is achieved on the validation set. If the best effect has not been achieved, continue training to adjust the model network structure, and repeat the above process to eventually achieve the effect of setting a suitable inference threshold to ensure that most of the framed targets can be detected. The trained target recognition model is named M1-1. Divide the labeled dataset D1-2 into training and validation sets. Use a powerful image segmentation Unet model for training, and determine whether the best segmentation effect is achieved on the validation set. If not, continue to adjust the model network structure during the training process. After the training is completed, set a suitable inference threshold to ensure that most of the colored targets can be detected. The trained image segmentation model is named M1-2.

[0066] Step S3: Use the model M1-1 obtained in step 2 to infer the data set D1-3, and use the obtained model M1-2 to infer the data set D1-3, and use the category-free label conversion function to remove the category information, so as to obtain the training set D2 containing the category-free label. The specific steps are as follows:

[0067] Step S3.1: Use model M1-1 and appropriate inference threshold to infer dataset D1-3, and save the inferenced text file to form the target recognition annotation in dataset D2. Use model M1-2 to infer dataset D1-3, and save the inferenced mask image file to form the image segmentation annotation in dataset D2;

[0068] Step S3.2: normalize the coordinate information in the target recognition annotation text file in the data set D2, and form the same annotation file with the Mask image file;

[0069] Step S3.3: For the annotation file obtained in step S3.2, create a category-free label conversion function to remove the category information value in the single annotation file, and save it again as an annotation file without category information.

[0070] Step S4: Divide the training and validation sets on the unlabeled dataset D2. Use a powerful multi-task model of target recognition and image segmentation for training (the training flow chart of the multi-task model of target recognition and image segmentation is as follows: Figure 4 As shown in the figure), the foreground target recognition and segmentation model M2 is obtained as the overall pre-training model; wherein the pre-training model M2 target recognition branch training flow chart is as follows Figure 2 As shown, the training flow chart of the image segmentation branch of the pre-trained model M2 is as follows Figure 3 As shown;

[0071] The specific steps are as follows:

[0072] Step S4.1: Set the detection category of the target recognition branch to 2, and adjust the output value to the target coordinates and the number of categories; at the same time, change the output category number of the image segmentation branch to 2;

[0073] Step S4.2: Input the training samples and the labeled text dataset without category information into the foreground object recognition and segmentation model to ensure that the output of each branch matches the input data;

[0074] Step S4.3: Calculate the losses of the object recognition branch and the image segmentation branch respectively, and calculate the weighted average of the two losses;

[0075] Step S4.4: Use the weighted average loss calculated in step S4.3 as the overall loss function to train the model.

[0076] Step S5: Use the Weight Freezing method to fix the weights of the Backbone and segmentation branches of the pre-trained model M2, and train the target recognition branch on the data set D1-1 to adjust the weight of the target recognition branch until the model converges, indicating that the training of the target recognition branch is completed.

[0077] Step S6: Use the Weight Freezing method to fix the weights of the Backbone and target recognition branches of the pre-trained model M2 in step S4, and train the image segmentation branch on the dataset D1-2 until the model converges, that is, the training of this branch is completed. After the recognition and segmentation branches are trained, the final model M3 is obtained.

[0078] Step S7: By adjusting the inference confidence threshold of each target, the detection result of the final model M3 on the image to be identified is adjusted.

[0079] Step S8: Repeat the pre-training framework from step S2 to step S6, and use the model obtained in step S7 to re-label the dataset D1-3 (or add new Gram staining images), and continue the cycle to improve the pre-training effect.

[0080] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.

[0081] In the description of the present application, it should be understood that the terms "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0082] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.

Claims

1. A method for pre-training object recognition and segmentation of Gram-stained images, comprising the following steps: Step S1, collect Gram-stained images, annotate the target area of ​​the target image, and combine the different category annotations and the corresponding original images to form a target recognition data set D1-1 and an image segmentation data set D1-2, and the unannotated original images form another data set D1-3; Step S2, dividing the training set and the validation set on the data sets D1-1 and D1-2 respectively, to obtain the target recognition model M1-1 and the image segmentation model M1-2; Step S3, using the models M1-1 and M1-2 to infer the data set D1-3 respectively, and using the category-free label conversion function to remove the category information, to obtain the data set D2 containing the category-free label; The step S3 comprises the following steps: Step S3.1: Use model M1-1 and a suitable inference threshold to infer dataset D1-3, and save the inferred text file to form the target recognition annotation in dataset D2; use model M1-2 and a suitable inference threshold to infer dataset D1-3, and save the inferred Mask image file to form the image segmentation annotation in dataset D2; Step S3.2: normalize the coordinate information in the target recognition annotation text file in the data set D2, and form the same annotation file together with the Mask image file; Step S3.3: Create a non-class label conversion function for the annotation file obtained in step S3.2 to remove the class information value in the single annotation file, and save it again as an annotation file without class information; Step S4, dividing the unlabeled dataset D2 into training and validation sets to obtain a foreground object recognition and segmentation model, i.e., a pre-training model M2; The step S4 comprises the following steps: Step S4.1: Set the detection category of the target recognition branch to 2, and adjust the output value to the target coordinates and the number of categories, and at the same time change the output category number of the image segmentation branch to 2; Step S4.2: Input the training samples and the unlabeled dataset D2 into the foreground object recognition and segmentation model to ensure that the output of each branch matches the input data; Step S4.3: Calculate the losses of the object recognition branch and the image segmentation branch respectively, and calculate the weighted average of the two losses; Step S4.4: Use the weighted average loss calculated in step S4.3 as the overall loss function to train the model; Step S5: Use the Weight Freezing method to fix the weights of the Backbone and segmentation branches of the pre-trained model M2, train the target recognition branch on the data set D1-1, and adjust the weight of the target recognition branch; Step S6, using the Weight Freezing method to fix the weights of the Backbone and target recognition branches of the pre-trained model M2, training the image segmentation branch on the data set D1-2, and obtaining the final model M3; Step S7, adjusting the detection result of the final model M3 on the image to be identified by adjusting the reasoning confidence threshold of each target; Step S8, repeat the pre-training framework of step S2 to step S6, and use the model obtained in step S7 to re-label the data set D1-3 to perform iterative loop optimization; Alternatively, the pre-training framework of steps S2 to S6 is repeated to perform iterative cycle optimization using new unlabeled Gram staining image data.

2. The method according to claim 1, characterized in that In step S1, the target area is divided into target selection and target coloring according to the difficulty of labeling; wherein, the target selection corresponds to the labeling data used in the target recognition dataset, and the target coloring corresponds to the labeling data used in the image segmentation dataset.

3. The method according to claim 2, characterized in that The target selection categories include spores, spores, leukocytes, trichomonas, epithelium, and parabasal epithelium; the target coloring categories include hyphae, positive bacilli, negative bacilli, streptococci, cocci, Mobiluncus, and Yin-Yang bacilli.

4. The method according to claim 1, characterized in that In step S2, the training and validation sets are divided by using a powerful target recognition Fast R-CNN model or an image segmentation Unet model for training, and the best detection effect or the best segmentation effect is achieved on the validation set. By setting a suitable inference threshold, it is ensured that most of the boxed targets or colored targets can be detected.

5. The method according to claim 1, characterized in that In step S4, the division of training and validation sets is performed by training using a powerful multi-task model of target recognition and image segmentation.

6. A system for pre-training method of object recognition and segmentation of Gram-stained images, characterized in that: The system comprises: Module A1, collect Gram-stained images, annotate the target area of ​​the target image, and combine the different category annotations and the corresponding original images to form a target recognition dataset D1-1 and an image segmentation dataset D1-2, and the unannotated original images form another dataset D1-3; Module A2, divide the training and validation sets on the data sets D1-1 and D1-2 respectively, and obtain the target recognition model M1-1 and the image segmentation model M1-2; Module A3, using models M1-1 and M1-2 to infer data set D1-3 respectively, and using the category-free label conversion function to remove the category information, to obtain data set D2 containing category-free labels; The module A3 comprises: Module A3.1: Use model M1-1 and appropriate inference threshold to infer dataset D1-3, and save the inferenced text file to form the target recognition annotation in dataset D2; use model M1-2 and appropriate inference threshold to infer dataset D1-3, and save the inferenced Mask image file to form the image segmentation annotation in dataset D2; Module A3.2: Normalize the coordinate information in the target recognition annotation text file in the dataset D2 and combine it with the mask image file to form the same annotation file; Module A3.3: Create a non-class label conversion function for the annotation file obtained in module A3.2 to remove the class information value in a single annotation file and save it again as an annotation file without class information; Module A4: Divide the training and validation sets on the unlabeled dataset D2 to obtain a foreground object recognition and segmentation model, i.e., a pre-trained model M2; The module A4 comprises: Module A4.1: Set the detection category of the target recognition branch to 2, and adjust the output value to the target coordinates and the number of categories. At the same time, change the output category number of the image segmentation branch to 2. Module A4.2: Input the training samples and the unlabeled dataset D2 into the foreground object recognition and segmentation model to ensure that the output of each branch matches the input data; Module A4.3: Calculate the losses of the object recognition branch and the image segmentation branch respectively, and calculate the weighted average of these two losses; Module A4.4: Use the weighted average loss calculated in module A4.3 as the overall loss function to train the model; Module A5: Use the Weight Freezing method to fix the weights of the Backbone and segmentation branches of the pre-trained model M2, train the target recognition branch on the dataset D1-1, and adjust the weight of the target recognition branch; Module A6: Use the Weight Freezing method to fix the weights of the Backbone and target recognition branches of the pre-trained model M2, train the image segmentation branch on the dataset D1-2, and obtain the final model M3; Module A7, by adjusting the reasoning confidence threshold of each target, adjusting the detection result of the final model M3 on the image to be identified; Module A8, repeat the pre-training framework from module A2 to module A6, use the model obtained from module A7 to re-label the dataset D1-3 and perform iterative loop optimization; Alternatively, repeat the pre-training framework of modules A2 to A6 and perform iterative cycle optimization using new unlabeled Gram staining image data.

Citation Information

Patent Citations

  • Intelligent detection and classified counting method for various types of bacilli in gynecological micro-ecology

    CN112966645A

  • Detection and identification method for spores in gynecological micro-ecology, equipment and storage medium

    CN113033417A