Domain adaptation method and apparatus for semantic segmentation neural network

The feature extractor of the semantic segmentation neural network is trained through the contrastive learning algorithm, which solves the problem of inaccurate semantic segmentation prediction of the deep learning model in the data domain migration, and achieves rapid adaptation and accurate prediction in the target domain.

WO2024192550A1PCT designated stage expired Publication Date: 2024-09-26ROBERT BOSCH GMBH +3
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/082083
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

It is difficult for deep learning models to adapt quickly when migrating from one data domain to another, resulting in inaccurate semantic segmentation prediction results, especially in few-sample domain adaptation scenarios. Existing domain adaptation methods are mainly aimed at classification tasks rather than Semantic segmentation task.

Method used

The feature extractor of the semantic segmentation neural network is trained using a contrastive learning algorithm, and the feature extractor is adjusted using the contrastive learning loss function in the annotated data set so that it can generate accurate semantic segmentation prediction results in the target domain.

Benefits of technology

Through the training of the contrastive learning algorithm, the semantic segmentation neural network can quickly adapt to the target domain, generate accurate semantic segmentation prediction results, and solve the generalization problem of the semantic segmentation model in domain migration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023082083_26092024_PF_FP
    Figure CN2023082083_26092024_PF_FP
Patent Text Reader

Abstract

Provided in the present disclosure is a domain adaptation method for a semantic segmentation neural network. The method comprises: obtaining a training data set, wherein the training data set is labeled and comprises a training sample from a source domain and a training sample from a target domain; and on the basis of the training data set, training a feature extractor of a semantic segmentation neural network by using a contrastive learning loss function, so as to obtain a trained feature extractor, wherein the trained feature extractor is used for performing feature extraction on input data from the target domain, so as to obtain feature data for generating a semantic segmentation prediction result.
Need to check novelty before this filing date? Find Prior Art

Description

Method and apparatus for domain adaptation of semantic segmentation neural networks Technical Field

[0001] The present disclosure relates generally to the field of computer vision, and more particularly to methods and apparatus for domain adaptation of semantic segmentation neural networks. Background Art

[0002] Semantic segmentation is a challenging task in computer vision, which attempts to understand the categories and precise locations of objects in an input image. Semantic segmentation assigns a class label to each pixel in an image, thereby distinguishing objects belonging to the corresponding class based on this pixel-by-pixel class information. The emergence of deep learning models has enabled semantic segmentation to be achieved with high accuracy in a variety of complex application scenarios in fields such as autonomous driving, industrial anomaly detection, and medical imaging. However, those skilled in the art have noted the following problem: when a deep learning model trained on training data in a specific data domain (referred to as the source domain) is applied to a different data domain (referred to as the target domain), the trained deep learning model may not be able to quickly adapt to the target domain, resulting in an inability to output accurate semantic segmentation predictions for the input data in the target domain. This is also known as the domain adaptation problem of deep learning models. The few-shot domain adaptation problem involves application scenarios where the training data from the source domain is extensive or fully annotated, while only a small amount of annotated data from the target domain is available. In short, few-shot domain adaptation aims to solve the problem of how to enable a deep learning model trained on training data in the source domain to generalize well on the target domain quickly when only a small amount of labeled data from the target domain is available.

[0003] Although there are currently methods for solving domain adaptation problems for deep learning models, these existing methods are at most proposed for deep learning models used for classification tasks. In fact, there is an essential difference in principle between classification tasks and semantic segmentation tasks. Classification tasks only require category information at the image level, while semantic segmentation tasks require category information at the pixel level. Therefore, the current methods used to achieve domain adaptation for deep learning models performing classification tasks cannot be directly used to solve the problem of domain adaptation (especially few-shot domain adaptation) for deep learning models performing semantic segmentation tasks.

[0004] To this end, a method is needed to solve the problem of domain adaptation of deep learning models that perform semantic segmentation tasks, so that when the deep learning model is migrated to a new data domain (i.e., the target domain), it can obtain accurate semantic segmentation prediction results for the target domain.

[0005] Summary of the Invention

[0006] It is expected to provide a method for domain adaptation of semantic segmentation neural networks, which uses a contrastive learning algorithm to enable the semantic segmentation neural network trained on training data in the source domain to quickly generalize well on the target domain, thereby obtaining accurate semantic segmentation prediction results for the target domain.

