Event-RGB semantic segmentation method based on large model adaptation
By introducing high-temporal resolution encoding of event information and multi-spatial-temporal scale embedding modules into the semantic segmentation model, the problem of poor segmentation results of RGB sensors in complex lighting and high-speed motion scenes is solved, and efficient fusion of event and RGB information is achieved. , significantly improving the accuracy and robustness of semantic segmentation.
Patent Information
- Application Number
- CN202410831267.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-06-26
AI Technical Summary
Existing semantic segmentation models perform poorly in scenes with complex lighting conditions and high-speed motion features, especially based on the limitations of RGB sensors, and the processing method of event information ignores its timing and motion sensitivity, resulting in multi-modal The segmentation task under the scene does not work well.
An event-RGB semantic segmentation method based on large model adaptation is designed, which is encoded through the high temporal resolution and asynchronous characteristics of event information, and uses event adapters and multi-temporal scale patch embedding modules to interact with the SAM backbone to achieve event and The efficient fusion of RGB information builds a network model that can perform high-precision segmentation in sports scenes.
It achieves efficient semantic segmentation under complex lighting and high-speed motion scenes, gets rid of the limitations of RGB sensors, retains the timing of event information, and significantly improves the accuracy and robustness of segmentation tasks.
Smart Images

Figure CN118823342A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of image processing, and specifically relates to adapting a large model SAM and performing efficient semantic segmentation in multimodal motion scenes. Background Art
[0002] As a basic visual task, semantic segmentation is widely used in fields such as transportation, robotics, and healthcare, and has always attracted the attention of the research community. With the rapid development of large model research, the basic model of semantic segmentation task, SAM (Segment Anything Model), was proposed. This model essentially solves the dilemma of poor generalization of previous segmentation models and the need to retrain the entire model on different datasets.
[0003] Nevertheless, segmentation models developed based on SAM are still constrained by the inherent limitations of RGB sensors, especially in scenes with complex lighting conditions and high-speed motion features. Based on the above motivations, a natural remedy is to introduce additional visual modalities to SAM without compromising its high generalization parameters. Compared with frame-based RGB sensors, event cameras have higher temporal resolution, dynamic range, and lower power consumption, and are suitable for deployment on platforms such as vehicles and drones. Therefore, introducing event information into SAM is undoubtedly a good choice.
[0004] Although some studies have introduced event information into semantic segmentation tasks, their encoding method for event information is often to roughly compress high temporal resolution event information into a frame-like representation and perform the same processing as RGB information. Such processing ignores the characteristics of events. First, it ignores the timing information of events. Second, event information only represents changes in light and is more sensitive to motion information, which leads to the need for independent processing methods for event information. Therefore, how to process event information and fuse it with RGB information to guide segmentation tasks is an urgent problem to be solved. Summary of the invention
[0005] Based on the above analysis, the present invention takes this as the background and designs a multimodal semantic segmentation method based on large model adaptation for the complementary characteristics of events and RGB information in motion scenes, as well as an event encoding method for the high temporal resolution and asynchronous characteristics of event information. The present invention implements an event-RGB semantic segmentation method based on large model adaptation, which utilizes the complementary characteristics of event information and RGB information in motion scenes to guide the segmentation of SAM in motion scenes.
[0006] The present invention discloses an event-RGB semantic segmentation method based on large model adaptation, which specifically includes the following steps:
[0007] Step 1: Data processing: For each pair of input data, the exposure timestamp of the RGB data is used as the benchmark, and the event information is divided into different time scales, and processed into the format of network input in turn;
[0008] Step 2: Build and train a network model, which includes a SAM backbone with frozen parameters, an event adapter (SE_Adapter), and a multi-spatiotemporal patch embedding module (MSP). All network parts except SAM are learnable. The trained model is used to process image and event pairs, where image data is input into the SAM backbone, event data is input into the MSP and then into the SE_Adapter to interact with the SAM backbone, thereby achieving high-precision and high-efficiency semantic segmentation;
[0009] Step 3: Generate semantic segmentation results. Input image and event pairs into the trained network model to generate semantic segmentation results.
[0010] The details of each step are as follows:
[0011] A set of input data in step 1 is an event-image group, which is expressed as:
[0012]
[0013] Among them, I i is a frame in the dataset, are the events at the corresponding three time scales. We perform a series of scaling and cropping operations on the frame and the corresponding event information to achieve data enhancement and normalization.
[0014] in, The specific representation format is Where t is the exposure time of the frame in the corresponding event-image group, x(t)∈[1,W], y(t)∈[1,H] is the generation position of the event at time t, where W and H represent the maximum length of the row and column respectively. p(t)∈{+1,-1} represents the polarity of the event generated at time t, +1 represents an increase in brightness by a threshold, and -1 represents a decrease in brightness by a threshold.
[0015] Then you need to The temporal dimension of is discretized into B consecutive time bins and encoded into a 3D voxel grid (E∈R B×H×W ), the specific formula is as follows:
[0016]
[0017] where t0 and Respectively represent the start time and end time of the event data, Ne Represents the number of event data, and the range of m is [0, B-1]. The event data after voxelization is represented as And used as input for subsequent networks.
[0018] The SAM backbone involved in the step 2 is a classic transformer structure, including several self-attention layers, feedforward neural network layers, residual modules and batch normalization layers. The event adapter (SE_Adapter) includes a cross-attention module and a gating unit composed of a feedforward neural network layer. The multi-spatiotemporal scale patch embedding module (MSP) includes several convolutional layers with different downsampling scales, pulse neurons and linear layers.
[0019] After the network model is constructed, the data processing flow in the model is as follows: First, for the integrated event voxels We expand it into in the form of where T is a fixed time step and its value is the same as B in step 1. Then, we Input to the ConvLIF block for spatiotemporal feature learning. Each ConvLIF module consists of multiple convolutions, batch normalization, and LIF neurons, where ConvLIF has ConvLIF 4X and ConvLIF 2X Two variants. In particular, ConvLIF 4X A maximum pooling layer is also included. A ConvLIF 4X The specific operations of the module are as follows:
[0020] The LIF (Batch norm (Conv3*3 (V′))) part is looped three times, and the step sizes of the convolution kernel are 2, 1, and 1 respectively.
[0021] A ConvLIF 2X The specific operations of the module are as follows:
[0022] F 2x =LIF(Batch norm(Conv 3*3(v′))), where the stride of the convolution kernel is 2.
[0023] The LIF neuron in the above formula is a type of pulse neuron, and its principle can be expressed as:
[0024]
[0025] S(t-1)=Heaviside(H(t-1)-V th ),
[0026] V(t)=H(t)(1-S(t))+V reset S(t),
[0027] Where X(t) is the input at time t, H(t) and V(t) represent the membrane potential of a neuron after it fires and charges, respectively. th is the pulse emission threshold, Heaviside(·) is the Heaviside step function, V reset is the reset potential and τ is the membrane potential time constant.
[0028] Subsequently, the event voxel with the largest temporal extent Only through a ConvLIF 4X module, while the event voxel with the smallest time range Through 1 ConvLIF 4X Module and 2 ConvLIF 2X Modules, and then the features output by these modules are aligned through a linear layer with a dimension of Then flatten it into a patch form in the spatial dimension, the dimension is N=H*W, and splice them together. The specific operation process is as follows:
[0029] Concat(·) represents a concatenation operation on N.
[0030] Next, we will F event In the input event adapter (SE_Adapter), the image feature F in the SAM backbone image Take one of the layers as an example, we will use the F image As The F in MSP event As and Where N I and N E is the number of patches, which is determined by the resolution of the model input. Then, cross attention is performed on the above features, and the output is At the same time, in order to control the influence of information from different modalities, we set up a gating unit, which is to convert the attention matrix in the cross attention Pass a linear layer and use the Sigmoid function to normalize it into a probability matrix from 0 to l. Then Γ and the obtained Perform element-wise multiplication, then pass it through a linear layer and add it back to the SAM backbone to get the output F′ image The specific operations of the above process are as follows:
[0031]
[0032]
[0033]
[0034] Where ⊙ is the element-by-element multiplication of matrices.
[0035] The semantic segmentation result in step 3 It is provided by a simple semantic segmentation head, which consists of two MLPs. The specific operation is as follows:
[0036]
[0037] This method takes into account the complementary characteristics of events and RGB information in motion scenes, and designs a model that uses the rich motion information in event information to guide the large model SAM to perform efficient and robust semantic segmentation. At the same time, in order to better preserve the temporal nature of event information, a new event information encoding method is designed. This method gets rid of the problem that traditional semantic segmentation methods are constrained by the inherent limitations of RGB sensors, as well as the problem of how to process event information and fuse it with RGB information to guide segmentation tasks. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is the overall structural diagram of the model of the present invention.
[0039] Figure 2 This is a specific structural diagram of the MSP in the present invention.
[0040] Figure 3 This is a comparison diagram of the present invention with the current advanced semantic segmentation algorithm on the event-RGB semantic segmentation dataset DSEC-SEMANTIC. Specific implementation methods
[0041] The purpose of the present invention is to propose an event-RGB semantic segmentation method based on large model adaptation. The present invention is designed specifically for the characteristics of event data and performs semantic segmentation on a trained deep learning model.
[0042] The technical solutions provided by the present invention will be described in detail below in conjunction with specific embodiments. It should be understood that the following specific embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention.
[0043] The workflow of the present invention is divided into a training phase and a prediction phase. In the training phase, we perform several data enhancement techniques on the data in the dataset and pair them into event-image groups according to the exposure timestamps of the RGB images for model training, where the parameters of the SAM backbone are frozen. In the prediction phase, based on the trained model parameters, the semantic segmentation tasks in different scenarios are tested.
[0044] The specific data enhancement techniques are as follows:
[0045] (1) Random flipping: Randomly flip horizontally and vertically according to probability.
[0046] (2) Random rotation: Rotate the image clockwise or counterclockwise by 90, 180, or 270 degrees according to the probability.
[0047] (3) Random cropping: Randomly crop the region of interest of the image. In the experiment, the size is set to 256 pixels in length and width.
[0049] The above data augmentation techniques are applied to both image frames and event streams. At the same time, since event data does not have a frame structure, it is first voxelized before performing corresponding operations.
[0050] A set of input data in the invention is an event-image group, which is represented as follows:
[0051]
[0052] Among them, I i is a frame in the dataset, are the events at the corresponding three time scales. We perform a series of scaling and cropping operations on the frame and the corresponding event information to achieve data enhancement and normalization.
[0053] in, The specific representation format is Where t is the exposure time of the frame in the corresponding event-image group, x(t)∈[1,W], y(t)∈[1,H] is the generation position of the event at time t, where W and H represent the maximum length of the row and column respectively. p(t)∈{+1,-1} represents the polarity of the event generated at time t, +1 represents an increase in brightness by a threshold, and -1 represents a decrease in brightness by a threshold.
[0054] Then you need to The temporal dimension of is discretized into B consecutive time bins and encoded into a 3D voxel grid (E∈R B×H×W ), the specific formula is as follows:
[0055]
[0056] where t0 and Respectively represent the start time and end time of the event data, N e Represents the number of event data, and the range of m is [0, B-1]. The event data after voxelization is represented as And used as input for subsequent networks.
[0057] After the event preprocessing process is completed, according to Figure 1 , 2 The algorithm network of the present invention is constructed, including a SAM backbone, an event adapter (SE Adapter) and a multi-spatiotemporal scale patch embedding module (MSP). The SAM backbone is a classic transformer structure, including several self-attention layers, feedforward neural network layers, residual modules and batch normalization layers, the event adapter (SEAdapter) includes a cross-attention module and a gating unit composed of a feedforward neural network layer, and the multi-spatiotemporal scale patch embedding module (MSP) includes several convolutional layers of different downsampling scales, pulse neurons and linear layers.
[0058] After the network model is constructed, the data processing flow in the model is as follows: First, for the integrated event voxels We expand it into in the form of where T is a fixed time step and its value is the same as B in step 1. Then, we Input to the ConvLIF block for spatiotemporal feature learning. Each ConvLIF module consists of multiple convolutions, batch normalization, and LIF neurons, where ConvLIF has ConvLIF 4X and ConvLIF 2X Two variants. In particular, ConvLIF 4X A maximum pooling layer is also included. A ConvLIF 4X The specific operations of the module are as follows:
[0059] The LIF (Batch norm (Conv3*3 (V′))) part is looped three times, and the step sizes of the convolution kernel are 2, 1, and 1 respectively.
[0060] A ConvLIF 2X The specific operations of the module are as follows:
[0061] F 2X =LIF(Batch norm(Conv 3*3(v′))), where the stride of the convolution kernel is 2.
[0062] The LIF neuron in the above formula is a type of pulse neuron, and its principle can be expressed as:
[0063]
[0064] S(t-1)=Heaviside(H(t-1)-V th ),
[0065] V(t)=H(t)(1-S(t))+V reset S(t),
[0066] Where X(t) is the input at time t, H(t) and V(t) represent the membrane potential of a neuron after it fires and charges, respectively. th is the pulse emission threshold, Heaviside(·) is the Heaviside step function, V reset is the reset potential and τ is the membrane potential time constant.
[0067] Subsequently, the event voxel with the largest temporal extent Only through a ConvLIF 4X module, while the event voxel with the smallest time range Through 1 ConvLIF 4X Module and 2 ConvLIF 2X Modules, and then the features output by these modules are aligned through a linear layer with a dimension of Then flatten it into a patch form in the spatial dimension, the dimension is N=H*W, and splice them together. The specific operation process is as follows:
[0068]
[0069] Concat(·) represents a concatenation operation on N.
[0070] Next, we will F event In the input event adapter (SE_Adapter), the image feature F in the SAM backbone image Take one of the layers as an example, we will use the F image As The F in MSP event As and Where N I and N E is the number of patches, which is determined by the resolution of the model input. Then, cross attention is performed on the above features, and the output is At the same time, in order to control the influence of information from different modalities, we set up a gating unit, which is to convert the attention matrix in the cross attention Pass a linear layer and use the Sigmoid function to normalize it into a probability matrix from 0 to 1 Then Γ and the obtained Perform element-wise multiplication, then pass it through a linear layer and add it back to the SAM backbone to get the output F′ image The specific operations of the above process are as follows:
[0071]
[0072]
[0073]
[0074] Where ⊙ is the element-by-element multiplication of matrices.
[0075] The original event-image group is processed by the model to obtain fine feature information, and then we need to obtain the semantic segmentation result It is provided by a simple semantic segmentation head, which consists of two MLPs. The specific operation is as follows:
[0076]
[0077] Throughout the process, we Fimage, For supervision, the mean intersection over union (mIoU) is used as the loss function to constrain the quality of the segmented image. The formula is as follows:
[0078]
[0079] Among them, M represents the number of categories, y c is a one-hot vector, whose elements can take only two values: 0 and 1. If the category is the same as the sample category, it takes 1, otherwise it takes 0. c Represents the probability that the predicted sample belongs to category c.
[0077] Attached Figure 3 The following visualization shows the comparison results of this method with the current advanced semantic segmentation algorithms on the event-RGB semantic segmentation dataset DSEC-SEMANTIC (this method is in the sixth column, and the current advanced semantic segmentation algorithms are in the fourth and fifth columns). We compare the following semantic segmentation algorithms on the dataset:
[0079] (1) EV-SegNet: The first event semantic segmentation model using event unimodality.
[0080] (2) E2ViD: An event semantic segmentation method based on image reconstruction, which reconstructs events into images and then performs segmentation.
[0081] (3) ESS: An event semantic segmentation method based on domain adaptation, which transfers the mature segmentation priors of image modality to event modality for segmentation.
[0082] (4) EDCNet-S2D: A semantic segmentation method based on images and events, using a U-Net-like method to fuse events and images.
[0083] (5) CMX: A RGB-X multimodal semantic segmentation method that uses channel fusion to process event and image information.
[0084] (6) CMNeXt: A multimodal semantic segmentation method for RGB-X that uses query fusion to process event and image information.
[0085] (7) SE_Adapter (Ours): An image and event based semantic segmentation method that performs spatiotemporal encoding of events and uses events and images for motion estimation.
[0086] The Accuracy and mIoU indicators are used for evaluation on different data sets. Their specific definitions are as follows:
[0087] Where P correct ,P total Respectively represent the number of pixels predicted correctly and the total number of pixels,
[0088] Where c represents a certain category and M represents the total number of categories.
[0089] The higher the Accuracy and mIoU values, the better the segmentation effect. Accuracy is more inclined to pixel-level evaluation, while mIoU is more macroscopic and can better represent the visualization effect observed by the human eye.
[0090] Table 1 shows the test results on the DSEC-SEMANTIC dataset: Table 1: Evaluation of interpolation effects on synthetic datasets
[0091] Then, Table 2 shows the test results on the dataset DDD17: Table 2: Evaluation of interpolation effect on real datasets
[0092] As shown in the results of Table 1 and Table 2, the present invention shows superior performance in semantic segmentation compared with other related fields.
[0093] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A multimodal semantic segmentation method based on large model adaptation, characterized by: The following steps are involved: Step (1): Data processing: for each pair of input data, the exposure timestamp of the RGB data is used as the benchmark, the event information is divided into different time scales, and processed into the format of network input in turn; Step (2): constructing a network model according to the data characteristics obtained in step (1), wherein the network model includes a SAM backbone with frozen parameters and an event adapter SE_Adapter; Step (3): constructing a specific data encoding module based on the data characteristics obtained in step (1) and the architecture of the network model obtained in step (2), wherein the specific data encoding module is a multi-spatiotemporal scale patch embedding module MSP, including a number of convolutional layers, spiking neurons, pooling layers and linear layers, and the parameters of the specific data encoding module are learnable; Step (4): Based on the network model in step (2), a semantic segmentation detection head is constructed, which consists of several linear layers; Step (5): input the data obtained in step (1) into the model obtained in step (2) and step (3) for training, wherein the image data is input into the SAM backbone, and the event data is input into the MSP and then into the SE_Adapter to interact with the SAM backbone; Step (6): Use the network model trained in step (4) to perform multimodal semantic segmentation, and input the paired event-RGB multimodal information into the network model to achieve high-precision and high-efficiency semantic segmentation.
2. The multimodal semantic segmentation method based on large model adaptation according to claim 1, characterized in that: The specific operation method of data processing in step (1) is as follows: Step (1-1), first read a set of input data as an event-image group, the set of data includes an image frame and an event group aggregated from three different time scales; Step (1-2), performing a series of scaling and cropping operations on the input data obtained in step (1-1), i.e., an image frame and corresponding event information, to achieve data enhancement and normalization; Step (1-3), then it is necessary to discretize the time dimension of the event information in step (1-2) into several continuous time boxes, and encode them into the form of 3D voxel grids as the subsequent network input.
3. The multimodal semantic segmentation method based on large model adaptation according to claim 2, characterized in that: The method for encoding the 3D voxel grid in steps (1-3) is: Step (1-3-1), divide the time dimension of the event information into B consecutive time bins evenly, each time bin contains a certain number of events, and normalize the timestamp of the event information to between 0 and B-1; Step (1-3-2): for a coordinate in a time bin obtained in step (1-3-1), perform a weighted sum of the time dimension of all events in the time bin under the coordinate. The closer the timestamp of the event is to the timestamp of the time bin, the greater the weight. Step (1-3-3), use step (1-3-2) to process the entire event information to obtain the most original event representation.
4. The multimodal semantic segmentation method based on large model adaptation according to claim 1, characterized in that: The construction method and processing flow of the data encoding module constructed in step (3) - the multi-temporal and spatial scale patch embedding module MSP is: Step (3-1), MSP contains several ConvLIF modules of different specifications, among which the 4x ConvLIF 4X The module consists of a strided 3*3 convolution, two 3*3 convolutions, three batch normalizations, three LIF neurons, and a maximum pooling, 2x ConvLIF 2X The module consists of a stride 3*3 convolution, a batch normalization, and a LIF neuron; Step (3-2), based on the MSP constructed in step (3-1), receiving the event information encoded in step (1-3) as input; for the integrated event voxel, expanding it into a four-channel form, explicitly including time information; Step (3-3), the data expanded in step (3-2) includes three different time ranges, and the event voxel with the largest time range is passed through only one ConvLIF 4X module, while the event voxels with the smallest temporal extent are passed through 1 ConvLIF 4X Module and 2 ConvLIF 2X Modules; Step (3-4) The event features processed in step (3-3) will be aligned through a linear layer, flattened into patches in the spatial dimension, and spliced together to obtain the input of the event adapter SE_Adapter.
5. The multimodal semantic segmentation method based on large model adaptation according to claim 1, characterized in that: The construction method and processing flow of the network model constructed in step (2) are: Step (2-1) The SAM backbone is a transformer structure, including several self-attention layers, feedforward neural network layers, residual modules, and batch normalization layers. The event adapter SE_Adapter includes a cross-attention module and a gating unit composed of a feedforward neural network layer; Step (2-2), the SAM backbone constructed in step (2-1) receives the enhanced image information obtained in step (1-2) and performs patch embedding to obtain the original image features, and the event adapter SE_Adapter receives the event features obtained in step (3-4); Step (2-3), the image features obtained in step (2-2) interact with the event features in SE_Adapter, using the image features as queries and the event features as keys and values, and then cross-attention is performed on the above features; Step (2-4), for the cross-attention result obtained in step (2-3), in order to control the influence of information from different modalities, a gating unit is set, the attention matrix in the cross-attention is passed through a linear layer, and it is normalized into a probability matrix from 0 to 1 using the Sigmoid function, and then the probability matrix is multiplied element-by-element with the obtained cross-attention result, and then it is passed through a linear layer and added back to the SAM backbone to obtain the output.
6. The multimodal semantic segmentation method based on large model adaptation according to claim 5, characterized in that: The concept and processing flow of patch embedding mentioned in step (2-2) are: Step (2-2-1), patch embedding refers to the process of evenly dividing the image into several sub-images and then projecting each sub-image into a vector; Step (2-2-2), for the concept mentioned in step (2-2-1), the method is: for a given sub-image size N*N, set a convolution layer with a convolution kernel size of N*N and a step size of N to process the image, and expand the three-dimensional output into a two-dimensional form in the spatial layer.
7. The multimodal semantic segmentation method based on large model adaptation according to claim 5, characterized in that: The processing flow of SAM mentioned in step (2-1) is: Step (2-1-1), for the input image information, first use the method in step (2-2-2) to embed it into a patch form; Step (2-1-2): For the patch obtained in step (2-1-1), SAM first retains the original patch as a residual connection, and then performs a self-attention operation on it; Step (2-1-3), for the residual connection and self-attention results obtained in step (2-1-2), SAM projects the self-attention results through a linear layer and adds a residual connection to obtain the result of one of the transformer layers; Step (2-1-4), repeat the operation mentioned in step (2-1-3) several times to obtain the output of SAM.
8. The multimodal semantic segmentation method based on large model adaptation according to claim 5, characterized in that: The process of attention operation mentioned in step (2-3) is: Step (2-3-1), first determine the features to be used as query, key and value; Step (2-3-2), according to the features to be used as query, key and value determined in step (2-3-1), project them through different linear layers respectively to obtain the query, key and value of this attention operation; Step (2-3-3), according to the query and key obtained in step (2-3-2), perform matrix multiplication on the transpose of the query and key to obtain the attention matrix; Step (2-3-4): multiply the attention matrix obtained in step (2-3-4) by the value obtained in step (2-3-2) to obtain the attention result of this time; Step (2-3-5), the self-attention operation mentioned in step (2-1-2) is similar to the above steps, except that the features of query, key and value are different.
9. The multimodal semantic segmentation method based on large model adaptation according to claim 1, characterized in that: The structure and process of the semantic segmentation detection head mentioned in step (4) are: Step (4-1), the semantic segmentation head consists of five linear layers; Step (4-2), based on the semantic segmentation head constructed in step (4-1), first extract multimodal features of four different scales from SAM; Step (4-3), input the multimodal features of different scales obtained in step (4-2) into the first four linear layers respectively, and concatenate the results in the patch dimension; Step (4-4), input the features obtained in step (4-3) into the last linear layer to obtain the semantic segmentation result; The model training process mentioned in step (5) is: Step (5-1), first input the paired event-RGB data into the model for inference; Step (5-2), input the result obtained in step (5-1) into the loss function to calculate the loss; Step (5-3), input the loss obtained in step (5-2) into the AdamW optimizer for back propagation, update the network parameters, and update the learning rate; Step (5-4), repeat step (5-1) to step (5-3), test every certain rounds, and save the parameters if the effect reaches the current optimal one; The process of semantic segmentation mentioned in step (6) is: Step (6-1) is the parameters obtained in the network loading step (5-4); Step (6-2), input the data into the network obtained in step (6-1) to obtain the inference result; Step (6-3), normalize the pixel values of the inference results to 0-255 to obtain the visual semantic segmentation results.
10. The multimodal semantic segmentation method based on large model adaptation according to claim 1, characterized in that: It includes a data enhancement module for the data preprocessing stage, a 3D voxel grid module, a multi-spatiotemporal patch embedding module MSP for event encoding, an event adapter SE_Adapter for generating semantic features, and a semantic segmentation detection head for generating semantic results; among them, The data enhancement module is used to enhance the diversity of data samples and indirectly expand the data set; The 3D voxel grid module is used to aggregate discrete four-dimensional event data into three-dimensional space so that it meets the input conditions of the model; The multi-spatiotemporal scale patch embedding module MSP is responsible for efficiently encoding the aggregated event information into patch form while preserving its temporal order and asynchrony; The function of the event adapter SE_Adapter is to inject specific information of downstream tasks into the SAM backbone, guide it to converge to downstream tasks, and generate high-quality image semantic features; The semantic segmentation detection head is responsible for decoding multi-scale semantic features and generating semantic segmentation results.
Citation Information
Patent Citations
Point cloud semantic segmentation method and device, electronic equipment and storage medium
CN113516663A
Heart MRI segmentation method based on improved U-Net type network
CN114821070A
RGB-D multi-modal semantic segmentation method
CN116597135A
RGB-D image saliency target detection method based on deep learning large model
CN117876656A
RGB-D image semantic segmentation method based on deep learning
CN117934849A
Cited By
SAM 2-based video concept interpretation method
CN119478796A
A video concept interpretation method based on SAM 2
CN119478796B
Ship segmentation method and device based on staggered adaptive sensing module remote sensing image
CN120070893A
