Multi-mode BEV perception model pre-training method and computer equipment
By pre-training the point cloud backbone network of the multimodal BEV perception model of the intelligent driving perception system, the original radar point cloud data is extracted and optimized BEV point cloud features, the problem of failure to fully utilize 3D labeled data in the existing technology is solved. , improving the perception sensitivity and 3D object detection performance of the intelligent driving perception system.
Patent Information
- Application Number
- CN202410917816.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-11-01
AI Technical Summary
The existing intelligent driving perception system fails to make full use of 3D annotation data in multimodal BEV perception model training, resulting in insufficient 3D object detection performance and insufficient perceived information to the real world.
By removing ground point and shifting the original radar point cloud data, the point cloud backbone network of the target multimodal BEV perception model is called to extract the BEV point cloud features of random clustering points and non-clustering points, and perform network optimization. , pre-trained point cloud backbone network to improve perception sensitivity and 3D object detection performance.
The sensitivity of the BEV perception model to perceive the vehicle environment before 3D labeling data training is improved, ensuring that the perception information output by the final model is closer to the real world, and improving the 3D object detection performance.
Smart Images

Figure CN118887435A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent driving technology, and more specifically, to a multimodal BEV perception model pre-training method and computer equipment. Background Art
[0002] With the continuous development of science and technology, intelligent driving technology has been gradually applied to various industries (such as logistics and transportation, urban public transportation, etc.) because it can assist drivers in completing vehicle driving tasks or realize unmanned driving functions. For intelligent driving technology, the perception system plays a vital role in the intelligent driving process. It can perceive the environment and road information around the vehicle in real time, provide necessary data and feedback for the intelligent driving system, and provide a basis for route planning, driving decision-making and other aspects of intelligent driving.
[0003] At present, intelligent driving perception systems are usually implemented using BEV (Bird's-Eye-View) perception algorithms that can output perception information in a three-dimensional perspective or a bird's-eye view. The BEV perception algorithm can be used to eliminate the complex post-fusion system that relies on artificial experience, and provide perception information that is closer to the real world for subsequent route planning, driving decisions, and other links. Among them, the multimodal fusion BEV perception algorithm that uses a mixture of multiple sensors (for example, cameras, lidars, or millimeter-wave radars, etc.) is an important research direction of BEV perception algorithms today. In the process of implementing the multimodal fusion BEV perception algorithm, it is usually necessary to use a large amount of 3D annotated data to train the multimodal BEV perception model to ensure that the multimodal BEV perception model finally trained can achieve a certain degree of 3D target detection performance. However, it is worth noting that the 3D annotated data is actually only a small part of the data collected by multiple sensors in the external perception process, and the data collected by each of the multiple sensors is not fully utilized in the BEV perception model training process. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a multimodal BEV perception model pre-training method and computer equipment, which can make full use of the original radar point cloud data before the 3D annotation operation to pre-train the point cloud backbone network of the multimodal BEV perception model, and improve the perception sensitivity of the computer equipment when using the corresponding BEV perception model to perceive the vehicle surrounding environment before training with 3D annotation data, so as to further improve the 3D target detection performance of the corresponding BEV perception model after training with 3D annotation data, and ensure that the finally trained BEV perception model can output vehicle surrounding environment perception information that is closer to the real world when loaded onto the vehicle-mounted terminal.
[0005] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0006] In a first aspect, the present application provides a multimodal BEV perception model pre-training method, the method comprising:
[0007] Acquire original radar point cloud data of the vehicle's surrounding environment, and remove ground points from the original radar point cloud data to obtain first radar point cloud data;
[0008] Performing point cloud shift on the first radar point cloud data to obtain second radar point cloud data;
[0009] Calling the point cloud backbone network of the target multimodal BEV perception model to extract BEV point cloud features of a plurality of random clustered points and a plurality of random non-clustered points respectively included in the first radar point cloud data and the second radar point cloud data;
[0010] The point cloud backbone network is optimized according to the actual category label values and BEV point cloud features of all random clustering points and all random non-clustering points, and then the step of calling the point cloud backbone network to extract the BEV point cloud features of multiple random clustering points and multiple random non-clustering points respectively included in the first radar point cloud data and the second radar point cloud data is continued until the actual optimization times of the point cloud backbone network reaches the preset optimization times.
[0011] In an optional embodiment, the method further comprises:
[0012] Determining actual category label values of all spatial points respectively included in the first radar point cloud data and the second radar point cloud data, wherein all spatial points respectively corresponding to the first radar point cloud data and the second radar point cloud data are composed of a plurality of clustered points and a plurality of non-clustered points;
[0013] The step of determining the actual category label values of all spatial points respectively included in the first radar point cloud data and the second radar point cloud data comprises:
[0014] Performing point cloud clustering recognition on the first radar point cloud data to obtain actual clustering categories of all cluster points in the first radar point cloud data;
[0015] According to a preset mapping relationship between different clustering categories and different category label values, determining an actual category label value that matches each of all clustering points in the first radar point cloud data with a corresponding actual clustering category;
[0016] Assigning actual category label values to all non-clustered points except clustered points in the first radar point cloud data according to preset non-clustered label values;
[0017] According to the actual category label values of all clustered points and all non-clustered points in the first radar point cloud data, and based on the spatial point position mapping relationship between the first radar point cloud data and the second radar point cloud data, the actual category label values of all spatial points in the second radar point cloud data are assigned.
[0018] In an optional embodiment, the step of calling the point cloud backbone network to extract BEV point cloud features of a plurality of random clustered points and a plurality of random non-clustered points respectively included in the first radar point cloud data and the second radar point cloud data comprises:
[0019] For each type of radar point cloud data in the first radar point cloud data and the second radar point cloud data, randomly select a plurality of random cluster points from all cluster points included in the type of radar point cloud data according to a first preset number, and randomly select a plurality of random non-cluster points from all non-cluster points included in the type of radar point cloud data according to a second preset number;
[0020] Calling the point cloud backbone network to extract the BEV feature map of the radar point cloud data to obtain the BEV point cloud feature map of the radar point cloud data;
[0021] Extract the BEV point cloud features corresponding to each of the multiple random cluster points and the multiple random non-cluster points in the BEV point cloud feature map.
[0022] In an optional embodiment, the step of performing network optimization on the point cloud backbone network according to the actual category label values of all random cluster points and all random non-cluster points and the BEV point cloud features includes:
[0023] Performing statistics on the number of positive sample pairs according to the actual category label values of the plurality of random clustering points respectively included in the first radar point cloud data and the second radar point cloud data, to obtain the actual number of positive sample pairs of each random clustering point in the first radar point cloud data at the second radar point cloud data, wherein a single positive sample pair is composed of a random clustering point having the same actual category label value respectively included in the first radar point cloud data and the second radar point cloud data;
[0024] According to the actual category label values and BEV point cloud features of the multiple random cluster points and the multiple random non-cluster points respectively included in the first radar point cloud data and the second radar point cloud data, and the actual number of positive sample pairs of the multiple random cluster points in the first radar point cloud data, comparative learning is performed on the feature extraction weights of the point cloud backbone network with the goal of minimizing the contrastive learning loss function.
[0025] In an optional embodiment, the contrastive learning loss function is expressed by the following formula:
[0026]
[0027] Wherein, Loss1 is used to represent the loss value of the contrastive learning loss function, N is used to represent the first preset number, M is used to represent the second preset number, and D i is used to represent the number of actual positive sample pairs of the i-th random clustering point in the first radar point cloud data at the second radar point cloud data, A BEV point cloud feature for representing the i-th random cluster point in the first radar point cloud data, It is used to represent the BEV point cloud features of the jth random spatial point among a plurality of random clustered points and a plurality of random non-clustered points included in the second radar point cloud data, and τ1 is used to represent the temperature coefficient of the point cloud backbone network.
[0028] In an optional embodiment, the method further comprises:
[0029] Acquire a panoramic surround view image corresponding to the original radar point cloud data;
[0030] Calling the point cloud backbone network after the network optimization operation is completed to extract BEV point cloud features of multiple random cluster points included in the first radar point cloud data, and calling the image backbone network of the target multimodal BEV perception model to extract BEV image features corresponding to each of the multiple random cluster points in the panoramic surround image;
[0031] The image backbone network is optimized according to the actual category label values, BEV point cloud features and BEV image features corresponding to each of the multiple random clustering points, and then the step of calling the point cloud backbone network after the network optimization operation to extract the BEV point cloud features of the multiple random clustering points included in the first radar point cloud data is continued until the actual optimization times of the image backbone network reaches the preset optimization times.
[0032] In an optional embodiment, the step of calling the image backbone network of the target multimodal BEV perception model to extract the BEV image features corresponding to each of the plurality of random clustering points in the panoramic surround image includes:
[0033] Calling the image backbone network to extract the BEV feature map of the panoramic view image to obtain the BEV image feature map of the panoramic view image;
[0034] According to the position mapping relationship between each pixel point in the panoramic surround image and each spatial point in the first radar point cloud data, the BEV image features corresponding to each of the multiple random clustering points in the BEV image feature map are extracted.
[0035] In an optional embodiment, the step of performing network optimization on the image backbone network according to actual category label values, BEV point cloud features and BEV image features corresponding to each of the plurality of random clustering points comprises:
[0036] Counting the number of clustering categories according to the actual category label values corresponding to each of the plurality of random clustering points to obtain the total number of actual categories matching the plurality of random clustering points;
[0037] According to the total number of actual categories and the actual category label values corresponding to each of the multiple random clustering points, BEV point cloud features and BEV image features, knowledge distillation is performed on the image backbone network using the point cloud backbone network after the network optimization operation with the goal of minimizing the knowledge distillation loss function.
[0038] In an optional embodiment, the knowledge distillation loss function is expressed as follows:
[0039]
[0040] Among them, Loss2 is used to represent the loss value of the knowledge distillation loss function, N′ is used to represent the total number of actual categories matching the multiple random clustering points, and P s is used to represent the actual category label value corresponding to the s-th cluster category, S is used to represent the number of cluster points corresponding to the s-th cluster category among the multiple random cluster points, and C i The BEV image feature L is used to represent the i-th random cluster point corresponding to the s-th cluster category among the multiple random cluster points. i The BEV point cloud feature L is used to represent the i-th random cluster point corresponding to the s-th cluster category among the multiple random cluster points. j It is used to represent the BEV point cloud features of the jth random clustering point corresponding to the sth clustering category among the multiple random clustering points, and τ2 is used to represent the temperature coefficient of the image backbone network.
[0041] In a second aspect, the present application provides a computer device comprising a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the multimodal BEV perception model pre-training method described in any one of the aforementioned embodiments.
[0042] In this case, the beneficial effects of the embodiments of the present application may include the following:
[0043] After removing ground points from the original radar point cloud data of the vehicle's surrounding environment to obtain the first radar point cloud data, and performing point cloud shifting on the first radar point cloud data to obtain the second radar point cloud data, the application will call the point cloud backbone network of the target multimodal BEV perception model to extract the BEV point cloud features of the multiple random clustering points and the multiple random non-clustering points included in the first radar point cloud data and the second radar point cloud data, and optimize the point cloud backbone network according to the actual category label values and BEV point cloud features of all random clustering points and all random non-clustering points, and then repeat the aforementioned steps. Steps are performed to make the actual optimization times of the point cloud backbone network reach the preset optimization times, so as to make full use of the original radar point cloud data before the 3D annotation operation to pre-train the point cloud backbone network of the multimodal BEV perception model, and improve the perception sensitivity of computer equipment when using the corresponding BEV perception model to perceive the vehicle surrounding environment before training with 3D annotation data, so as to further improve the 3D target detection performance of the corresponding BEV perception model after training with 3D annotation data, and ensure that the finally trained BEV perception model can output vehicle surrounding environment perception information that is closer to the real world when loaded on the vehicle-mounted terminal.
[0044] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 A schematic diagram of the composition of a computer device provided in an embodiment of the present application;
[0047] Figure 2 One of the flow charts of the multimodal BEV perception model pre-training method provided in the embodiment of the present application;
[0048] Figure 3 for Figure 2 A schematic flow chart of the sub-steps included in step S230;
[0049] Figure 4 for Figure 2 A schematic flow chart of the sub-steps included in step S240;
[0050] Figure 5The second flowchart of the multimodal BEV perception model pre-training method provided in the embodiment of the present application;
[0051] Figure 6 for Figure 5 Schematic diagram of the flow chart of the sub-steps included in step S320.
[0052] Icons: 10 - computer device; 11 - memory; 12 - processor; 13 - communication unit. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0054] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0055] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0056] In the description of the present application, it should be understood that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, or are the orientations or positional relationships in which the product of the application is conventionally placed when in use, or are the orientations or positional relationships conventionally understood by those skilled in the art. They are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0057] In the description of this application, it should also be noted that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0058] In addition, in the description of the present application, it is understood that the relational terms such as the term "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements that are not clearly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood by specific circumstances.
[0059] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0060] Please refer to Figure 1 , Figure 11 is a schematic diagram of the composition of the computer device 10 provided in the embodiment of the present application. In the embodiment of the present application, the computer device 10 can be used to train the multimodal BEV perception model, so that the multimodal BEV perception model finally trained can realize the 3D target detection function in the process of intelligent driving, so as to provide perception information close to the real world to the route planning, driving decision-making and other links involved in the intelligent driving technology. Among them, the computer device 10 can make full use of a variety of original sensor data for external perception of the surrounding environment of the test vehicle (for example, panoramic surround image data directly collected by a panoramic camera or a multi-eye camera, and original radar point cloud data directly collected by a laser radar or a millimeter-wave radar) in the process of training the multimodal BEV perception model to pre-train the BEV perception model, so that the pre-trained BEV perception model can have a sufficiently strong sensitivity to the vehicle surrounding environment perception before using 3D annotated data training, so as to further improve the 3D target detection performance of the corresponding BEV perception model after training with 3D annotated data, and ensure that the finally trained BEV perception model can output vehicle surrounding environment perception information closer to the real world during intelligent driving when loaded on the vehicle-mounted terminal. In this process, the computer device 10 can effectively improve its data utilization rate of various raw sensor data of the test vehicle's surrounding environment through model pre-training operations, and at the same time improve its perception sensitivity when directly perceiving the vehicle's surrounding environment using the BEV perception model after model pre-training. The computer device 10 can be a terminal device integrated with the test vehicle (for example, an on-board terminal of the test vehicle), or a terminal device independent of the test vehicle (for example, a laptop, a personal computer, a server, etc.).
[0061] In the embodiment of the present application, the computer device 10 may include a memory 11, a processor 12, and a communication unit 13. The memory 11, the processor 12, and the communication unit 13 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, the memory 11, the processor 12, and the communication unit 13 may be electrically connected to each other via one or more communication buses or signal lines.
[0062] In this embodiment, the memory 11 may be, but not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory 11 is used to store a computer program, and the processor 12 may execute the computer program accordingly after receiving an execution instruction.
[0063] In this embodiment, the processor 12 may be an integrated circuit chip with signal processing capability. The processor 12 may be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or at least one of other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc., which may implement or execute the disclosed methods, steps, and logic block diagrams in the embodiments of the present application.
[0064] In this embodiment, the communication unit 13 is used to establish a communication connection between the computer device 10 and other electronic devices through a network, and to send and receive data through the network, wherein the network includes a wired communication network and a wireless communication network. For example, the computer device 10 can obtain the original sensor data (including the panoramic surround image data directly collected by the panoramic camera or the multi-eye camera, and the original radar point cloud data directly collected by the laser radar or the millimeter wave radar) collected by the various sensors installed on the test vehicle for the surrounding environment of the test vehicle through the communication unit 13; wherein the multi-eye camera can be composed of a plurality of monocular cameras, and the plurality of monocular cameras are respectively arranged at different body positions of the test vehicle (for example, the front, left front, right front, rear, left rear, and right rear of the vehicle), so that the plurality of monocular cameras respectively collect images of the surrounding environment of the vehicle at different angles to obtain the panoramic surround image data corresponding to the surrounding environment of the test vehicle.
[0065] In an embodiment of the present application, the computer device 10 may pre-store a specific computer program related to the BEV perception model pre-training operation in the memory 11, and drive the processor 12 to execute the specific computer program stored in the memory 11 accordingly, so as to make full use of the various original sensor data before the 3D annotation operation corresponding to the surrounding environment of the test vehicle to perform multimodal BEV perception model pre-training, improve the data utilization rate of the original sensor data by the computer device 10, and improve the perception sensitivity of the computer device 10 when using the corresponding BEV perception model to directly perceive the vehicle surrounding environment before using 3D annotation data training, so as to further improve the 3D target detection performance of the corresponding BEV perception model after training with 3D annotation data, and ensure that the finally trained BEV perception model can output vehicle surrounding environment perception information that is closer to the real world during intelligent driving when loaded onto the vehicle-mounted terminal.
[0066] Understandably, Figure 1 The block diagram shown is only a schematic diagram of a composition of the computer device 10. The computer device 10 may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0067] In the present application, in order to ensure that the computer device 10 can fully utilize the various raw sensor data corresponding to the test vehicle's surrounding environment before the 3D annotation operation to perform multimodal BEV perception model pre-training, improve the data utilization rate of the computer device 10 for the raw sensor data, and improve the perception sensitivity of the computer device 10 when using the corresponding BEV perception model to directly perceive the vehicle's surrounding environment before using 3D annotation data training, so as to further improve the 3D target detection performance of the corresponding BEV perception model after training with 3D annotation data, and ensure that the finally trained BEV perception model can output vehicle surrounding environment perception information that is closer to the real world during intelligent driving when loaded on the vehicle terminal, the embodiment of the present application provides a multimodal BEV perception model pre-training method to achieve the above-mentioned purpose. The multimodal BEV perception model pre-training method provided by the present application is described in detail below.
[0068] Please refer to Figure 2 , Figure 2It is one of the flow charts of the multimodal BEV perception model pre-training method provided in the embodiment of the present application. In the embodiment of the present application, the multimodal BEV perception model pre-training method may include steps S210 to S260, so as to fully utilize the original radar point cloud data before the 3D annotation operation corresponding to the test vehicle's surrounding environment to pre-train the point cloud backbone network of the multimodal BEV perception model, and improve the BEV point cloud feature extraction capability of the point cloud backbone network of the corresponding BEV perception model before the 3D annotation data training, thereby improving the data utilization rate of the computer device 10 for the original sensor data, and further improving the perception sensitivity of the computer device 10 when directly using the pre-trained BEV perception model to perceive the vehicle's surrounding environment.
[0069] Step S210, obtaining original radar point cloud data of the vehicle's surrounding environment, and removing ground points from the original radar point cloud data to obtain first radar point cloud data.
[0070] In this embodiment, the computer device 10 can obtain original radar point cloud data of the vehicle's surrounding environment from a radar detection sensor (for example, a lidar or a millimeter-wave radar) deployed on the test vehicle through the communication unit 13; the computer device 10 can remove ground points (i.e., spatial points on the ground) in the original radar point cloud data by performing point cloud filtering on the obtained original radar point cloud data to obtain the first radar point cloud data.
[0071] Step S220: performing point cloud shift on the first radar point cloud data to obtain second radar point cloud data.
[0072] In this embodiment, the computer device 10 may obtain the second radar point cloud data by performing at least one shift operation of position translation, position rotation, position flipping, etc. on at least some of the spatial points in the first radar point cloud data. In one implementation of this embodiment, the computer device 10 may perform an overall shift operation on all spatial points included in the first radar point cloud data to obtain the second radar point cloud data.
[0073] Step S230: determining actual category label values of all spatial points included in the first radar point cloud data and the second radar point cloud data.
[0074] In this embodiment, all the spatial points included in each radar point cloud data in the first radar point cloud data and the second radar point cloud data are composed of multiple cluster points and multiple non-cluster points. The cluster points are used to represent spatial points that are identified as a certain pre-configured cluster category (for example, pedestrians, vehicles, plants, buildings, etc.); the non-cluster points are used to represent spatial points that are not identified as any pre-configured cluster category; the actual category label value of each spatial point is used to represent the cluster category recognition status of the corresponding spatial point, so as to indicate whether the corresponding spatial point belongs to a cluster point or a non-cluster point through the actual category label value.
[0075] Optionally, see Figure 3 , Figure 3 yes Figure 2 Schematic diagram of the flow of sub-steps included in step S230. In this embodiment, step S230 may include sub-steps S231 to S234 to effectively determine the clustering category recognition status of all spatial points included in the first radar point cloud data and the second radar point cloud data.
[0076] Sub-step S231: performing point cloud clustering identification on the first radar point cloud data to obtain actual clustering categories of all cluster points in the first radar point cloud data.
[0077] In this embodiment, the computer device 10 can perform point cloud clustering processing on all spatial points included in the first radar point cloud data using a point cloud clustering algorithm according to a plurality of pre-configured clustering categories, so as to determine which cluster points exist in the first radar point cloud data and the actual clustering category corresponding to each cluster point. The point cloud clustering algorithm can be, but is not limited to, a partition-based clustering algorithm (e.g., k-means algorithm), a hierarchical clustering algorithm, a density-based clustering algorithm (e.g., DBSCAN (Density-Based Spatial Clustering of Applications with Noise) algorithm), a grid-based clustering algorithm, a model-based clustering algorithm (e.g., GMM algorithm), and a fuzzy-based clustering algorithm. In one implementation of this embodiment, the computer device 10 uses the DBSCAN algorithm to perform point cloud clustering recognition on the first radar point cloud data.
[0078] Sub-step S232, according to the preset mapping relationship between different cluster categories and different category label values, determining the actual category label value that matches each of all cluster points in the first radar point cloud data with the corresponding actual cluster category.
[0079] In this embodiment, the computer device 10 may pre-store a preset mapping relationship between different clustering categories and different category label values (for example, the category label value corresponding to the clustering category "pedestrian" is "1", and the category label value corresponding to the clustering category "plant" is "2"), so that after determining the actual clustering category of all clustering points in the first radar point cloud data, the actual category label value of each clustering point in the first radar point cloud data is determined by assignment. Among them, all category label values involved in the preset mapping relationship can be configured with positive integers.
[0080] Sub-step S233: assigning actual category label values to all non-clustered points except clustered points in the first radar point cloud data according to preset non-clustered label values.
[0081] The preset non-clustering label value may be configured using a negative integer, for example, the preset non-clustering label value may be configured as -1.
[0082] Sub-step S234, assigning actual category label values of all spatial points in the second radar point cloud data according to the actual category label values of all clustered points and all non-clustered points in the first radar point cloud data and based on the spatial point position mapping relationship between the first radar point cloud data and the second radar point cloud data.
[0083] In this embodiment, the spatial point position mapping relationship is used to represent the position correspondence between each spatial point in the first radar point cloud data and each spatial point in the second radar point cloud data; the computer device 10 will assign category labels to the target spatial points corresponding to the spatial point position in the second radar point cloud data according to the actual category label value of each spatial point in the first radar point cloud data, thereby determining the actual category label values corresponding to all cluster points and all non-cluster points in the second radar point cloud data.
[0084] Therefore, the present application can determine the corresponding cluster point composition and non-cluster point composition for the first radar point cloud data and the second radar point cloud data respectively by executing the above-mentioned sub-steps S231 to S234, and directly identify the actual category label values of each cluster point and each non-cluster point.
[0085] Step S240, calling the point cloud backbone network of the target multimodal BEV perception model to extract BEV point cloud features of a plurality of random clustered points and a plurality of random non-clustered points respectively included in the first radar point cloud data and the second radar point cloud data.
[0086] In this embodiment, after the computer device 10 determines the actual category label values of all spatial points corresponding to the first radar point cloud data and the second radar point cloud data, for each radar point cloud data in the first radar point cloud data and the second radar point cloud data, a plurality of cluster points are randomly selected from all cluster points included in the radar point cloud data as a random cluster point, and a plurality of non-cluster points are randomly selected from all non-cluster points included in the radar point cloud data as a random non-cluster point, and then the point cloud backbone network included in the target multimodal BEV perception model to be trained is called to extract the BEV point cloud features of the selected plurality of random cluster points and the plurality of random non-cluster points from the radar point cloud data. The number of selected cluster points corresponding to the first radar point cloud data and the second radar point cloud data is consistent, the actual cluster categories of the plurality of random cluster points selected by the first radar point cloud data and the second radar point cloud data can be partially the same, completely different, or all the same; the number of selected non-cluster points corresponding to the first radar point cloud data and the second radar point cloud data is consistent.
[0087] Optionally, see Figure 4 , Figure 4 yes Figure 2 Schematic diagram of the flow chart of the sub-steps included in step S240. In this embodiment, step S240 may include sub-steps S241 to S243 to extract BEV point cloud features of a specific number of random clustered points and BEV point cloud features of a specific number of random non-clustered points from the first radar point cloud data and the second radar point cloud data, respectively.
[0088] Sub-step S241, for each type of radar point cloud data in the first radar point cloud data and the second radar point cloud data, randomly select multiple random cluster points from all cluster points included in the radar point cloud data according to a first preset number, and randomly select multiple random non-cluster points from all non-cluster points included in the radar point cloud data according to a second preset number.
[0089] In this embodiment, the first preset number and the second preset number may be the same or different from each other. In an implementation manner of this embodiment, the first preset number and the second preset number are both 1024.
[0090] Sub-step S242, calling the point cloud backbone network to extract the BEV feature map of the radar point cloud data to obtain the BEV point cloud feature map of the radar point cloud data.
[0091] In this embodiment, the computer device 10 can call the point cloud backbone network to extract the point cloud feature map of the first radar point cloud data or the second radar point cloud data to obtain the actual point cloud feature map of the first radar point cloud data or the second radar point cloud data, and the point cloud backbone network maps the extracted actual point cloud feature map to the BEV space to obtain the BEV point cloud feature map of the first radar point cloud data or the second radar point cloud data.
[0092] Sub-step S243, extracting the BEV point cloud features corresponding to each of the plurality of random cluster points and the plurality of random non-cluster points in the BEV point cloud feature map.
[0093] In this embodiment, after determining the BEV point cloud feature map of the first radar point cloud data or the second radar point cloud data, the computer device 10 can determine the actual projection positions of the multiple random clustering points and the multiple random non-clustering points in the corresponding BEV point cloud feature map based on the spatial point position projection relationship between the actual point cloud feature map and the BEV point cloud feature map according to the spatial point positions of the multiple random clustering points and the multiple random non-clustering points selected in the first radar point cloud data or the second radar point cloud data, so as to obtain the BEV point cloud features of each random spatial point among the multiple random clustering points and the multiple random non-clustering points at the actual projection position in the corresponding BEV point cloud feature map.
[0094] Therefore, the present application can extract BEV point cloud features of a specific number of random clustered points and BEV point cloud features of a specific number of random non-clustered points from the first radar point cloud data and the second radar point cloud data respectively by executing the above sub-steps S241 to S243.
[0095] Step S250, optimizing the point cloud backbone network according to the actual category label values of all random cluster points and all random non-cluster points and the BEV point cloud features.
[0096] In this embodiment, when the computer device 10 determines the actual category label value and BEV point cloud feature of each of the multiple random clustering points selected in the first radar point cloud data, and the actual category label value and BEV point cloud feature of each of the random non-clustering points selected, and determines the actual category label value and BEV point cloud feature of each of the multiple random clustering points selected in the second radar point cloud data, and the actual category label value and BEV point cloud feature of each of the random non-clustering points selected, the computer device 10 will use the aforementioned various data to compare and learn the feature extraction weights of the point cloud backbone network to achieve a network optimization operation on the point cloud backbone network, thereby improving the perception sensitivity of the target multimodal BEV perception model when directly perceiving the vehicle surrounding environment before training with 3D annotation data.
[0097] In this process, after obtaining the aforementioned various data, the computer device 10 may preferentially use MLP (Multilayer Perceptron) to align the feature dimension size of the BEV point cloud features of each random space point (including random cluster points and random non-cluster points) to the feature dimension size adapted to the point cloud backbone network, and then use the BEV point cloud features of each random space point after the feature dimension alignment to optimize the point cloud backbone network. Among them, the feature dimension size of the BEV point cloud features of a single random space point can be expressed as [Batch_size, channels, Length, Width], Batch_size is used to indicate the number of samples represented by the corresponding BEV point cloud feature, channels is used to indicate the number of feature channels of the corresponding BEV point cloud feature, Length is used to indicate the position of the corresponding BEV point cloud feature in the length direction of the BEV point cloud feature map, and Width is used to indicate the position of the corresponding BEV point cloud feature in the width direction of the BEV point cloud feature map.
[0098] Among them, for the BEV point cloud feature of a single random spatial point, the MLP is actually used to align the number of feature channels of the BEV point cloud feature to the number of feature channels required by the point cloud backbone network in the contrastive learning process. The MLP can generally include a linear input layer, a batch normalization (BN) layer, an activation function (e.g., a ReLU activation function) layer, and a linear output layer connected in sequence. For example, if the feature dimension size of the BEV point cloud feature of a random spatial point is [1,256,1,1], and the number of feature channels required by the point cloud backbone network in the contrastive learning process is 128, then the MLP can reduce the number of channels of the feature dimension size [1,256,1,1] so that the actual feature dimension of the random spatial point after the feature dimension alignment is [1,128,1,1]. At this time, the number of input channels of the linear input layer included in the MLP is 256, the number of output channels of the linear input layer is 256, and the number of input channels of the linear output layer is 256, and the number of output channels of the linear output layer is 128.
[0099] Optionally, in an implementation of this embodiment, the step S250 may include sub-steps A to B to perform network optimization on the point cloud backbone network.
[0100] Sub-step A: performing statistics on the number of positive sample pairs according to the actual category label values of multiple random clustering points respectively included in the first radar point cloud data and the second radar point cloud data, and obtaining the actual number of positive sample pairs of each random clustering point in the first radar point cloud data at the second radar point cloud data, wherein a single positive sample pair consists of a random clustering point having the same actual category label value as that included in the first radar point cloud data and the second radar point cloud data.
[0101] Sub-step B: Based on the actual category label values and BEV point cloud features of the multiple random cluster points and the multiple random non-cluster points respectively included in the first radar point cloud data and the second radar point cloud data, and the actual number of positive sample pairs of the multiple random cluster points in the first radar point cloud data, comparative learning is performed on the feature extraction weights of the point cloud backbone network with the goal of minimizing the comparative learning loss function.
[0102] The computer device 10 can construct positive samples and negative samples for the BEV point cloud features of all random cluster points and all random non-cluster points according to the actual category label values of all selected random cluster points and all random non-cluster points, and obtain the positive sample set and negative sample set of the point cloud backbone network in the contrastive learning process, wherein each positive sample in the positive sample set is composed of the BEV point cloud features of multiple random cluster points. The contrastive learning loss function is expressed by the following formula:
[0103]
[0104] Among them, Loss1 is used to represent the loss value of the contrastive learning loss function, N is used to represent the first preset number (that is, the number of cluster points selected from the first radar point cloud data or the second radar point cloud data), M is used to represent the second preset number (that is, the number of non-cluster points selected from the first radar point cloud data or the second radar point cloud data), D i is used to represent the number of actual positive sample pairs of the i-th random clustering point in the first radar point cloud data at the second radar point cloud data, A BEV point cloud feature for representing the i-th random cluster point in the first radar point cloud data, It is used to represent the BEV point cloud features of the jth random spatial point among a plurality of random clustered points and a plurality of random non-clustered points included in the second radar point cloud data, and τ1 is used to represent the temperature coefficient of the point cloud backbone network.
[0105] Therefore, the present application can perform a network optimization operation on the point cloud backbone network by executing the above step S250, thereby improving the perception sensitivity of the target multimodal BEV perception model when directly perceiving the vehicle surrounding environment before training with 3D annotated data.
[0106] Step S260, detecting whether the actual optimization times of the point cloud backbone network reaches the preset optimization times.
[0107] In this embodiment, after the computer device 10 completes a network optimization operation on the point cloud backbone network, it will detect whether the current actual optimization times of the point cloud backbone network have reached the preset optimization times (for example, 30) to determine whether the point cloud backbone network has currently completed the pre-training operation. Among them, when the computer device 10 determines that the current actual optimization times of the point cloud backbone network have not reached the preset optimization times, it means that the point cloud backbone network has not yet completed the pre-training operation. At this time, the computer device 10 will jump to the above step S240 to continue execution until it is determined that the current actual optimization times of the point cloud backbone network have reached the preset optimization times, thereby completing the pre-training operation of the point cloud backbone network.
[0108] Therefore, the present application can fully utilize the original radar point cloud data before the 3D annotation operation corresponding to the test vehicle's surrounding environment to pre-train the point cloud backbone network of the multimodal BEV perception model by executing the above steps S210 to S260, thereby improving the BEV point cloud feature extraction capability of the point cloud backbone network of the corresponding BEV perception model before training with 3D annotation data, thereby improving the data utilization rate of the computer device 10 for the original sensor data, and further improving the perception sensitivity of the computer device 10 when directly using the pre-trained BEV perception model to perceive the vehicle's surrounding environment, so as to improve the 3D target detection performance of the corresponding BEV perception model after training with 3D annotation data, and ensure that the finally trained BEV perception model can output vehicle-surrounding environment perception information that is closer to the real world when loaded onto the vehicle-mounted terminal.
[0109] Optionally, see Figure 5 , Figure 5 This is the second flow chart of the multimodal BEV perception model pre-training method provided in the embodiment of the present application. Figure 2 Compared with the multimodal BEV perception model pre-training method shown in Figure 5 The multimodal BEV perception model pre-training method shown may also include steps S310 to S340, so as to fully utilize the original panoramic image data before the 3D annotation operation corresponding to the test vehicle's surrounding environment to pre-train the image backbone network of the multimodal BEV perception model, so that the pre-trained image backbone network can effectively inherit the feature extraction knowledge of the pre-trained point cloud backbone network, and improve the BEV point cloud feature extraction capability of the image backbone network of the corresponding BEV perception model before training with 3D annotation data, thereby improving the data utilization rate of the computer device 10 for the original sensor data, and further improving the perception sensitivity of the computer device 10 when directly using the pre-trained BEV perception model to perceive the vehicle's surrounding environment.
[0110] Step S310: Acquire a panoramic surround image corresponding to the original radar point cloud data.
[0111] In this embodiment, the computer device 10 can obtain a panoramic surround view image of the vehicle's surrounding environment corresponding to the original radar point cloud data from a visual detection sensor (e.g., a panoramic camera or a multi-camera camera) deployed on the test vehicle through the communication unit 13.
[0112] Step S320, calling the point cloud backbone network after the network optimization operation is completed to extract the BEV point cloud features of the multiple random cluster points included in the first radar point cloud data, and calling the image backbone network of the target multimodal BEV perception model to extract the BEV image features corresponding to each of the multiple random cluster points in the panoramic surround image.
[0113] In this embodiment, after completing the pre-training operation for the point cloud backbone network, the computer device 10 can call the point cloud backbone network to randomly extract the BEV point cloud features of multiple random clustering points from the first radar point cloud data according to the above sub-steps S241 to S243, and then call the image backbone network to extract the BEV image features corresponding to each of the aforementioned multiple random clustering points in the panoramic view image according to the position mapping relationship between each pixel point in the panoramic surround image and each spatial point in the first radar point cloud data.
[0114] Optionally, see Figure 6 , Figure 6 yes Figure 5 Schematic diagram of the flow of sub-steps included in step S320. In this embodiment, the step of "calling the image backbone network of the target multimodal BEV perception model to extract the BEV image features corresponding to each of the multiple random clustering points in the panoramic surround image" in step S320 may include sub-steps S321 to S322, so as to extract BEV image features in the panoramic surround image for the multiple random clustering points selected in the first radar point cloud data.
[0115] Sub-step S321, calling the image backbone network to extract the BEV feature map of the panoramic view image, and obtaining the BEV image feature map of the panoramic view image.
[0116] In this embodiment, the computer device 10 can call the image backbone network to extract the image feature map of the panoramic view image to obtain the actual image feature map of the panoramic view image, and the image backbone network can map the extracted actual image feature map to the BEV space to obtain the BEV image feature map of the panoramic view image.
[0117] Sub-step S322, extracting the BEV image features corresponding to each of the multiple random clustering points in the BEV image feature map according to the position mapping relationship between each pixel point in the panoramic surround image and each spatial point in the first radar point cloud data.
[0118] In this embodiment, the computer device 10 can determine the pixel positions of the target pixel points in the panoramic view image corresponding to the multiple random clustering points respectively according to the spatial point positions of the multiple random clustering points selected in the first radar point cloud data, based on the position mapping relationship between each pixel point in the panoramic view image and each spatial point in the first radar point cloud data, and then determine the actual projection positions of the multiple target pixel points in the corresponding BEV image feature map based on the pixel position projection relationship between the actual image feature map and the BEV image feature map, so as to obtain the BEV image features at the actual projection positions of the multiple random clustering points in the corresponding BEV image feature map.
[0119] Therefore, the present application can perform BEV image feature extraction in the panoramic surround image for multiple random cluster points selected in the first radar point cloud data by executing the above sub-steps S321 to S322.
[0120] Step S330, optimizing the image backbone network according to the actual category label values, BEV point cloud features and BEV image features corresponding to each of the plurality of random clustering points.
[0121] In this embodiment, when the computer device 10 determines the actual category label values, BEV point cloud features and BEV image features of each of the multiple random clustering points selected from the first radar point cloud data, the computer device 10 will transfer the feature extraction knowledge of the point cloud backbone network after the pre-training operation to the image backbone network through knowledge distillation based on the aforementioned various data, so as to realize a network optimization operation on the image backbone network, thereby improving the perception sensitivity of the target multimodal BEV perception model when directly perceiving the vehicle surrounding environment before training with 3D annotated data.
[0122] In this process, after obtaining the aforementioned various data, the computer device 10 can preferentially use MLP to align the feature dimension size of the BEV point cloud features and BEV image features of each random clustering point to the feature dimension size that is adapted to the image backbone network, and then use the BEV point cloud features and BEV image features of each random clustering point after the feature dimension alignment to optimize the image backbone network. Among them, the feature dimension size of the BEV image feature of a single random clustering point can also be expressed as [Batch_size, channels, Length, Width], where Batch_size is used to indicate the number of samples represented by the corresponding BEV image feature, channels is used to indicate the number of feature channels of the corresponding BEV image feature, Length is used to indicate the position of the corresponding BEV image feature in the length direction of the BEV image feature map, and Width is used to indicate the position of the corresponding BEV image feature in the width direction of the BEV image feature map.
[0123] Among them, for the BEV point cloud features of a single random clustering point, the MLP is actually used to align the number of feature channels of the BEV point cloud features to the number of feature channels required by the image backbone network in the knowledge distillation process, and for the BEV image features of a single random clustering point, the MLP is actually used to align the number of feature channels of the BEV image features to the number of feature channels required by the image backbone network in the knowledge distillation process. For example, the feature dimension sizes of the BEV point cloud features and BEV image features of a random clustering point are [1,256,1,1] and [1,80,1,1] respectively, and the number of feature channels required by the image backbone network in the contrastive learning process is 128. The first MLP can be used to reduce the number of channels of the feature dimension size [1,256,1,1] so that the actual feature dimension of the BEV point cloud features of the random clustering point after the feature dimension alignment is [1,128,1,1]. At this time, the number of input channels and the number of output channels of the linear input layer included in the first MLP are [1,256,1,1]. The numbers are both 256. The number of input channels and the number of output channels of the linear output layer included in the first MLP are 256 and 128 respectively. At the same time, the feature dimension size [1,80,1,1] can be increased in channel number through the second MLP, so that the actual feature dimension of the BEV image feature of the random clustering point after feature dimension alignment is [1,128,1,1]. At this time, the number of input channels and the number of output channels of the linear input layer included in the second MLP are 80 and 256 respectively. The number of input channels and the number of output channels of the linear output layer included in the second MLP are 256 and 128 respectively.
[0124] Optionally, in an implementation of this embodiment, the step S330 may include sub-steps C to D to perform network optimization on the image backbone network.
[0125] Sub-step C: performing cluster category statistics according to the actual category label values corresponding to each of the plurality of random cluster points, to obtain the total number of actual categories matching the plurality of random cluster points.
[0126] Sub-step D: Based on the actual total number of categories and the actual category label values corresponding to each of the multiple random clustering points, the BEV point cloud features and the BEV image features, knowledge distillation is performed on the image backbone network using the point cloud backbone network after the network optimization operation with the goal of minimizing the knowledge distillation loss function.
[0127] Among them, the knowledge distillation loss function is expressed as follows:
[0128]
[0129] Among them, Loss2 is used to represent the loss value of the knowledge distillation loss function, N′ is used to represent the total number of actual categories matching the multiple random clustering points, and P s is used to represent the actual category label value corresponding to the s-th cluster category, S is used to represent the number of cluster points corresponding to the s-th cluster category among the multiple random cluster points, and C i The BEV image feature L is used to represent the i-th random cluster point corresponding to the s-th cluster category among the multiple random cluster points. i The BEV point cloud feature L is used to represent the i-th random cluster point corresponding to the s-th cluster category among the multiple random cluster points. j It is used to represent the BEV point cloud features of the jth random clustering point corresponding to the sth clustering category among the multiple random clustering points, and τ2 is used to represent the temperature coefficient of the image backbone network.
[0130] Therefore, the present application can perform a network optimization operation on the image backbone network by executing the above-mentioned step S330, so that the image backbone network can effectively inherit the feature extraction knowledge of the pre-trained point cloud backbone network, and improve the perception sensitivity of the target multimodal BEV perception model when directly perceiving the vehicle surrounding environment before training with 3D annotated data.
[0131] Step S340, detecting whether the actual optimization times of the image backbone network reaches the preset optimization times.
[0132] In this embodiment, after the computer device 10 completes a network optimization operation on the image backbone network, it will detect whether the current actual optimization times of the image backbone network have reached a preset optimization times (for example, 30) to determine whether the image backbone network has currently completed the pre-training operation. Wherein, when the computer device 10 determines that the current actual optimization times of the image backbone network have not reached the preset optimization times, it indicates that the image backbone network has not yet completed the pre-training operation. At this time, the computer device 10 will jump to the above step S320 to continue execution until it is determined that the current actual optimization times of the image backbone network have reached the preset optimization times, thereby completing the pre-training operation of the image backbone network.
[0133] Therefore, the present application can fully utilize the original panoramic image data before the 3D annotation operation corresponding to the test vehicle's surrounding environment to pre-train the image backbone network of the multimodal BEV perception model by executing the above steps S310 to S340, so that the pre-trained image backbone network can effectively inherit the feature extraction knowledge of the pre-trained point cloud backbone network, and improve the BEV point cloud feature extraction ability of the image backbone network of the corresponding BEV perception model before training with 3D annotation data, thereby improving the data utilization rate of the computer device 10 for the original sensor data, and further improving the perception sensitivity of the computer device 10 when directly using the pre-trained BEV perception model to perceive the vehicle surrounding environment, so as to improve the 3D target detection performance of the corresponding BEV perception model after training with 3D annotation data, and ensure that the finally trained BEV perception model can output vehicle surrounding environment perception information that is closer to the real world when loaded onto the vehicle-mounted terminal.
[0134] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0135] In addition, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part. If the various functions provided by the present application are implemented in the form of software functional modules and sold or used as independent products, they can be stored in a storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method recorded in each embodiment of the present application. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0136] The above are only various implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A multimodal BEV perception model pre-training method, characterized in that: The method comprises: Acquire original radar point cloud data of the vehicle's surrounding environment, and remove ground points from the original radar point cloud data to obtain first radar point cloud data; Performing point cloud shift on the first radar point cloud data to obtain second radar point cloud data; Calling the point cloud backbone network of the target multimodal BEV perception model to extract BEV point cloud features of a plurality of random clustered points and a plurality of random non-clustered points respectively included in the first radar point cloud data and the second radar point cloud data; The point cloud backbone network is optimized according to the actual category label values and BEV point cloud features of all random clustering points and all random non-clustering points, and then the step of calling the point cloud backbone network to extract the BEV point cloud features of multiple random clustering points and multiple random non-clustering points respectively included in the first radar point cloud data and the second radar point cloud data is continued until the actual optimization times of the point cloud backbone network reaches the preset optimization times.
2. The method according to claim 1, characterized in that The method further comprises: Determining actual category label values of all spatial points respectively included in the first radar point cloud data and the second radar point cloud data, wherein all spatial points respectively corresponding to the first radar point cloud data and the second radar point cloud data are composed of a plurality of clustered points and a plurality of non-clustered points; The step of determining the actual category label values of all spatial points respectively included in the first radar point cloud data and the second radar point cloud data comprises: Performing point cloud clustering recognition on the first radar point cloud data to obtain actual clustering categories of all cluster points in the first radar point cloud data; According to a preset mapping relationship between different clustering categories and different category label values, determining an actual category label value that matches each of all clustering points in the first radar point cloud data with a corresponding actual clustering category; Assigning actual category label values to all non-clustered points except clustered points in the first radar point cloud data according to preset non-clustered label values; According to the actual category label values of all clustered points and all non-clustered points in the first radar point cloud data, and based on the spatial point position mapping relationship between the first radar point cloud data and the second radar point cloud data, the actual category label values of all spatial points in the second radar point cloud data are assigned.
3. The method according to claim 1, characterized in that The step of calling the point cloud backbone network to extract BEV point cloud features of a plurality of random clustered points and a plurality of random non-clustered points respectively included in the first radar point cloud data and the second radar point cloud data comprises: For each type of radar point cloud data in the first radar point cloud data and the second radar point cloud data, randomly select a plurality of random cluster points from all cluster points included in the type of radar point cloud data according to a first preset number, and randomly select a plurality of random non-cluster points from all non-cluster points included in the type of radar point cloud data according to a second preset number; Calling the point cloud backbone network to extract the BEV feature map of the radar point cloud data to obtain the BEV point cloud feature map of the radar point cloud data; Extract the BEV point cloud features corresponding to each of the multiple random cluster points and the multiple random non-cluster points in the BEV point cloud feature map.
4. The method according to claim 3, characterized in that The step of optimizing the point cloud backbone network according to the actual category label values of all random cluster points and all random non-cluster points and the BEV point cloud features includes: Performing statistics on the number of positive sample pairs according to the actual category label values of the plurality of random clustering points respectively included in the first radar point cloud data and the second radar point cloud data, to obtain the actual number of positive sample pairs of each random clustering point in the first radar point cloud data at the second radar point cloud data, wherein a single positive sample pair is composed of a random clustering point having the same actual category label value respectively included in the first radar point cloud data and the second radar point cloud data; According to the actual category label values and BEV point cloud features of the multiple random cluster points and the multiple random non-cluster points respectively included in the first radar point cloud data and the second radar point cloud data, and the actual number of positive sample pairs of the multiple random cluster points in the first radar point cloud data, comparative learning is performed on the feature extraction weights of the point cloud backbone network with the goal of minimizing the contrastive learning loss function.
5. The method according to claim 4, characterized in that The contrastive learning loss function is expressed as follows: Wherein, Loss1 is used to represent the loss value of the contrastive learning loss function, N is used to represent the first preset number, M is used to represent the second preset number, and D i is used to represent the number of actual positive sample pairs of the i-th random clustering point in the first radar point cloud data at the second radar point cloud data, A BEV point cloud feature for representing the i-th random cluster point in the first radar point cloud data, It is used to represent the BEV point cloud features of the jth random spatial point among a plurality of random clustered points and a plurality of random non-clustered points included in the second radar point cloud data, and τ1 is used to represent the temperature coefficient of the point cloud backbone network.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Acquire a panoramic surround view image corresponding to the original radar point cloud data; The point cloud backbone network after the network optimization operation is called to extract the BEV point cloud features of the multiple random cluster points included in the first radar point cloud data, and the image backbone network of the target multimodal BEV perception model is called to extract the BEV image features corresponding to each of the multiple random cluster points in the panoramic surround image; The image backbone network is optimized according to the actual category label values, BEV point cloud features and BEV image features corresponding to each of the multiple random clustering points, and then the step of calling the point cloud backbone network after the network optimization operation to extract the BEV point cloud features of the multiple random clustering points included in the first radar point cloud data is continued until the actual optimization times of the image backbone network reaches the preset optimization times.
7. The method according to claim 6, characterized in that The step of calling the image backbone network of the target multimodal BEV perception model to extract the BEV image features corresponding to each of the plurality of random clustering points in the panoramic surround image comprises: Calling the image backbone network to extract the BEV feature map of the panoramic view image to obtain the BEV image feature map of the panoramic view image; According to the position mapping relationship between each pixel point in the panoramic surround image and each spatial point in the first radar point cloud data, the BEV image features corresponding to each of the multiple random clustering points in the BEV image feature map are extracted.
8. The method according to claim 6, characterized in that The step of optimizing the image backbone network according to the actual category label values, BEV point cloud features and BEV image features corresponding to each of the plurality of random clustering points comprises: Counting the number of clustering categories according to the actual category label values corresponding to each of the plurality of random clustering points to obtain the total number of actual categories matching the plurality of random clustering points; According to the total number of actual categories and the actual category label values corresponding to each of the multiple random clustering points, BEV point cloud features and BEV image features, knowledge distillation is performed on the image backbone network using the point cloud backbone network after the network optimization operation with the goal of minimizing the knowledge distillation loss function.
9. The method according to claim 8, characterized in that The knowledge distillation loss function is expressed as follows: Among them, Loss2 is used to represent the loss value of the knowledge distillation loss function, N′ is used to represent the total number of actual categories matching the multiple random clustering points, and P s is used to represent the actual category label value corresponding to the s-th cluster category, S is used to represent the number of cluster points corresponding to the s-th cluster category among the multiple random cluster points, and C i The BEV image feature L is used to represent the i-th random cluster point corresponding to the s-th cluster category among the multiple random cluster points. i The BEV point cloud feature L is used to represent the i-th random cluster point corresponding to the s-th cluster category among the multiple random cluster points. j It is used to represent the BEV point cloud features of the jth random clustering point corresponding to the sth clustering category among the multiple random clustering points, and τ2 is used to represent the temperature coefficient of the image backbone network.
10. A computer device, characterized in that: It includes a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the multimodal BEV perception model pre-training method described in any one of claims 1 to 9.
Citation Information
Patent Citations
Processing method and device for self-supervised learning based on multi-modal information
CN115471807A
Systems and methods for enhancement of 3D object detection using point cloud semantic segmentation and attentive anchor generation
US20230410530A1