[0007] According to one aspect of the present disclosure, a method for domain adaptation of a semantic segmentation neural network is provided, comprising: obtaining a training dataset, wherein the training dataset is labeled and includes training samples from a source domain and training samples from a target domain; and based on the training dataset, training a feature extractor of the semantic segmentation neural network using a contrastive learning loss function to obtain a trained feature extractor; wherein the trained feature extractor is used to perform feature extraction on input data from the target domain to obtain feature data for generating a semantic segmentation prediction result.

[0008] According to another aspect of the present disclosure, an apparatus for domain adaptation of a semantic segmentation neural network is provided, comprising: a memory; and a processor. The processor is coupled to the memory and configured to execute the method according to any one of the various embodiments of the present disclosure.

[0009] According to yet another aspect of the present disclosure, a computer-readable medium is provided, which stores a computer program including instructions, which, when executed by a processor, configure the processor to perform the method according to any one of the various embodiments of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Various embodiments of the claimed subject matter will now be described by way of example with reference to the accompanying drawings, in which the same reference numerals are used throughout the different drawings to designate the same or similar components.

[0011] FIG1 is a schematic diagram showing an operation of performing semantic segmentation using a deep learning model according to an embodiment of the present disclosure.

[0012] FIG2A shows a schematic diagram of a feature space generated by a trained feature extractor for a training dataset from a source domain according to one embodiment of the present disclosure.

[0013] FIG2B shows a schematic diagram of a feature space generated by a trained feature extractor for input data from a target domain according to one embodiment of the present disclosure.

[0014] FIG3 is a schematic diagram showing the basic principles of a method for domain adaptation of a semantic segmentation neural network according to an embodiment of the present disclosure.

[0015] FIG4A shows a flowchart of a method 400 for training a semantic segmentation neural network based on a contrastive learning algorithm according to an embodiment of the present disclosure.

[0016] FIG4B shows a flowchart of a method 400 ′ for migrating a trained semantic segmentation neural network to a target domain to perform prediction according to one embodiment of the present disclosure.

[0017] FIG5 shows a schematic diagram of the architecture of a computing device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0018] In the following description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure. However, one skilled in the relevant art will recognize that the present disclosure can be practiced without one or more of the specific details, or can be practiced using alternative methods, components, etc. In some instances, well-known structures and operations are not shown or described in detail to avoid unnecessarily obscuring the present disclosure.

[0019] Semantic segmentation has been applied in fields such as autonomous driving, industrial anomaly detection, and medical imaging. Through semantic segmentation, a category label can be assigned to each pixel in the image, so that objects belonging to the corresponding category can be distinguished based on this pixel-by-pixel category information. The results of the semantic segmentation task can be reflected by a mask of the identified objects marked in the image. Typically, objects belonging to different categories are usually marked with masks of different colors. The semantically segmented image can be further used as input for subsequent processing. For example, in the field of autonomous driving, path planning, navigation, etc. can be performed based on the objects in the semantically segmented image. At present, it has been proposed to use deep learning models to achieve semantic segmentation in various complex application scenarios with high accuracy.

[0020] Figure 1 illustrates a schematic diagram of an operation for semantic segmentation using a deep learning model according to an embodiment of the present disclosure. As shown in Figure 1 , when applying a deep learning model 102 to perform a semantic segmentation task, input data 104 may be provided to the deep learning model 102 to obtain a semantic segmentation prediction result 106 .

[0021] Input data 104 refers to a collection of data that is provided to the deep learning model 102 to perform semantic segmentation thereon. Input data 104 may include, but is not limited to, video frames, pictures, radar images or lidar point clouds, and various other digital images.

[0022] The deep learning model 102 may include, but is not limited to, any type of neural network model that can be used to perform semantic segmentation tasks, such as a convolutional neural network (CNN), a recurrent neural network (RNN), a deep belief network (DBN), a stacked autoencoder (SAE), and the like. In one embodiment, the deep learning model 102 may be a convolutional neural network based on any known or under-development model architecture, such as U-Net, VGG, Resnet, and the like. The deep learning model 102 for performing semantic segmentation tasks may also be interchangeably referred to herein as a semantic segmentation neural network.

