WO2024012255A1 - 语义分割模型训练方法、装置、电子设备及存储介质 - Google Patents
语义分割模型训练方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2024012255A1 WO2024012255A1 PCT/CN2023/104539 CN2023104539W WO2024012255A1 WO 2024012255 A1 WO2024012255 A1 WO 2024012255A1 CN 2023104539 W CN2023104539 W CN 2023104539W WO 2024012255 A1 WO2024012255 A1 WO 2024012255A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- segmentation
- map
- loss
- semantic
- sample image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/70—Labelling scene content, e.g. deriving syntactic or semantic representations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/088—Non-supervised learning, e.g. competitive learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/09—Supervised learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/26—Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/77—Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
- G06V10/774—Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/82—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
Definitions
- Embodiments of the present disclosure relate to the field of image processing technology, and in particular, to a semantic segmentation model training method, device, electronic device, and storage medium.
- Image semantic segmentation refers to the technology of segmenting objects expressing different meanings in the image into different targets by identifying the content in the image. Semantic segmentation of images is usually achieved by deploying a trained semantic segmentation model. , widely used in various applications.
- a lightweight semantic segmentation model needs to be trained and deployed on the terminal device.
- Embodiments of the present disclosure provide a semantic segmentation model training method, device, electronic device, and storage medium.
- embodiments of the present disclosure provide a semantic segmentation model training method, including:
- the teacher semantic segmentation model includes a first teacher network and a second teacher network, wherein the first teacher network has the structural characteristics of low depth and high width, and the second teacher network has Structural features of high depth and low width; process the sample image based on the teacher semantic segmentation model to obtain a first segmentation map and a second segmentation map, where the first segmentation map is the first teacher network's analysis of the sample image
- the result of semantic segmentation, the second segmentation map is the result of semantic segmentation of the sample image by the second teacher network; according to the sample image, the first segmentation map and the second segmentation map, Train a lightweight student semantic segmentation model to obtain the target semantic segmentation model.
- embodiments of the present disclosure provide a semantic segmentation model training device, including:
- An acquisition module is used to acquire a pre-trained teacher semantic segmentation model.
- the teacher semantic segmentation model includes a first teacher network and a second teacher network, wherein the first teacher network has structural characteristics of low depth and high width, and the The second teacher network has the structural characteristics of high depth and low width;
- a processing module configured to process the sample image based on the teacher semantic segmentation model to obtain a first segmentation map and a second segmentation map, wherein the first segmentation map is the semantic segmentation of the sample image by the first teacher network.
- the second segmentation map is the result of semantic segmentation of the sample image by the second teacher network;
- a training module configured to train a lightweight student semantic segmentation model based on the sample image, the first segmentation map, and the second segmentation map to obtain a target semantic segmentation model.
- an electronic device including:
- a processor and a memory communicatively connected to the processor
- the memory stores computer execution instructions
- the processor executes the computer execution instructions stored in the memory to implement the semantic segmentation model training method described in the first aspect and various possible designs of the first aspect.
- embodiments of the present disclosure provide a computer-readable storage medium.
- Computer-executable instructions are stored in the computer-readable storage medium.
- the processor executes the computer-executable instructions, the above first aspect and the first aspect are implemented. various possible designs for the semantic segmentation model training method described.
- embodiments of the present disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the semantic segmentation model training method described in the first aspect and various possible designs of the first aspect. .
- embodiments of the present disclosure provide a computer program that, when executed by a processor, implements the semantic segmentation model training method described in the first aspect and various possible designs of the first aspect.
- the semantic segmentation model training method, device, electronic device and storage medium provided by this embodiment obtain a pre-trained teacher semantic segmentation model.
- the teacher semantic segmentation model includes a first teacher network and a second teacher network, wherein, The first teacher network has the structural characteristics of low depth and high width, and the second teacher network has the structural characteristics of high depth and low width; the sample image is processed based on the teacher semantic segmentation model to obtain the first segmentation map and the second segmentation map, Wherein, the first segmentation map is the result of semantic segmentation of the sample image by the first teacher network, and the second segmentation map is the result of semantic segmentation of the sample image by the second teacher network; According to the sample image, the first segmentation map and the second segmentation map, a lightweight student semantic segmentation model is trained to obtain a target semantic segmentation model.
- the student semantic segmentation model is trained through the teacher semantic segmentation model composed of the first teacher network and the second teacher network with differentiated structural characteristics, the specific characteristics of the first teacher network and the second teacher network can be fully utilized, and from the two The complementary dimensions (width and depth) provide learnable knowledge for student semantic segmentation models and provide knowledge supervision for the training of student semantic segmentation models.
- Figure 1 is an application scenario diagram of the semantic segmentation model training method provided by an embodiment of the present disclosure
- Figure 2 is a schematic flowchart 1 of the semantic segmentation model training method provided by an embodiment of the present disclosure
- Figure 3 is a schematic structural diagram of a first teacher network provided by an embodiment of the present disclosure.
- Figure 4 is a schematic structural diagram of a second teacher network provided by an embodiment of the present disclosure.
- FIG. 5 is a flow chart of specific implementation steps of step S103 in the embodiment shown in Figure 2;
- Figure 6 is a schematic diagram of a process for generating a target supervision loss provided by an embodiment of the present disclosure
- Figure 7 is a schematic flowchart 2 of the semantic segmentation model training method provided by an embodiment of the present disclosure
- FIG 8 is a flow chart of specific implementation steps of step S207 in the embodiment shown in Figure 7;
- FIG. 9 is a flow chart of specific implementation steps of step S208 in the embodiment shown in Figure 7;
- Figure 10 is a schematic diagram of a process for obtaining target unsupervised loss provided by an embodiment of the present disclosure
- Figure 11 is a structural block diagram of a semantic segmentation model training device provided by an embodiment of the present disclosure.
- Figure 12 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- Figure 13 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present disclosure.
- Figure 1 is an application scenario diagram of the semantic segmentation model training method provided by the embodiment of the present disclosure.
- the semantic segmentation model training method provided by the embodiment of the present disclosure can be applied to the application scenario of model training before deploying a lightweight semantic segmentation model.
- the method provided by the embodiments of the present disclosure can be applied to terminal devices, servers and other devices used for model training.
- the server is taken as an example.
- pre-training is pre-stored in the server.
- the teacher semantic segmentation model, and the lightweight student semantic segmentation model to be trained (the lightweight model is shown in the figure).
- the server receives the training instructions sent by the developer user through the development terminal device, and uses the semantic segmentation model training method provided by the embodiment of the present disclosure to perform model training on the lightweight model until the model convergence conditions are met, and the target semantic segmentation model is obtained. Afterwards, the server receives the deployment instruction (not shown in the figure) sent by the terminal device and performs lightweight model deployment, that is, deploys the lightweight target semantic segmentation model to the user terminal device. After the deployment is completed, the server running in the user terminal device The target semantic segmentation model can provide image semantic segmentation services in response to application requests.
- FIG 2 is a schematic flowchart 1 of a semantic segmentation model training method provided by an embodiment of the present disclosure.
- the method of this embodiment can be applied to electronic devices with computing capabilities, such as model training servers, terminal devices, etc.
- This embodiment is introduced with the terminal device as the execution subject.
- the semantic segmentation model training method includes:
- Step S101 Obtain the pre-trained teacher semantic segmentation model.
- the teacher semantic segmentation model includes a first teacher network and a second teacher network.
- the first teacher network has the structural characteristics of low depth and high width
- the second teacher network has the structural characteristics of high depth and low width. Structural characteristics of width.
- the teacher semantic segmentation model is a pre-trained model with image semantic segmentation capabilities.
- the teacher semantic segmentation model includes a pre-trained first teacher network and a pre-trained second teacher network.
- the trained first teacher network Both the teacher network and the second teacher network have image semantic segmentation capabilities.
- the first teacher network has low depth
- the structural characteristics of high width are that the first teacher network has fewer network layers but more network output channels, that is, a "shallow and wide" network structure.
- Figure 3 is a schematic structural diagram of a first teacher network provided by an embodiment of the present disclosure.
- the first teacher network can be an encoder-decoder network structure, which includes four symmetrical settings.
- the first teacher network has the characteristics of low depth, that is, it has fewer network layers, but it also has the characteristics of high width, that is, (one or more ) network layer has a relatively large number of channels.
- the second teacher network has the structural characteristics of high depth and low width, that is, the second teacher network has more network layers but fewer network output channels, that is, a "deep and narrow” network structure.
- Figure 4 is a schematic structural diagram of a second teacher network provided by an embodiment of the present disclosure.
- the second teacher network can be an encoder-decoder network structure, which includes six symmetrical settings. network layers (shown as L1, L2, L3, L4, L5, L6 in the figure), the second teacher network has the characteristics of high depth, that is, it has a large number of network layers, but it also has the characteristics of low width, that is, The number of channels in the network layer(s) is relatively small.
- the aspect ratio coefficient of the first teacher network is less than or equal to the first threshold
- the aspect ratio coefficient of the second teacher network is greater than or equal to the second threshold
- the first threshold is less than the second threshold
- the depth and width are The ratio coefficient represents the ratio of the number of network layers to the number of network output channels.
- the corresponding first threshold and second threshold can be selected based on different business requirements (i.e., accuracy requirements, real-time requirements, etc.), and further a lightweight student semantic segmentation model can be trained based on the corresponding first teacher network and second teacher network.
- the first teacher network can be a Wide ResNet-34 network
- the second teacher network can be a ResNet-101 network.
- the specific implementation methods of the first teacher network and the second teacher network can be set according to specific needs and are not limited here.
- Step S102 Process the sample image based on the teacher's semantic segmentation model to obtain a first segmentation map and a second segmentation map.
- the first segmentation map is the result of semantic segmentation of the sample image by the first teacher network
- the second segmentation map is the second segmentation map. Results of semantic segmentation of sample images by the teacher network.
- the preset sample images are input to the first teacher network and the second teacher network for processing, and the first teacher network and the second teacher network can be obtained respectively.
- the output prediction results are the first segmentation map and the second segmentation map. Due to the difference in network structure between the first teacher network and the second teacher network, the first segmentation map and the second segmentation map output are also different.
- the first teacher network based on its structural characteristics of low depth and high width, the first teacher network has With a sufficient number of channels, the first teacher network is good at capturing diverse local content perception information and is conducive to modeling the contextual relationship between pixels; and based on its high-depth and low-width structural characteristics, the second teacher network is more The number of network layers is more conducive to extracting global information and has the ability to abstract advanced semantics and global classification.
- the first segmentation map output by the first teacher network can better express local information
- the second segmentation map output by the second teacher network can better express global information.
- the first teacher network and the second teacher network The processing of the sample image is equivalent to extracting the information in the sample image from two complementary dimensions, and then training the lightweight student semantic segmentation model based on the obtained first segmentation map and the second segmentation map, thereby achieving Optimization of student semantic segmentation models.
- by setting up two first teacher networks and second teacher networks with differentiated network structures it is possible to extract information from image samples from two complementary dimensions and improve the efficiency of subsequent training of student semantic segmentation models. Effect.
- Step S103 Train a lightweight student semantic segmentation model based on the sample image, the first segmentation map and the second segmentation map to obtain the target semantic segmentation model.
- the lightweight student semantic segmentation model is a preset small neural network model.
- the student semantic segmentation model has a small amount of calculation and parameters, and can be easily deployed on devices with limited resources. More specifically, it can be a network model with both low depth and low width.
- the number of network layers of the student semantic segmentation model can be the same as the number of network layers of the first teacher network.
- the process of training the lightweight student semantic segmentation model based on the first segmentation map and the second segmentation map is equivalent to the process of knowledge supervision of the student semantic segmentation model.
- the parameters of the first teacher network and the second teacher network are fixed. Therefore, this process is a process of improving the performance of the student model by performing offline distillation through the first teacher network and the second teacher network.
- the sample image includes a labeled sample image and an unlabeled sample image.
- the first segmentation map includes a first labeled segmentation map generated from the labeled sample image and a first segmentation map generated from the unlabeled sample image.
- the second segmentation map includes a second label-free segmentation map generated from the labeled sample image and a second label-free segmentation map generated from the label-free sample image.
- the specific implementation steps of step S103 include:
- Step S1031 Obtain the target supervision loss based on the labeled sample image, the first labeled segmentation map and the second labeled segmentation map.
- a labeled sample image is data including an image and corresponding annotation information.
- the result of semantic segmentation of the labeled sample image by the student semantic segmentation model can be obtained, that is, the first prediction result.
- a first supervised loss and/or a second supervised loss can be obtained, where the first supervised loss represents the annotation
- the difference between the information and the first prediction result, the second supervised loss represents the pixel-level consistency difference between the first labeled segmentation map and the second labeled segmentation map relative to the first prediction result.
- the target supervision loss can be the first supervision loss, the second supervision loss, or the weighted sum of the first supervision loss and the second supervision loss.
- the method of calculating the first supervision loss includes: after obtaining the first prediction result, calculating based on the preset supervision loss function, using the first prediction result and the annotation information of the labeled sample image as input, and then we can obtain First supervision loss.
- the specific implementation method of calculating the corresponding supervision loss based on the supervision loss function will not be described again here.
- the method of calculating the second supervision loss includes: after obtaining the first prediction result, using the first labeled segmentation map and the second labeled segmentation map corresponding to the labeled sample image as the pseudo segmentation map corresponding to the first prediction result.
- the label constrains it to obtain the corresponding pixel-level consistency difference.
- the first prediction result, the first labeled segmentation map and the second labeled The segmentation map is used as input for calculation and the second supervised loss is obtained.
- the specific implementation of the pixel-level consistency loss function for labeled data is shown in Equation (1):
- yi represents the first prediction result
- H ⁇ W represents the total number of pixels of the first prediction result.
- the segmentation results predicted by the three should ideally have pixel-level consistency.
- the second supervision loss it can be Ensure that the prediction results of multi-branch output are consistent, thereby achieving auxiliary supervision of student semantic segmentation models and improving the training effect of student semantic segmentation models.
- the target supervision loss can be obtained.
- the specific implementation method can be set as needed, and will not be repeated here. narrate.
- Figure 6 is a schematic diagram of a process for generating target supervision loss provided by an embodiment of the present disclosure. As shown in Figure 6, after the labeled image data is input into the first teacher network, the second teacher network, and the student semantic segmentation model respectively, the first The teacher network outputs the first labeled segmentation map, the second teacher network outputs the second labeled segmentation map, and the student semantic segmentation model outputs the first prediction result.
- the first prediction result is combined with the label information to generate the first supervision loss;
- first The labeled segmentation map and the second labeled segmentation map are used as pseudo labels of the first prediction result, and combined with the first prediction result, a second supervision loss is generated; the first supervision loss and the second supervision loss are weighted and summed to obtain the target supervision loss. .
- Step S1032 Obtain the target unsupervised loss based on the unlabeled sample image, the first unlabeled segmentation map and the second unlabeled segmentation map.
- the unlabeled sample image only includes the image and does not include the data of the corresponding annotation information.
- Unlabeled sample images are cheaper to acquire and more numerous. Therefore, by extracting information from unlabeled sample images for full training, the performance of the student semantic segmentation model can be improved and the performance of the lightweight student semantic segmentation model can be avoided. question.
- the unlabeled sample image is processed by the student semantic segmentation model, and the result of the semantic segmentation of the unlabeled sample image by the student semantic segmentation model can be obtained, that is, the second prediction result.
- This process is the same as the student semantic segmentation model.
- the process of processing labeled sample images is the same and will not be described again.
- the first label-free segmentation map and the second label-free segmentation map are used as pseudo labels corresponding to the second prediction result, and the loss function is calculated to obtain the corresponding target unsupervised loss.
- the target unsupervised loss includes a first unsupervised loss, and the first unsupervised loss represents the pixel-level consistency difference between the first label-free segmentation map and the second label-free segmentation map relative to the second prediction result. .
- the method of calculating the first unsupervised loss includes: after obtaining the second prediction result, using the first label-free segmentation map and the second label-free segmentation map corresponding to the label-free sample image as pseudo labels corresponding to the second prediction result. Constraint is performed to obtain the corresponding pixel-level consistency difference. Specifically, based on the preset pixel-level consistency loss function of unlabeled data, the second prediction result, the first unlabeled segmentation map and the second unlabeled segmentation map are used as The input is calculated and the first unsupervised loss is obtained. Among them, the specific implementation of the pixel-level consistency loss function for unlabeled data is shown in Equation (2):
- y j represents the second prediction result, is the second unlabeled segmentation map corresponding to the unlabeled sample image, is the first label-free segmentation map corresponding to the label-free sample image.
- H ⁇ W represents the total number of pixels of the second prediction result. For the second supervisory loss.
- Step S1033 Perform weighted fusion based on the target supervised loss and the target unsupervised loss to obtain the output loss, and perform reverse gradient propagation based on the output loss to adjust the network parameters of the student semantic segmentation model to obtain the target semantic segmentation model.
- the target supervised loss and the target unsupervised loss are weighted and fused to obtain the output loss, where, for example, the target supervised loss and the target unsupervised loss correspond to
- the weighting coefficient can be set based on specific needs and can be adjusted dynamically. For example, in the early stage of training the student semantic segmentation model, set the target supervision loss corresponding to the labeled sample image to have a larger weight coefficient to improve the model convergence speed.
- the target supervision loss corresponding to the unlabeled sample image can be set to have a larger (or slightly larger) weight coefficient, so as to make full use of the information in the unlabeled sample image and improve the performance of the student's semantic segmentation model.
- reverse gradient propagation is performed based on the output loss to adjust the student semantic segmentation model.
- the network parameters are used to obtain the optimized student semantic segmentation model, which is repeated multiple times.
- the converged student semantic segmentation model is the target semantic segmentation model.
- the output loss obtained makes full use of the information in the labeled sample images and unlabeled sample images, and at the same time combines the differences between the first teacher network and the second teacher network It can improve the learning ability of students' semantic segmentation model with its specialized information extraction capabilities.
- the teacher semantic segmentation model includes a first teacher network and a second teacher network, where the first teacher network has the structural characteristics of low depth and high width, and the second teacher network It has the structural characteristics of high depth and low width; the sample image is processed based on the teacher's semantic segmentation model to obtain the first segmentation map and the second segmentation map.
- the first segmentation map is the result of the semantic segmentation of the sample image by the first teacher network.
- the second segmentation map is the result of semantic segmentation of the sample image by the second teacher network; based on the sample image, the first segmentation map and the second segmentation map, a lightweight student semantic segmentation model is trained to obtain the target semantic segmentation model.
- the student semantic segmentation model is trained through the teacher semantic segmentation model composed of the first teacher network and the second teacher network with differentiated structural characteristics, the specific characteristics of the first teacher network and the second teacher network can be fully utilized, and from the two
- the complementary dimensions width and depth
- Model performance of the model is performed.
- FIG. 7 is a schematic flow chart 2 of a semantic segmentation model training method provided by an embodiment of the present disclosure. Based on the embodiment shown in Figure 2, this embodiment further refines the specific implementation of step S102.
- the semantic segmentation model training method includes:
- Step S201 Obtain a pre-trained teacher semantic segmentation model.
- the teacher semantic segmentation model includes a first teacher network and a second teacher network.
- the first teacher network has the structural characteristics of low depth and high width
- the second teacher network has the structural characteristics of high depth and low width. Structural characteristics of width.
- Step S202 Process the sample image based on the teacher's semantic segmentation model to obtain a first segmentation map and a second segmentation map, where the sample image includes a labeled sample image and an unlabeled sample image, and the first segmentation map includes a first labeled segmentation map and a second segmentation map.
- the first unlabeled segmentation map and the second segmentation map include a second labeled segmentation map and a second unlabeled segmentation map.
- the labeled sample image and the unlabeled sample image are processed respectively based on the first teacher network and the second teacher network to obtain the corresponding first labeled segmentation map, the first unlabeled segmentation map, and the second labeled sample image.
- the labeled segmentation map and the second unlabeled segmentation map, wherein the order of processing the labeled sample images and the unlabeled sample images can be set according to specific needs, and is not limited here.
- the above-mentioned specific implementation method of obtaining the first labeled segmentation map, the first unlabeled segmentation map, the second labeled segmentation map, and the second unlabeled segmentation map has been introduced in the embodiment shown in Figure 2 and will not be repeated here. Repeat.
- Step S203 Obtain the target supervision loss based on the labeled sample image, the first labeled segmentation map and the second labeled segmentation map.
- Step S204 Based on the student semantic segmentation model, process the unlabeled sample image to obtain the second prediction result.
- Step S205 Obtain a first unsupervised loss based on the first label-free segmentation map, the second label-free segmentation map and the second prediction result.
- the first unsupervised loss represents the first segmentation map and the second segmentation map relative to the second prediction result. pixel-level consistency difference.
- step S203 is the step of obtaining the target supervision loss based on the labeled sample image, which has been introduced in the embodiment shown in Figure 2.
- step S1031 corresponding to the embodiment shown in Figure 2, here No longer.
- Steps S204-S205 are based on the unlabeled sample image to obtain the second prediction result and the first unsupervised loss.
- the steps have been introduced in the embodiment shown in Figure 2.
- step S1032 corresponding to the embodiment shown in Figure 2, and will not be described again here.
- Step S206 Obtain the first feature map of the unlabeled sample image output by the decoder of the first teacher network and the second feature map of the unlabeled sample image output by the decoder of the student semantic segmentation model.
- Step S207 Obtain a second unsupervised loss based on the first feature map and the second feature map.
- the second unsupervised loss represents the difference between the regional texture correlation of the second prediction result and the regional texture correlation of the first standard-free segmentation map. .
- the first teacher network is an encoder-decoder network structure and has structural characteristics of low depth and high width, which makes it good at capturing diverse Local content-aware information is helpful for modeling contextual relationships between pixels.
- the first feature map (Features) of the unlabeled sample image output by the decoder of the first teacher network and the student semantic segmentation are obtained.
- the second feature map (Features) of the unlabeled sample image output by the model's decoder can represent the texture correlation of the processing area of the unlabeled sample image captured by the first teacher network, and the second feature map can represent the student
- the processed regional texture correlation of the unlabeled sample image captured by the semantic segmentation model is calculated.
- the difference between the regional texture correlation representing the second prediction result and the regional texture correlation of the first unlabeled segmentation map can be obtained.
- the second unsupervised loss which can also be called region-level content-aware loss.
- This region-level content-aware loss aims to take advantage of the channels of the wider teacher model (first teacher network) to provide rich local context information. It can provide auxiliary supervision to guide the student model (student semantic segmentation model) to model contextual relationships between pixels. It utilizes the correlation of image patch regions input to the teacher model to guide the texture correlation between regions of the student model.
- step S207 include:
- Step S2071 Map the first feature map to a first feature vector set, and map the second feature map to a second feature vector set.
- the first feature vector set represents the first teacher network's evaluation of the regional content of the unlabeled sample image.
- the second set of feature vectors characterizes the student semantic segmentation model's evaluation of the region-level content of the unlabeled sample image.
- Step S2072 Obtain the corresponding first autocorrelation matrix and the second autocorrelation matrix according to the first eigenvector set and the second eigenvector set.
- the first autocorrelation matrix represents the relationship between the regional content corresponding to the first eigenvector set.
- the second autocorrelation matrix represents the correlation between the regional-level content corresponding to the second feature vector set.
- Step S2073 Obtain the second unsupervised loss based on the difference between the first autocorrelation matrix and the second autocorrelation matrix.
- the features (first feature map) of the teacher model (first teacher network) and the features (second feature map) of the student model (student semantic segmentation model) are extracted from the feature space after the decoder.
- These features (the first feature map and the second feature map) are respectively mapped to feature vector sets of regional-level content. That is, the first feature map is mapped to the first feature vector set, and the second feature map is mapped to the second feature vector set; where H v ⁇ W v is the number of pixels at the regional level, and each feature vector v ⁇ R C in V ⁇ 1 ⁇ 1 represents the local area content of the original feature (the local feature size is C ⁇ H/H v ⁇ W/W v ).
- the corresponding autocorrelation matrix is obtained through the feature vector set V
- Equ (3) The calculation process is shown in equation (3):
- m ij refers to the value located at coordinates (i, j) in the autocorrelation matrix, calculated by cosine similarity sim();
- v i and v j are the flattened eigenvectors The i-th and j-th vectors in .
- the calculated autocorrelation matrix represents the feature area-level correlation and reflects the relationship between different areas of the image. Therefore, the region-level content-aware loss function, that is, the second unsupervised loss, can be obtained by minimizing the difference between the autocorrelation matrices of different models, with Specifically, the calculation process of the second unsupervised loss is as shown in Equation (4):
- M S is the second autocorrelation matrix
- Step S208 Based on the second unlabeled segmentation map and the second prediction result, obtain a third unsupervised loss.
- the third unsupervised loss represents the global semantic category corresponding to the second prediction result relative to the global semantics corresponding to the second unlabeled segmentation map. Category differences.
- the second teacher network is an encoder-decoder network structure and has the structural characteristics of high depth and low width.
- the second teacher network has more The number of network layers is more conducive to extracting global information and has the ability of advanced semantics and global classification abstraction.
- the characteristics of the second teacher network after predicting the unlabeled sample image and obtaining the second unlabeled segmentation map and the second prediction result, extract the high-dimensional semantic abstract information from the deeper second teacher network. to a lightweight student semantic segmentation model, thereby improving the performance of the student semantic segmentation model.
- step S208 include:
- Step S2081 Obtain the first global semantic vector corresponding to the second label-free segmentation map and the second global semantic vector corresponding to the second prediction result.
- the first global semantic vector represents the sum of the number of segmented objects in the second label-free segmentation map. Semantic categories, the second global semantic vector represents the number and semantic categories of segmented objects in the second prediction result.
- Step S2082 Obtain the third unsupervised loss based on the difference between the first global semantic vector and the second global semantic vector.
- the global semantic vector of each category is calculated through the global average pooling (GAP) operation.
- GAP global average pooling
- the second standard-free segmentation map is Y ⁇ R N ⁇ H ⁇ W
- the first global semantic vector is The calculation process is shown in equation (5):
- the first global semantic vector represents the global semantic category vector of N categories
- G represents the global average pooling operation in each channel.
- the second prediction result can be processed to obtain the second global semantic vector corresponding to the second prediction result. The details will not be described again.
- N represents the number of categories
- u represents the unlabeled sample image.
- the student semantic segmentation model attempts to learn higher-dimensional semantic category representations, which helps provide global guidance for the discrimination of semantic categories in semantic segmentation tasks.
- Step S209 Obtain the target unsupervised loss based on at least one of the first unsupervised loss, the second unsupervised loss and the third unsupervised loss.
- the target unsupervised loss can be obtained through one or more of them, for example, for the first unsupervised loss
- the loss, the second unsupervised loss and the third unsupervised loss are weighted to calculate the target unsupervised loss and the specific weighting coefficient. You can set it as needed and will not go into details here.
- Figure 10 is a schematic diagram of a process for obtaining target unsupervised loss provided by an embodiment of the present disclosure.
- the first teacher network, the second teacher network and the student semantics are respectively input.
- segmentation model and then, on the one hand, obtain the first feature map output by the decoder of the first teacher network and the second feature map output by the decoder of the student semantic segmentation model, and obtain the first feature map based on the first feature map and the second feature map.
- Unsupervised loss on the other hand, obtain the second unsupervised segmentation map output by the second teacher network and the second prediction result output by the student semantic segmentation model.
- the second unsupervised segmentation map and the second prediction result obtain the third Unsupervised loss; on the other hand, based on the first label-free segmentation map output by the first teacher network, the second label-free segmentation map output by the second teacher network, and the second prediction result output by the student semantic segmentation model, the first unsupervised segmentation map is obtained. Supervise losses. Finally, the first unsupervised loss, the second unsupervised loss, and the third unsupervised loss are weighted and fused to obtain the target unsupervised loss.
- Step S210 Perform weighted fusion according to the target supervised loss and the target unsupervised loss to obtain the output loss, and perform reverse gradient propagation based on the output loss to adjust the network parameters of the student semantic segmentation model to obtain the target semantic segmentation model.
- step S210 is a step of generating an output loss and training the student semantic segmentation model based on the output loss. It has been introduced in the embodiment shown in Figure 2. For details, please refer to step S1033 corresponding to the embodiment shown in Figure 2. The relevant introduction will not be repeated here.
- FIG. 11 is a structural block diagram of a semantic segmentation model training device provided by an embodiment of the present disclosure. For convenience of explanation, only parts related to the embodiments of the present disclosure are shown.
- the semantic segmentation model training device 3 includes:
- the acquisition module 31 is used to acquire the pre-trained teacher semantic segmentation model.
- the teacher semantic segmentation model includes a first teacher network and a second teacher network.
- the first teacher network has the structural characteristics of low depth and high width, and the second teacher network has Structural features of high depth and low width;
- the processing module 32 is used to process the sample image based on the teacher's semantic segmentation model to obtain a first segmentation map and a second segmentation map, where the first segmentation map is the result of semantic segmentation of the sample image by the first teacher network, and the second segmentation map The result of semantic segmentation of sample images for the second teacher network;
- the training module 33 is used to train a lightweight student semantic segmentation model based on the sample image, the first segmentation map and the second segmentation map to obtain the target semantic segmentation model.
- the aspect ratio coefficient of the first teacher network is less than or equal to the first threshold
- the aspect ratio coefficient of the second teacher network is greater than or equal to the second threshold
- the first threshold is less than the second threshold
- the aspect ratio coefficient represents the ratio of the number of network layers to the number of network output channels.
- the sample image includes a labeled sample image and an unlabeled sample image
- the first segmentation map includes a first labeled segmentation map generated by the labeled sample image and a first segmentation map generated by the unlabeled sample image
- the first label-free segmentation map; the second segmentation map includes a second label-free segmentation map generated from the labeled sample image and a second label-free segmentation map generated from the label-free sample image;
- the training module 33 is specifically used for: According to the labeled sample image, the first labeled segmentation map and the second labeled segmentation map, the target supervised loss is obtained; based on the unlabeled sample image, the first unlabeled segmentation map and the second unlabeled segmentation map, the target unsupervised loss is obtained ; Perform weighted fusion based on the target supervised loss and the target unsupervised loss to obtain the output loss, and perform reverse gradient propagation based on the output loss to adjust the network parameters of the student semantic segmentation model to obtain the target semantic segmentation model.
- the training module 33 performs the training according to the labeled sample image, the first labeled segmentation map and the third Second, the labeled segmentation map is used to obtain the target supervision loss. It is specifically used to: process the labeled sample image based on the student semantic segmentation model to obtain the first prediction result; based on the annotation information and the first prediction result of the labeled sample image, obtain the first prediction result.
- the first supervised loss represents the difference between the annotation information and the first prediction result; based on the first labeled segmentation map, the second labeled segmentation map and the first prediction result, the second supervised loss is obtained, and the second supervised loss represents The pixel-level consistency difference between the first segmentation map and the second segmentation map relative to the first prediction result; based on the first supervision loss and the second supervision loss, the target supervision loss is obtained.
- the training module 33 when obtaining the target unsupervised loss based on the unlabeled sample image, the first unlabeled segmentation map, and the second unlabeled segmentation map, the training module 33 is specifically used to: based on the student semantic segmentation model, Process the unlabeled sample image to obtain the second prediction result; based on the first unlabeled segmentation map, the second unlabeled segmentation map and the second prediction result, the first unsupervised loss is obtained, and the first unsupervised loss represents the first unsupervised segmentation.
- the pixel-level consistency difference between the image and the second unsupervised segmentation image relative to the second prediction result; based on the first unsupervised loss, the target unsupervised loss is obtained.
- the processing module 32 is also configured to: obtain the first feature map of the unlabeled sample image output by the decoder of the first teacher network and the unlabeled sample image output by the decoder of the student semantic segmentation model.
- the second feature map of The difference in regional texture correlation of the unlabeled segmentation map; when the training module 33 obtains the target unsupervised loss based on the first unsupervised loss, it is specifically used to: obtain the target unsupervised loss based on the first unsupervised loss and the second unsupervised loss. Supervise losses.
- the training module 33 when obtaining the second unsupervised loss based on the first feature map and the second feature map, is specifically used to: map the first feature map to a first feature vector set, and map the first feature map to a first feature vector set.
- the second feature map is mapped to a second feature vector set.
- the first feature vector set represents the first teacher network's evaluation of the regional content of the unlabeled sample image; the second feature vector set represents the student semantic segmentation model's evaluation of the unlabeled sample image. Evaluation of regional-level content; according to the first eigenvector set and the second eigenvector set, the corresponding first autocorrelation matrix and second autocorrelation matrix are obtained.
- the first autocorrelation matrix represents each regional level corresponding to the first eigenvector set.
- the second autocorrelation matrix represents the correlation between the regional content corresponding to the second feature vector set; according to the difference between the first autocorrelation matrix and the second autocorrelation matrix, the second unsupervised loss.
- the training module 33 is also used to: obtain a third unsupervised loss based on the second standard-free segmentation map and the second prediction result, and the third unsupervised loss represents the global corresponding to the second prediction result.
- the training module 33 when the training module 33 obtains the third unsupervised loss based on the second label-free segmentation map and the second prediction result, it is specifically used to: obtain the first global value corresponding to the second label-free segmentation map.
- the second global semantic vector corresponding to the semantic vector and the second prediction result.
- the first global semantic vector represents the number and semantic categories of the segmented objects in the second unlabeled segmentation map.
- the second global semantic vector represents the segmentation in the second prediction result.
- the number and semantic categories of the objects are extracted; based on the difference between the first global semantic vector and the second global semantic vector, the third unsupervised loss is obtained.
- the semantic segmentation model training device 3 provided in this embodiment can execute the technical solution of the above method embodiment. Its implementation principles and technical effects are similar, and will not be described again in this embodiment.
- FIG 12 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. As shown in Figure 12, the electronic device Preparation 4 includes:
- Processor 401 and memory 402 communicatively connected to processor 401;
- Memory 402 stores computer execution instructions
- the processor 401 executes the computer execution instructions stored in the memory 402 to implement the semantic segmentation model training method in the embodiment shown in Figures 2 to 10.
- processor 401 and the memory 402 are connected through a bus 403.
- the electronic device 900 may be a terminal device or a server.
- terminal devices may include but are not limited to mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (Portable Media Player , PMP), mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital televisions (Television, TV), desktop computers, etc.
- PDA Personal Digital Assistant
- PMP portable multimedia players
- mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals)
- fixed terminals such as digital televisions (Television, TV), desktop computers, etc.
- the electronic device shown in FIG. 13 is only an example and should not bring any limitations to the functions and scope of use of the embodiments of the present disclosure.
- the electronic device 900 may include a processing device (such as a central processing unit, a graphics processor, etc.) 901, which may process data according to a program stored in a read-only memory (Read Only Memory, ROM) 902 or from a storage device 908
- the program loaded into the random access memory (Random Access Memory, RAM) 903 performs various appropriate actions and processing.
- RAM 903 various programs and data required for the operation of the electronic device 900 are also stored.
- the processing device 901, ROM 902 and RAM 903 are connected to each other via a bus 904.
- An input/output (I/O) interface 905 is also connected to bus 904.
- the following devices can be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a Liquid Crystal Display (LCD) , an output device 907 such as a speaker, a vibrator, etc.; a storage device 908 including a magnetic tape, a hard disk, etc.; and a communication device 909.
- the communication device 909 may allow the electronic device 900 to communicate wirelessly or wiredly with other devices to exchange data.
- FIG. 13 illustrates electronic device 900 with various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
- the computer program may be downloaded and installed from the network via communication device 909, or from storage device 908, or from ROM 902.
- the processing device 901 the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), Erasable Programmable Read Only Memory (EPROM) or flash memory, optical fiber, portable compact disk read only memory (Compact Disc Read Only Memory, CD-ROM), optical storage device, magnetic storage device, or the above any suitable combination.
- a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
- a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
- Program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
- the computer-readable medium carries one or more programs.
- the electronic device When the one or more programs are executed by the electronic device, the electronic device performs the method shown in the above embodiment.
- Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional Procedural programming language—such as "C" or a similar programming language.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer ( For example, using an Internet service provider to connect via the Internet).
- LAN Local Area Network
- WAN Wide Area Network
- each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
- each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
- the units involved in the embodiments of the present disclosure can be implemented in software or hardware.
- the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
- the first acquisition unit can also be described as "the unit that acquires at least two Internet Protocol addresses.”
- exemplary types of hardware logic components include: Field-Programmable Gate Array (FPGA), Application Specific Integrated Circuit (Application Specific Integrated Circuit) Circuit (ASIC), Application Specific Standard Parts (ASSP), System On Chip (SOC), Complex Programmable Logic Device (CPLD), etc.
- FPGA Field-Programmable Gate Array
- ASIC Application Specific Integrated Circuit
- ASSP Application Specific Standard Parts
- SOC System On Chip
- CPLD Complex Programmable Logic Device
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
- machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- RAM random access memory
- ROM read only memory
- EPROM or flash memory erasable programmable read only memory
- CD-ROM portable compact disk read-only memory
- magnetic storage device or any suitable combination of the above.
- a semantic segmentation model training method including:
- the teacher semantic segmentation model includes a first teacher network and a second teacher network, wherein the first teacher network has the structural characteristics of low depth and high width, and the second teacher network has Structural features of high depth and low width; process the sample image based on the teacher semantic segmentation model to obtain a first segmentation map and a second segmentation map, where the first segmentation map is the first teacher network's analysis of the sample image
- the result of semantic segmentation, the second segmentation map is the result of semantic segmentation of the sample image by the second teacher network; according to the sample image, the first segmentation map and the second segmentation map, Train a lightweight student semantic segmentation model to obtain the target semantic segmentation model.
- the aspect ratio coefficient of the first teacher network is less than or equal to a first threshold
- the aspect ratio coefficient of the second teacher network is greater than or equal to a second threshold
- the The first threshold is smaller than the second threshold
- the aspect ratio coefficient represents the ratio of the number of network layers to the number of network output channels.
- the sample image includes a labeled sample image and an unlabeled sample image
- the first segmentation map includes a first labeled segmentation map generated by the labeled sample image and a first segmentation map generated by the labeled sample image.
- the second segmentation map includes a second label-free segmentation map generated by the label-free sample image and a second label-free segmentation map generated by the label-free sample image.
- a labeled segmentation map training a lightweight student semantic segmentation model according to the sample image, the first segmentation map and the second segmentation map to obtain a target semantic segmentation model, including: based on the labeled sample image , the first labeled segmentation map and the second labeled segmentation map to obtain the target supervision loss; according to the unlabeled sample image, the first unlabeled segmentation map and the second unlabeled segmentation map, Obtain the target unsupervised loss; perform weighted fusion according to the target supervised loss and the target unsupervised loss to obtain the output loss, and perform reverse gradient propagation based on the output loss to adjust the network parameters of the student semantic segmentation model, Obtain the target semantic segmentation model.
- obtaining the target supervision loss based on the labeled sample image, the first labeled segmentation map and the second labeled segmentation map includes: based on the student A semantic segmentation model processes the labeled sample image to obtain a first prediction result; based on the annotation information of the labeled sample image and the first prediction result, a first supervised loss is obtained, and the first supervised loss represents the The difference between the annotation information and the first prediction result; based on the first labeled segmentation map, the second labeled segmentation map and the first prediction result, a second supervision loss is obtained, and the second supervision loss The loss represents the first segmentation map and the second segmentation map relative to the first segmentation map.
- the pixel-level consistency difference of a prediction result; the target supervision loss is obtained according to the first supervision loss and the second supervision loss.
- obtaining the target unsupervised loss based on the standard-free sample image, the first standard-free segmentation map and the second standard-free segmentation map includes: based on the The student semantic segmentation model processes the unsupervised sample image to obtain a second prediction result; based on the first unsupervised segmentation map, the second unsupervised segmentation map and the second prediction result, a first unsupervised segmentation map is obtained Loss, the first unsupervised loss represents the pixel-level consistency difference between the first label-free segmentation map and the second label-free segmentation map relative to the second prediction result; according to the first unsupervised loss, Obtain the target unsupervised loss.
- the method further includes: obtaining a first feature map of the unlabeled sample image output by a decoder of the first teacher network and a decoder of the student semantic segmentation model The output second feature map of the unlabeled sample image; according to the first feature map and the second feature map, a second unsupervised loss is obtained, and the second unsupervised loss characterizes the second prediction result
- the difference between the regional texture correlation of the first unsupervised segmentation map and the regional texture correlation of the first unsupervised segmentation map; according to the first unsupervised loss, the target unsupervised loss is obtained, including: according to the first unsupervised loss and The second unsupervised loss is used to obtain the target unsupervised loss.
- obtaining a second unsupervised loss based on the first feature map and the second feature map includes: mapping the first feature map to a first feature vector Set, map the second feature map to a second feature vector set, the first feature vector set represents the first teacher network's evaluation of the regional content of the unlabeled sample image; the second feature The vector set represents the evaluation of the region-level content of the unlabeled sample image by the student semantic segmentation model; according to the first feature vector set and the second feature vector set, the corresponding first autocorrelation matrix and the second autocorrelation matrix are obtained.
- the first autocorrelation matrix represents the correlation between the regional content corresponding to the first feature vector set
- the second autocorrelation matrix represents the correlation between each regional content corresponding to the second feature vector set.
- Correlation between regional-level content; the second unsupervised loss is obtained based on the difference between the first autocorrelation matrix and the second autocorrelation matrix.
- the method further includes: obtaining a third unsupervised loss based on the second standard-free segmentation map and the second prediction result, the third unsupervised loss representing the The difference between the global semantic category corresponding to the second prediction result and the global semantic category corresponding to the second unlabeled segmentation map; and obtaining the target unsupervised loss according to the first unsupervised loss, including: The first unsupervised loss and the third unsupervised loss are used to obtain the target unsupervised loss.
- obtaining a third unsupervised loss based on the second label-free segmentation map and the second prediction result includes: obtaining the second label-free segmentation map corresponding to A first global semantic vector and a second global semantic vector corresponding to the second prediction result.
- the first global semantic vector represents the number and semantic categories of objects segmented in the second label-free segmentation map.
- the third The two global semantic vectors represent the number and semantic categories of the segmented objects in the second prediction result; the third unsupervised loss is obtained based on the difference between the first global semantic vector and the second global semantic vector.
- a semantic segmentation model training device including:
- An acquisition module is used to acquire a pre-trained teacher semantic segmentation model.
- the teacher semantic segmentation model includes a first teacher network and a second teacher network, wherein the first teacher network has structural characteristics of low depth and high width, and the The second teacher network has the structural characteristics of high depth and low width;
- a processing module configured to process the sample image based on the teacher semantic segmentation model to obtain a first segmentation map and a second segmentation map, wherein the first segmentation map is the semantic segmentation of the sample image by the first teacher network.
- the second segmentation map is the result of semantic segmentation of the sample image by the second teacher network;
- a training module configured to train a lightweight student semantic segmentation model based on the sample image, the first segmentation map, and the second segmentation map to obtain a target semantic segmentation model.
- the aspect ratio coefficient of the first teacher network is less than or equal to a first threshold
- the aspect ratio coefficient of the second teacher network is greater than or equal to a second threshold
- the The first threshold is smaller than the second threshold
- the aspect ratio coefficient represents the ratio of the number of network layers to the number of network output channels.
- the sample image includes a labeled sample image and an unlabeled sample image
- the first segmentation map includes a first labeled segmentation map generated by the labeled sample image and a first segmentation map generated by the labeled sample image.
- the second segmentation map includes a second label-free segmentation map generated by the label-free sample image and a second label-free segmentation map generated by the label-free sample image.
- a labeled segmentation map; the training module is specifically used to: obtain a target supervision loss according to the labeled sample image, the first labeled segmentation map and the second labeled segmentation map; and based on the unlabeled sample image, the first label-free segmentation map and the second label-free segmentation map to obtain the target unsupervised loss; perform weighted fusion according to the target supervised loss and the target unsupervised loss to obtain the output loss, and based on the The output loss is used for reverse gradient propagation, and the network parameters of the student semantic segmentation model are adjusted to obtain the target semantic segmentation model.
- the training module when the training module obtains the target supervision loss based on the labeled sample image, the first labeled segmentation map, and the second labeled segmentation map, In: based on the student semantic segmentation model, process the labeled sample image to obtain a first prediction result; based on the annotation information of the labeled sample image and the first prediction result, obtain a first supervision loss, the The first supervised loss represents the difference between the annotation information and the first prediction result; based on the first labeled segmentation map, the second labeled segmentation map and the first prediction result, a second supervised loss is obtained , the second supervised loss represents the pixel-level consistency difference between the first segmentation map and the second segmentation map relative to the first prediction result; according to the first supervised loss and the second supervised loss, Obtain the target supervision loss.
- the training module when the training module obtains the target unsupervised loss based on the unlabeled sample image, the first unlabeled segmentation map and the second unlabeled segmentation map, specifically Used for: processing the unlabeled sample image based on the student semantic segmentation model to obtain a second prediction result; based on the first unlabeled segmentation map, the second unlabeled segmentation map and the second prediction result , obtain the first unsupervised loss, which represents the pixel-level consistency difference between the first label-free segmentation map and the second label-free segmentation map relative to the second prediction result; according to First unsupervised loss, the target unsupervised loss is obtained.
- the processing module is further configured to: obtain the first feature map of the unlabeled sample image output by the decoder of the first teacher network and the student semantic segmentation model.
- the second feature map of the unlabeled sample image output by the decoder; the training module is also used to: obtain a second unsupervised loss based on the first feature map and the second feature map, the The second unsupervised loss represents the difference between the regional texture correlation of the second prediction result and the regional texture correlation of the first label-free segmentation map; the training module obtains the result based on the first unsupervised loss.
- the target unsupervised loss is specified, it is specifically used to: obtain the target unsupervised loss according to the first unsupervised loss and the second unsupervised loss.
- the training module is configured based on the first feature map and the second Feature map, when obtaining the second unsupervised loss, is specifically used to: map the first feature map to a first feature vector set, map the second feature map to a second feature vector set, and the first feature
- the vector set represents the first teacher network's evaluation of the region-level content of the unlabeled sample image
- the second feature vector set represents the student semantic segmentation model's evaluation of the region-level content of the unlabeled sample image.
- the corresponding first autocorrelation matrix and the second autocorrelation matrix are obtained, and the first autocorrelation matrix represents the first eigenvector set corresponding to The correlation between each regional level content, the second autocorrelation matrix represents the correlation between each regional level content corresponding to the second feature vector set; according to the first autocorrelation matrix and the second The difference of the autocorrelation matrix is obtained by the second unsupervised loss.
- the training module is further configured to: obtain a third unsupervised loss based on the second standard-free segmentation map and the second prediction result, the third unsupervised loss
- the loss represents the difference between the global semantic category corresponding to the second prediction result and the global semantic category corresponding to the second unlabeled segmentation map; the training module obtains the target unsupervised loss based on the first unsupervised loss.
- it is specifically used to: obtain the target unsupervised loss based on the first unsupervised loss and the third unsupervised loss.
- the training module when obtaining a third unsupervised loss based on the second standard-free segmentation map and the second prediction result, is specifically configured to: obtain the second The first global semantic vector corresponding to the label-free segmentation map and the second global semantic vector corresponding to the second prediction result.
- the first global semantic vector represents the number and number of objects segmented in the second label-free segmentation map.
- Semantic category, the second global semantic vector represents the number and semantic category of the segmented objects in the second prediction result; according to the difference between the first global semantic vector and the second global semantic vector, the said Third unsupervised loss.
- an electronic device including: a processor, and a memory communicatively connected to the processor;
- the memory stores computer execution instructions
- the processor executes the computer execution instructions stored in the memory to implement the semantic segmentation model training method described in the first aspect and various possible designs of the first aspect.
- a computer-readable storage medium is provided.
- Computer-executable instructions are stored in the computer-readable storage medium.
- a processor executes the computer-executed instructions, Implement the semantic segmentation model training method described in the first aspect and various possible designs of the first aspect.
- a computer program product including a computer program that, when executed by a processor, implements the above first aspect and various possible designs of the first aspect.
- the semantic segmentation model training method is provided, including a computer program that, when executed by a processor, implements the above first aspect and various possible designs of the first aspect.
- a computer program is provided, the computer program being used to implement the semantic segmentation model training method described in the first aspect and various possible designs of the first aspect. .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Software Systems (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Mathematical Physics (AREA)
- Molecular Biology (AREA)
- Biomedical Technology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Image Analysis (AREA)
Abstract
Description
Claims (14)
- 一种语义分割模型训练方法,包括:获取预训练的教师语义分割模型,所述教师语义分割模型包括第一教师网络和第二教师网络,其中,所述第一教师网络具有低深度高宽度的结构特征,所述第二教师网络具有高深度低宽度的结构特征;基于所述教师语义分割模型处理样本图像,得到第一分割图和第二分割图,其中,所述第一分割图为所述第一教师网络对所述样本图像进行语义分割的结果,所述第二分割图为所述第二教师网络对所述样本图像进行语义分割的结果;根据所述样本图像、所述第一分割图和所述第二分割图,训练轻量化的学生语义分割模型,得到目标语义分割模型。
- 根据权利要求1所述的方法,其中,所述第一教师网络的深宽比系数小于或等于第一阈值,所述第二教师网络的深宽比系数大于或等于第二阈值,且所述第一阈值小于所述第二阈值,所述深宽比系数表征网络层数与网络输出通道数的比值。
- 根据权利要求1或2所述的方法,其中,所述样本图像包括有标样本图像和无标样本图像,所述第一分割图包括由所述有标样本图像生成的第一有标分割图和由所述无标样本图像生成的第一无标分割图;所述第二分割图包括由所述有标样本图像生成的第二有标分割图和由所述无标样本图像生成的第二无标分割图;所述根据所述样本图像、所述第一分割图和所述第二分割图,训练轻量化的学生语义分割模型,得到目标语义分割模型,包括:根据所述有标样本图像、所述第一有标分割图和所述第二有标分割图,得到目标监督损失;根据所述无标样本图像、所述第一无标分割图和所述第二无标分割图,得到目标无监督损失;根据所述目标监督损失和所述目标无监督损失进行加权融合,得到输出损失,并基于所述输出损失进行反向梯度传播,调整所述学生语义分割模型的网络参数,得到所述目标语义分割模型。
- 根据权利要求3所述的方法,其中,所述根据所述有标样本图像、所述第一有标分割图和所述第二有标分割图,得到目标监督损失,包括:基于所述学生语义分割模型,处理所述有标样本图像,得到第一预测结果;基于所述有标样本图像的标注信息和所述第一预测结果,得到第一监督损失,所述第一监督损失表征所述标注信息和所述第一预测结果的差异;基于所述第一有标分割图、所述第二有标分割图和所述第一预测结果,得到第二监督损失,所述第二监督损失表征所述第一分割图和所述第二分割图相对所述第一预测结果的像素级一致性差异;根据所述第一监督损失和所述第二监督损失,得到所述目标监督损失。
- 根据权利要求3或4所述的方法,其中,所述根据所述无标样本图像、所述第一无标分割图和所述第二无标分割图,得到目标无监督损失,包括:基于所述学生语义分割模型,处理所述无标样本图像,得到第二预测结果;基于所述第一无标分割图、所述第二无标分割图和所述第二预测结果,得到第一无 监督损失,所述第一无监督损失表征所述第一无标分割图和所述第二无标分割图相对所述第二预测结果的像素级一致性差异;根据所述第一无监督损失,得到所述目标无监督损失。
- 根据权利要求5所述的方法,其中,所述方法还包括:获取所述第一教师网络的解码器输出的所述无标样本图像的第一特征图和所述学生语义分割模型的解码器输出的所述无标样本图像的第二特征图;根据所述第一特征图和所述第二特征图,得到第二无监督损失,所述第二无监督损失表征所述第二预测结果的区域纹理相关性相对所述第一无标分割图的区域纹理相关性的差异;所述根据所述第一无监督损失,得到所述目标无监督损失,包括:根据所述第一无监督损失和所述第二无监督损失,得到所述目标无监督损失。
- 根据权利要求6所述的方法,其中,所述根据所述第一特征图和所述第二特征图,得到第二无监督损失,包括:将所述第一特征图映射为第一特征向量集,将所述第二特征图映射为第二特征向量集,所述第一特征向量集表征所述第一教师网络对所述无标样本图像的区域级内容的评估;所述第二特征向量集表征所述学生语义分割模型对所述无标样本图像的区域级内容的评估;根据所述第一特征向量集和所述第二特征向量集,得到对应的第一自相关矩阵和第二自相关矩阵,所述第一自相关矩阵表征所述第一特征向量集对应的各区域级内容之间的相关性,所述第二自相关矩阵表征所述第二特征向量集对应的各区域级内容之间的相关性;根据所述第一自相关矩阵和所述第二自相关矩阵的差异,得到所述第二无监督损失。
- 根据权利要求5所述的方法,其中,所述方法还包括:基于所述第二无标分割图和所述第二预测结果,得到第三无监督损失,所述第三无监督损失表征所述第二预测结果对应的全局语义类别相对于所述第二无标分割图对应的全局语义类别的差异;所述根据所述第一无监督损失,得到所述目标无监督损失,包括:根据所述第一无监督损失和所述第三无监督损失,得到所述目标无监督损失。
- 根据权利要求8所述的方法,其中,所述基于所述第二无标分割图和所述第二预测结果,得到第三无监督损失,包括:获取所述第二无标分割图对应的第一全局语义向量和所述第二预测结果对应的第二全局语义向量,所述第一全局语义向量表征所述第二无标分割图中分割出的物体的数量和语义类别,所述第二全局语义向量表征所述第二预测结果中分割出的物体的数量和语义类别;根据所述第一全局语义向量和所述第二全局语义向量的差异,得到所述第三无监督损失。
- 一种语义分割模型训练装置,包括:获取模块,用于获取预训练的教师语义分割模型,所述教师语义分割模型包括第一教师网络和第二教师网络,其中,所述第一教师网络具有低深度高宽度的结构特征,所 述第二教师网络具有高深度低宽度的结构特征;处理模块,用于基于所述教师语义分割模型处理样本图像,得到第一分割图和第二分割图,其中,所述第一分割图为所述第一教师网络对所述样本图像进行语义分割的结果,所述第二分割图为所述第二教师网络对所述样本图像进行语义分割的结果;训练模块,用于根据所述样本图像、所述第一分割图和所述第二分割图,训练轻量化的学生语义分割模型,得到目标语义分割模型。
- 一种电子设备,包括:处理器,以及与所述处理器通信连接的存储器;所述存储器存储计算机执行指令;所述处理器执行所述存储器存储的计算机执行指令,以实现如权利要求1至9中任一项所述的语义分割模型训练方法。
- 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如权利要求1至9中任一项所述的语义分割模型训练方法。
- 一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现权利要求1至9中任一项所述的语义分割模型训练方法。
- 一种计算机程序,所述计算机程序用于实现如权利要求1至9中任一项所述的语义分割模型训练方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/993,522 US20260024363A1 (en) | 2022-07-11 | 2023-06-30 | Semantic segmentation model training method, electronic device and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210814989.4 | 2022-07-11 | ||
| CN202210814989.4A CN117437411A (zh) | 2022-07-11 | 2022-07-11 | 语义分割模型训练方法、装置、电子设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024012255A1 true WO2024012255A1 (zh) | 2024-01-18 |
Family
ID=89535416
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/104539 Ceased WO2024012255A1 (zh) | 2022-07-11 | 2023-06-30 | 语义分割模型训练方法、装置、电子设备及存储介质 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20260024363A1 (zh) |
| CN (1) | CN117437411A (zh) |
| WO (1) | WO2024012255A1 (zh) |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118037651A (zh) * | 2024-01-29 | 2024-05-14 | 浙江工业大学 | 基于多教师网络和伪标签对比生成的医学图像分割方法 |
| CN118314352A (zh) * | 2024-06-07 | 2024-07-09 | 安徽农业大学 | 一种基于补丁级分类标签的农作物遥感图像分割方法 |
| CN118334277A (zh) * | 2024-06-17 | 2024-07-12 | 浙江有鹿机器人科技有限公司 | 一种基于困难体素挖掘的自蒸馏占用网格生成方法及设备 |
| CN118583888A (zh) * | 2024-08-01 | 2024-09-03 | 四川省华兴宇电子科技有限公司 | 印制电路板嵌铜质量分析方法及系统 |
| CN118644603A (zh) * | 2024-08-16 | 2024-09-13 | 北京工业大学 | 一种基于体渲染知识蒸馏的在线矢量地图构建方法及装置 |
| CN118823834A (zh) * | 2024-09-18 | 2024-10-22 | 紫光摩度教育科技有限公司 | 一种课堂行为分析方法、系统、计算机及存储介质 |
| CN119206251A (zh) * | 2024-11-28 | 2024-12-27 | 上海模呈信息技术有限公司 | 基于自监督数据增强与多分辨率知识蒸馏的无监督异常检测方法及系统 |
| CN119444793A (zh) * | 2024-11-19 | 2025-02-14 | 网易(杭州)网络有限公司 | 图像分割模型训练方法、装置、设备及存储介质 |
| CN119558488A (zh) * | 2025-01-26 | 2025-03-04 | 国网浙江省电力有限公司 | 基于电力调度大模型的调优方法及系统 |
| CN119692426A (zh) * | 2024-11-22 | 2025-03-25 | 浙江大学 | 一种基于类别边界不确定性的关系型知识蒸馏方法 |
| CN120762420A (zh) * | 2025-09-09 | 2025-10-10 | 蜂巢智行(上海)技术有限公司 | 基于vla架构与蒸馏学习的无人物流车驾驶决策方法及系统 |
| CN121353674A (zh) * | 2025-12-16 | 2026-01-16 | 江西农业大学 | 一种遥感影像的Mamba提示学习语义分割方法及系统 |
| CN121392536A (zh) * | 2025-12-23 | 2026-01-23 | 山东建筑大学 | 一种用于医学影像分割的医学大模型知识蒸馏方法及系统 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12361694B2 (en) * | 2022-01-31 | 2025-07-15 | Naver Corporation | Reset systems and methods for continuous adaptation without forgetting |
| US20240005648A1 (en) * | 2022-06-29 | 2024-01-04 | Objectvideo Labs, Llc | Selective knowledge distillation |
| CN118015431B (zh) * | 2024-04-03 | 2024-07-26 | 阿里巴巴(中国)有限公司 | 图像处理方法、设备、存储介质和程序产品 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019234564A1 (en) * | 2018-06-08 | 2019-12-12 | International Business Machines Corporation | Constructing a mixed-domain model |
| CN111985523A (zh) * | 2020-06-28 | 2020-11-24 | 合肥工业大学 | 基于知识蒸馏训练的2指数幂深度神经网络量化方法 |
| CN112508169A (zh) * | 2020-11-13 | 2021-03-16 | 华为技术有限公司 | 知识蒸馏方法和系统 |
| CN113792871A (zh) * | 2021-08-04 | 2021-12-14 | 北京旷视科技有限公司 | 神经网络训练方法、目标识别方法、装置和电子设备 |
| CN114120319A (zh) * | 2021-10-09 | 2022-03-01 | 苏州大学 | 一种基于多层次知识蒸馏的连续图像语义分割方法 |
| US20220138633A1 (en) * | 2020-11-05 | 2022-05-05 | Samsung Electronics Co., Ltd. | Method and apparatus for incremental learning |
| KR20220069225A (ko) * | 2020-11-20 | 2022-05-27 | 서울대학교산학협력단 | 트랜스포머 뉴럴 네트워크 경량화를 위한 지식 증류 방법 및 이를 수행하기 위한 장치 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111797935B (zh) * | 2020-07-13 | 2023-10-31 | 扬州大学 | 基于群体智能的半监督深度网络图片分类方法 |
| CN113095475B (zh) * | 2021-03-02 | 2025-03-18 | 华为技术有限公司 | 一种神经网络的训练方法、图像处理方法以及相关设备 |
| CN114155510A (zh) * | 2021-12-08 | 2022-03-08 | 武汉中海庭数据技术有限公司 | 一种基于双分支语义分割网络的道路要素检测方法及装置 |
-
2022
- 2022-07-11 CN CN202210814989.4A patent/CN117437411A/zh active Pending
-
2023
- 2023-06-30 WO PCT/CN2023/104539 patent/WO2024012255A1/zh not_active Ceased
- 2023-06-30 US US18/993,522 patent/US20260024363A1/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019234564A1 (en) * | 2018-06-08 | 2019-12-12 | International Business Machines Corporation | Constructing a mixed-domain model |
| CN111985523A (zh) * | 2020-06-28 | 2020-11-24 | 合肥工业大学 | 基于知识蒸馏训练的2指数幂深度神经网络量化方法 |
| US20220138633A1 (en) * | 2020-11-05 | 2022-05-05 | Samsung Electronics Co., Ltd. | Method and apparatus for incremental learning |
| CN112508169A (zh) * | 2020-11-13 | 2021-03-16 | 华为技术有限公司 | 知识蒸馏方法和系统 |
| KR20220069225A (ko) * | 2020-11-20 | 2022-05-27 | 서울대학교산학협력단 | 트랜스포머 뉴럴 네트워크 경량화를 위한 지식 증류 방법 및 이를 수행하기 위한 장치 |
| CN113792871A (zh) * | 2021-08-04 | 2021-12-14 | 北京旷视科技有限公司 | 神经网络训练方法、目标识别方法、装置和电子设备 |
| CN114120319A (zh) * | 2021-10-09 | 2022-03-01 | 苏州大学 | 一种基于多层次知识蒸馏的连续图像语义分割方法 |
Non-Patent Citations (2)
| Title |
|---|
| RUN-ZHENG WANG, GAO JIAN; HUANG SHU-HUA; TONG XIN: "Malicious Code Family Detection Method Based on Knowledge Distillation", COMPUTER SCIENCE, vol. 48, no. 1, 15 January 2021 (2021-01-15), pages 280 - 286, XP093127701 * |
| YOU SHAN YOUSHAN@PKU.EDU.CN; XU CHANG C.XU@SYDNEY.EDU.AU; XU CHAO XUCHAO@CIS.PKU.EDU.CN; TAO DACHENG DACHENG.TAO@SYDNEY.EDU.AU: "Learning from Multiple Teacher Networks", PROCEEDINGS OF THE 2ND ACM INTERNATIONAL WORKSHOP ON DISTRIBUTED MACHINE LEARNING, ACMPUB27, NEW YORK, NY, USA, 4 August 2017 (2017-08-04) - 3 June 2022 (2022-06-03), New York, NY, USA, pages 1285 - 1294, XP058787071, ISBN: 978-1-4503-9140-5, DOI: 10.1145/3097983.3098135 * |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118037651A (zh) * | 2024-01-29 | 2024-05-14 | 浙江工业大学 | 基于多教师网络和伪标签对比生成的医学图像分割方法 |
| CN118314352A (zh) * | 2024-06-07 | 2024-07-09 | 安徽农业大学 | 一种基于补丁级分类标签的农作物遥感图像分割方法 |
| CN118334277A (zh) * | 2024-06-17 | 2024-07-12 | 浙江有鹿机器人科技有限公司 | 一种基于困难体素挖掘的自蒸馏占用网格生成方法及设备 |
| CN118583888A (zh) * | 2024-08-01 | 2024-09-03 | 四川省华兴宇电子科技有限公司 | 印制电路板嵌铜质量分析方法及系统 |
| CN118644603B (zh) * | 2024-08-16 | 2024-10-29 | 北京工业大学 | 一种基于体渲染知识蒸馏的在线矢量地图构建方法及装置 |
| CN118644603A (zh) * | 2024-08-16 | 2024-09-13 | 北京工业大学 | 一种基于体渲染知识蒸馏的在线矢量地图构建方法及装置 |
| CN118823834A (zh) * | 2024-09-18 | 2024-10-22 | 紫光摩度教育科技有限公司 | 一种课堂行为分析方法、系统、计算机及存储介质 |
| CN119444793A (zh) * | 2024-11-19 | 2025-02-14 | 网易(杭州)网络有限公司 | 图像分割模型训练方法、装置、设备及存储介质 |
| CN119692426A (zh) * | 2024-11-22 | 2025-03-25 | 浙江大学 | 一种基于类别边界不确定性的关系型知识蒸馏方法 |
| CN119206251A (zh) * | 2024-11-28 | 2024-12-27 | 上海模呈信息技术有限公司 | 基于自监督数据增强与多分辨率知识蒸馏的无监督异常检测方法及系统 |
| CN119558488A (zh) * | 2025-01-26 | 2025-03-04 | 国网浙江省电力有限公司 | 基于电力调度大模型的调优方法及系统 |
| CN120762420A (zh) * | 2025-09-09 | 2025-10-10 | 蜂巢智行(上海)技术有限公司 | 基于vla架构与蒸馏学习的无人物流车驾驶决策方法及系统 |
| CN121353674A (zh) * | 2025-12-16 | 2026-01-16 | 江西农业大学 | 一种遥感影像的Mamba提示学习语义分割方法及系统 |
| CN121392536A (zh) * | 2025-12-23 | 2026-01-23 | 山东建筑大学 | 一种用于医学影像分割的医学大模型知识蒸馏方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117437411A (zh) | 2024-01-23 |
| US20260024363A1 (en) | 2026-01-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2024012255A1 (zh) | 语义分割模型训练方法、装置、电子设备及存储介质 | |
| WO2024012251A1 (zh) | 语义分割模型训练方法、装置、电子设备及存储介质 | |
| CN111696176B (zh) | 图像处理方法、装置、电子设备及计算机可读介质 | |
| US20250384560A1 (en) | Model construction method and apparatus, image segmentation method and apparatus, device and medium | |
| WO2020155907A1 (zh) | 用于生成漫画风格转换模型的方法和装置 | |
| WO2023169334A1 (zh) | 图像的语义分割方法、装置、电子设备及存储介质 | |
| CN114332590B (zh) | 联合感知模型训练、联合感知方法、装置、设备和介质 | |
| WO2020228405A1 (zh) | 图像处理方法、装置及电子设备 | |
| JP2022541832A (ja) | 画像を検索するための方法及び装置 | |
| WO2024007958A1 (zh) | 图像语义分割模型优化方法、装置、电子设备及存储介质 | |
| CN115937020B (zh) | 图像处理方法、装置、设备、介质和程序产品 | |
| WO2023185391A1 (zh) | 交互式分割模型训练方法、标注数据生成方法及设备 | |
| CN113515994A (zh) | 视频特征提取方法、装置、设备以及存储介质 | |
| WO2022012179A1 (zh) | 生成特征提取网络的方法、装置、设备和计算机可读介质 | |
| WO2023000782A1 (zh) | 获取视频热点的方法、装置、可读介质和电子设备 | |
| CN117171573A (zh) | 多模态模型的训练方法、装置、设备和存储介质 | |
| CN116994079B (zh) | 图像处理方法及设备 | |
| CN115761443A (zh) | 货物检测方法、装置、系统、电子设备及存储介质 | |
| CN110211017B (zh) | 图像处理方法、装置及电子设备 | |
| CN118674642A (zh) | 水下图像增强方法、存储介质及计算机程序产品 | |
| US20260051096A1 (en) | Video editing method, device, and medium | |
| EP4447006A1 (en) | Font recognition method and apparatus, readable medium, and electronic device | |
| WO2023116744A1 (zh) | 图像处理方法、装置、设备及介质 | |
| CN113538537B (zh) | 图像配准、模型训练方法、装置、设备、服务器及介质 | |
| CN114049672A (zh) | 一种人脸图像质量感知阈值设定方法、装置及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23838747 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18993522 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11.04.2025) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23838747 Country of ref document: EP Kind code of ref document: A1 |
|
| WWP | Wipo information: published in national office |
Ref document number: 18993522 Country of ref document: US |