[0023] The deep learning model 102 may include a feature extractor 108 and a classifier 110, wherein the feature extractor 108 is used to extract features from the input data 104 to obtain feature data 112, and the classifier 110 is used to perform classification on the feature data 112 to obtain the semantic segmentation prediction result 106. The feature extractor 108 and the classifier 110 may each be one or more network layers in the deep learning model 102. For example, when the deep learning model 102 is implemented by a convolutional neural network using a model architecture such as U-Net, the feature extractor 108 may refer to the first N (N is a positive integer greater than 1) network layers (e.g., convolution layers, pooling layers) of the convolutional neural network for performing feature extraction on the input data 104, and the classifier 110 may refer to the last one or more network layers of the convolutional neural network for performing classification on the feature data 112. In one embodiment, another neural network (not shown) such as a backbone network may be attached before the semantic segmentation neural network to perform preliminary feature extraction on the input data 104. In such cases, the concept of feature extractor 108 may be considered to encompass such other neural networks.

[0024] The feature extractor 108 performs feature extraction on the input data 104 (i.e., the input digital image) to transform local features in the image into a feature space. Taking the U-Net convolutional neural network discussed above as an example, assuming that the input data 104 is an image of size M*M*3 (where M is the number of pixels in the horizontal and vertical directions, and 3 is the number of channels representing R, G, and B), after the feature extractor 108 performs the transformation, the resulting feature data 112 in the feature space can be a feature map whose size has been transformed to N*N*k (where N is the number of feature samples in the horizontal and vertical directions, and k is the number of convolution channels), where N<M and k>3. In other words, the feature extraction process can be understood as a process of transforming the input image into a feature map with a reduced size (number of pixels) and an increased number of channels through a series of upsampling, downsampling, maximum pooling, and various other mathematical operations, wherein each feature sample in the transformed feature map can be a multi-dimensional (k-dimensional, for the example above) vector corresponding to a group or patch of pixels in the input image.

[0025] Next, the classifier 110 may perform classification on the feature data 112 generated by the feature extractor 108 to obtain a semantic segmentation prediction result 106, which indicates the category of each data sample in the input data 104. For example, the semantic segmentation prediction result 106 may be further processed to obtain a mask of an object of a corresponding category in the input data 104.

[0026] In order to ensure the prediction accuracy of the deep learning model 102, the deep learning model 102 is usually trained before being applied to perform semantic segmentation tasks. The training phase refers to the process of iteratively inputting a training data set into the deep learning model and obtaining optimal model parameters by adjusting various model parameters (e.g., weights, biases). The training data set is annotated to provide label information for each training sample. The label can indicate the category and location of a specific training sample. In the subsequent inference phase, the trained deep learning model can be used to obtain accurate prediction results for the input data.

[0027] As mentioned in the background technology section above, those skilled in the art have noticed the domain adaptation problem of deep learning models, that is, when a deep learning model trained for a training dataset in a specific data domain (called the source domain) is applied to another different data domain (called the target domain), the trained deep learning model may not be able to quickly adapt to the target domain, resulting in an inability to output accurate semantic segmentation prediction results for the input data in the target domain. The trained deep learning model is not suitable for the target domain because the data distribution in the target domain has changed slightly relative to the source domain. The few-shot domain adaptation problem can be understood as a problem in which the training dataset from the source domain is large or fully labeled, while only a small amount of labeled data from the target domain is available. Few-shot domain adaptation is particularly applicable to such scenarios: semantic segmentation neural networks can usually be trained on a large amount of or fully annotated training data (for example, such training data may come from open databases such as ImageNET), while only a small number of data samples are annotated for the input data used to perform predictions (for example, input data obtained for the specific application scenario in which the semantic segmentation network is to be deployed, where in the field of autonomous driving, the input data may be images of real road conditions obtained by the vehicle). In short, few-shot domain adaptation aims to solve the problem of how to enable a deep learning model trained on a training dataset in the source domain to quickly generalize well to the target domain when only a small amount of annotated data from the target domain is available.

[0028] The domain adaptation problem of the deep learning model is more intuitively explained below with reference to Figures 2A and 2B. Figure 2A shows a schematic diagram of a feature space generated by a trained feature extractor for a training data set from a source domain according to an embodiment of the present disclosure. As shown in Figure 2A, the feature space generated by the training data set from the source domain after feature extraction is shown in a two-dimensional space, wherein each point represents a feature sample, wherein the white dots represent positive feature samples from the source domain, and the black dots represent negative feature samples from the source domain. As discussed above, the training data set is annotated to provide label information for each training sample. The label can indicate the category and position of a particular training sample. Therefore, the category of a specific feature sample corresponding to one or more training samples can be determined based on the label information associated with each training sample. It should be noted that the discussion herein is illustrated using binary semantic segmentation as an example, that is, each data sample is classified into one of two categories (such as the positive sample and negative sample discussed above). However, the method of the present disclosure is not limited to this binary semantic segmentation, but a specific sample can be classified into one of any multiple categories.

[0029] As shown in Figure 2A, in the feature space generated by the trained feature extractor, positive feature samples and negative feature samples are distributed substantially separately. As a result, the classifier can determine a decision boundary 202, through which positive feature samples and negative feature samples can be accurately classified. It should be noted that, as discussed above, this article uses binary semantic segmentation as an example, so only one decision boundary is shown in the feature space. It can be imagined that for the application scenario of multi-element semantic segmentation, multiple decision boundaries can be determined in the feature space. For example, two decision boundaries can be used to divide feature samples into three categories.

[0030] Next, the trained semantic segmentation neural network can be migrated to the target domain. Figure 2B shows a schematic diagram of a feature space generated by a trained feature extractor for input data from the target domain according to an embodiment of the present disclosure. As shown in Figure 2B, the feature space generated by the input data from the target domain after feature extraction is shown in a two-dimensional space, wherein each point represents a feature sample, wherein the white triangle represents a positive feature sample from the target domain, and the black triangle represents a negative feature sample from the target domain. Figure 2B also shows a decision boundary 202 that is the same as the decision boundary determined for the source domain shown in Figure 2A. As shown in Figure 2B, when the semantic segmentation neural network is migrated from the source domain to the target domain, due to the change in data distribution, the original decision boundary 202 trained for the source domain cannot accurately distinguish the feature samples from the target domain as positive feature samples and negative feature samples. Instead, the positive feature samples from the target domain and the negative feature samples from the target domain may be randomly distributed throughout the feature space. Therefore, in this case, the classifier may not be able to generate accurate semantic segmentation prediction results based on the feature data.

[0031] In order to solve the above problems, the domain adaptation method for semantic segmentation neural network proposed in the present disclosure can train the feature extractor of the semantic segmentation neural network based on the contrastive learning algorithm, so that the trained semantic segmentation neural network can quickly adapt to the new target domain.

[0032] Figure 3 shows a schematic diagram of the basic principles of a method for domain adaptation of a semantic segmentation neural network according to an embodiment of the present disclosure. Figure 3 shows an example data distribution in a two-dimensional feature space generated by a feature extractor for input data of a target domain after applying the domain adaptation method of the present disclosure. Similar to Figures 2A and 2B, in Figure 3, white dots represent positive feature samples from the source domain, black dots represent negative feature samples from the source domain, white triangles represent positive feature samples from the target domain, and black triangles represent negative feature samples from the target domain. Thus, the method for domain adaptation of semantic segmentation of the present disclosure aims to achieve such an effect by training a feature extractor based on a contrastive learning algorithm: pulling positive feature samples from the target domain (represented by white triangles) toward positive feature samples from the source domain (represented by white dots) so that negative feature samples from the source domain or target domain are distinguished from positive feature samples from the target domain or source domain. Therefore, the classifier can determine the corresponding decision boundary 302 for the optimized feature space, so that positive feature samples and negative feature samples can be accurately classified through the decision boundary 302 to obtain accurate semantic segmentation prediction results for the target domain.

[0033] The following describes an example operational flow of a method for domain adaptation of a semantic segmentation neural network disclosed herein with reference to Figures 4A and 4B . Figure 4A illustrates a flowchart of a method 400 for training a semantic segmentation neural network based on a contrastive learning algorithm according to an embodiment of the present disclosure. Figure 4B illustrates a flowchart of a method 400′ for migrating a trained semantic segmentation neural network to a target domain to perform prediction according to an embodiment of the present disclosure.

[0034] As shown in FIG4A , in step S402 , a training dataset may be obtained. The training dataset may include several digital images, and each digital image may include several training samples (e.g., pixels). The training dataset is annotated so that the training dataset can provide label information for each training sample. The label may indicate the category and location of a particular training sample. Therefore, the label information can be used to determine whether a particular training sample is a positive training sample or a negative training sample. To address the domain adaptation problem discussed above, the training dataset may include training samples from a source domain and training samples from a target domain. Specifically, for few-shot domain adaptation, the number of training samples from the source domain in the training dataset is significantly greater than that from the target domain. It should be understood that, as discussed above, the training samples from the source domain may be those that can be obtained from open databases such as ImageNET, and their number may be in the order of tens of millions. However, for the target domain to which the trained semantic segmentation neural network is to be transferred, the number of training samples is typically limited because re-annotating such training samples in large quantities involves a heavy manual burden. For example, the number of training samples from the target domain may be in the order of tens of thousands, thousands, or even hundreds. In such cases, the number of training samples from the source domain is significantly greater than the limited number of training samples from the target domain (eg, the two are of different orders of magnitude).

[0035] In step S404, a feature extractor of the semantic segmentation neural network can be trained based on the training dataset using a contrastive learning loss function to obtain a trained feature extractor. Contrastive learning is a self-supervised learning method known in the art that is typically used to learn general features of a dataset by allowing the model to learn which data points are similar or different without using task-related labels.

[0036] Specifically, in the process of training the feature extractor based on the contrastive learning algorithm, the training data set can be input into the feature extractor to generate a set of training feature samples. The set of training feature samples can be in a two-dimensional feature space as shown in Figure 3, and include several training feature samples. As discussed above with reference to Figure 1, each training feature sample can refer to a multidimensional vector and corresponds to a set of training samples. Thus, based on the label information associated with the training samples, each training feature sample in the set of training feature samples can be divided into a positive training feature sample or a negative training feature sample. During the training process, the performance of the trained model can usually be characterized by the degree of convergence or minimization of the loss function, wherein the loss function is used to measure the degree of inconsistency between the predicted value and the true value output by the model. That is, the trained preferred model parameters (including, for example, weights, biases) can be obtained by solving the loss function.

[0037] In step S404, the following contrastive learning loss function may be used:

[0038] in, represents the positive training feature samples from the target domain, represents the positive training feature samples from the source domain, k i Represents negative training feature samples from the target domain or the source domain, K is the number of negative training feature samples, and τ is an adjustable temperature coefficient. In one embodiment, the temperature coefficient τ can be selected from a set of predefined fixed values ​​and can be switched between the set of predefined fixed values ​​according to the convergence of the loss function. Thus, using the above-mentioned contrastive learning loss function, the process of training the feature extractor is intended to achieve the following effect: pull the positive training feature samples from the target domain toward the positive training feature samples from the source domain, so that in the set of training feature samples, the negative training feature samples from the source domain or the target domain are distinguished from the positive training feature samples from the target domain or the source domain.

[0039] In addition, method 400 may further include an additional optional step S406, in which the classifier of the semantic segmentation neural network can be further trained based on the training data. In the process of training the classifier, the classifier can be trained while the model parameters of the trained feature extractor are frozen (that is, the model parameters are no longer adjusted). Alternatively, the classifier can be trained while the model parameters of the trained feature extractor are adaptively adjusted. In addition, in one embodiment, the optional step S406 is not performed in method 400, that is, the classifier in the semantic segmentation neural network can be untrained and can be directly combined with the trained feature extractor to perform classification on the feature data generated by the feature extractor, thereby obtaining a semantic segmentation prediction result.

[0040] As shown in Figure 4B, after completing the training of the semantic segmentation neural network, the trained semantic segmentation neural network can be migrated to the target domain. Specifically, the method 400' of migrating the trained semantic segmentation neural network to the target domain to perform prediction may include, in step S408, using the feature extractor of the trained semantic segmentation neural network to extract features from the input data from the target domain to obtain feature data. Next, in step S410, the classifier of the trained semantic segmentation neural network can be used to perform classification on the feature data generated by the feature extractor to obtain a semantic segmentation prediction result. The semantic segmentation prediction result can indicate the category of each data sample in the input data.

[0041] 5 shows a schematic diagram of the architecture of a computing device according to one embodiment of the present disclosure. The method for domain adaptation of a semantic segmentation neural network of the present disclosure can be implemented on the computing device 500.

[0042] The example computing device 500 includes an internal communication bus 502 and a processor (e.g., a central processing unit (CPU)) 504 connected to the internal communication bus 502. The processor 504 is used to execute instructions stored in a memory 506 to implement the method for domain adaptation of a semantic segmentation neural network described in detail above. The memory 506 is suitable for tangibly embodying computer program instructions and data, and can include various forms of memory, including, for example, semiconductor memory devices such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM disks, etc. The computing device 500 may also include an input / output (I / O) interface 508, so that various I / O devices (e.g., a cursor control device such as a mouse, a keyboard, etc.) can be coupled to the computing device 500 through the I / O interface 508 to allow a user to apply various commands and input data. The computing device 500 may also include a display unit 510 for displaying a graphical user interface.

[0043] The computer program may include instructions that can be executed by a computer, the instructions being used to cause the processor 504 of the computing device 500 to perform the method for domain adaptation of a semantic segmentation neural network disclosed herein. The program may be recorded on any data storage medium, including a memory. For example, the program may be implemented in digital electronic circuits, or in computer hardware, firmware, software, or a combination thereof. The process / method steps described in this disclosure may be performed by a programmable processor that executes the program instructions to perform the method, steps, or operations by operating on input data and generating output.

[0044] In addition to what is described herein, various modifications may be made to the disclosed embodiments and implementations without departing from the scope of the disclosed embodiments and implementations. Therefore, the description and examples herein should be interpreted as illustrative rather than restrictive. The scope of the present disclosure should be measured solely by reference to the claims.

Claims

1. A method for domain adaptation of a semantic segmentation neural network, comprising: obtaining a training dataset, wherein the training dataset is annotated and includes training samples from a source domain and training samples from a target domain; and Based on the training data set, training the feature extractor of the semantic segmentation neural network using a contrastive learning loss function to obtain a trained feature extractor; The trained feature extractor is used to extract features from input data from the target domain to obtain feature data for generating semantic segmentation prediction results.

2. The method according to claim 1, wherein: The trained feature extractor is used in combination with a classifier of the semantic segmentation neural network, so that the classifier can generate the semantic segmentation prediction result based on the feature data.

3. The method according to claim 1, wherein: The semantic segmentation prediction result indicates the category of each data sample in the input data.

4. The method according to claim 1, in, The training data set provides label information for each training sample; and The label information indicates whether the training sample is a positive training sample or a negative training sample.

5. The method according to claim 4, wherein: Training the feature extractor using the contrastive learning loss function includes: The training data set is input into the feature extractor to generate a set of training feature samples, wherein each training feature sample in the set of training feature samples is divided into a positive training feature sample or a negative training feature sample based on the label information.

6. The method according to claim 5, wherein: Training the feature extractor using the contrastive learning loss function includes: According to the contrastive learning loss function, the positive training feature samples from the target domain are pulled toward the positive training feature samples from the source domain, so that in the set of training feature samples, the negative training feature samples from the source domain or the target domain are distinguished from the positive training feature samples from the target domain or the source domain.

7. The method according to claim 6, wherein: The contrastive learning loss function is: in, represents the positive training feature samples from the target domain, represents the positive training feature samples from the source domain, k i represents the negative training feature samples from the target domain or the source domain, K is the number of the negative training feature samples, and τ is an adjustable temperature coefficient.

8. The method according to claim 1, wherein: In the training dataset, the number of training samples from the source domain is significantly greater than the number of training samples from the target domain.

9. The method according to claim 2, further comprising: After obtaining the trained feature extractor, the classifier is trained based on the training data set.

10. The method according to claim 9, wherein: Training the classifier includes: training the classifier while freezing the model parameters of the trained feature extractor; or The classifier is trained by adapting model parameters of the trained feature extractor.

11. An apparatus for domain adaptation of a semantic segmentation neural network, comprising: Memory; A processor is coupled to the memory, the processor being configured to execute the method according to any one of claims 1-10.

12. A computer readable medium storing a computer program comprising instructions which, when executed by a processor, cause the processor to be configured to perform the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Small sample infrared image classification method based on deep neural network

    CN115205664A

  • Model training method, semantic segmentation model, device, medium and electronic equipment

    CN115578557A

  • Cross-domain adaptive learning

    US20220230066A1