Method, apparatus, and computer program product for perceiving road structure
Abstract
The present disclosure provides a method, an apparatus, an electronic device, a storage medium and a program product for perceiving a road structure, and relates to the technical field of artificial intelligence and, in particular, to the technical field of deep learning and automatic driving. A specific implementation includes: determining, based on map data, a first perceiving result characterizing a road structure around a current position; determining, by a road structure perceiving model trained in advance, a second perceiving result characterizing the road structure around the current position; and generating a final perceiving result characterizing the road structure around the current position based on the first perceiving result and the second perceiving result.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 0.
Claims (17 — 3 Independent, 14 Dependent)
- Claim 1Independent Claim
A method for perceiving a road structure, comprising: determining, based on map data, a first perceiving result characterizing a road structure around a current position of an automatic driving vehicle or an auxiliary driving vehicle; determining, by a road structure perceiving model trained in advance, a second perceiving result characterizing the road structure around the current position; generating a final perceiving result characterizing the road structure around the current position based on the first perceiving result and the second perceiving result; wherein the road structure perceiving model comprises a feature extraction network, a spatial transformer network, and a road element segmentation network; and the determining, by the road structure perceiving model trained in advance, the second perceiving result characterizing the road structure around the current position of an automatic driving vehicle or an auxiliary driving vehicle, comprises: obtaining a plurality of images by an image acquisition device, wherein the plurality of images are taken from different angles and representing environmental information around the current position; extracting, through the feature extraction network, a two-dimensional feature of each of the plurality of images; transforming, through the spatial transformer network, a plurality of two-dimensional features corresponding to the plurality of images into three-dimensional features of the plurality of images in a bird's eye view space; fusing the three-dimensional features of the plurality of images in the bird's eye view space to obtain a fusion feature in the bird's eye view space; and performing, through the road element segmentation network, road element segmentation on the fusion feature in the bird's eye view space, to obtain the second perceiving result.
- Claim 2Depends on #1
The method according to claim 1, wherein the transforming, through the spatial transformer network, the plurality of two-dimensional features corresponding to the plurality of images into the three-dimensional features in the bird's eye view space, comprises: transforming the plurality of two-dimensional features into the three-dimensional features in the bird's eye view space through a plurality of spatial transformer matrices in the spatial transformer network, the plurality of spatial transformer matrices corresponding to the plurality of two-dimensional features one-to-one.
- Claim 3Depends on #1
The method according to claim 1, further comprising: correcting the map data according to the second perceiving result.
- Claim 4Depends on #1
The method according to claim 1, further comprising: determining, through a planning control network, a driving instruction for the automatic driving vehicle or the auxiliary driving vehicle based on the final perceiving result; and using the driving instruction to drive the automatic driving vehicle or the auxiliary driving vehicle.
- Claim 5Depends on #1
The method according to claim 1, wherein the road structure perceiving model is trained by: generating a training sample set based on map data, wherein each of training samples in the training sample set comprises a plurality of sample images that are taken from different angles and represent environmental information around a same sample position, and a road structure element label; and training an initial road structure perceiving model by using a machine learning method, taking the plurality of sample images in each training sample of the training sample set as an input, and taking the road structure element label in each training sample of the training sample set as an expected output to obtain the pre-trained road structure perceiving model.
- Claim 6Depends on #5
The method according to claim 5, wherein the initial road structure perceiving model comprises the feature extraction network, the spatial transformer network, and the road element segmentation network; and the training the initial road structure perceiving model by using the machine learning method, taking the plurality of sample images in each training sample of the training sample set as the input, and taking the road structure element label in each training sample of the training sample set as the expected output to obtain the trained road structure perceiving model comprises: selecting a target training sample from the training sample set; extracting, through the feature extraction network, a two-dimensional feature of each of the plurality of sample images in the selected target training sample; transforming, through the spatial transformer network, a plurality of two-dimensional features corresponding to the plurality of sample images into a sample feature in a bird's eye view space; performing, through the road element segmentation network, road element segmentation on the sample feature in the bird's eye view space to obtain an actual perceiving result; determining a loss between the actual perceiving result and the road structure element label in the selected target training sample; and updating the feature extraction network, the spatial transformer network, and the road element segmentation network according to the loss.
- Claim 7Depends on #6
The method according to claim 6, wherein the transforming, through the spatial transformer network, the plurality of two-dimensional features corresponding to the plurality of sample images into the feature in the bird's eye view space, comprises: transforming the plurality of two-dimensional features corresponding to the plurality of sample images into the sample feature in the bird's eye view space through a plurality of spatial transformer matrices in the spatial transformer network, the plurality of spatial transformer matrices corresponding to the plurality of two-dimensional features one-to-one.
- Claim 8Depends on #5
The method according to claim 5, wherein the generating the training sample set based on the map data, comprises: generating a set of road structure element labels including the road structure element label of each training sample based on the map data; obtaining a set of sample image groups by the image acquisition device, wherein each sample image group in the set of sample image groups comprises the plurality of sample images that are taken from different angles and represent environmental information around the same sample position and are included in each training sample; and generating the training samples based on a corresponding relationship between position information of the road structure element labels in the set of road structure element labels and position information of the sample image groups in the set of sample image groups, to obtain the training sample set.
- Claim 9Independent Claim
An apparatus for perceiving a road structure, comprising: at least one processor; and a memory storing instructions which, when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising: determining, based on map data, a first perceiving result characterizing a road structure around a current position of an automatic driving vehicle or an auxiliary driving vehicle; determining, by a road structure perceiving model trained in advance, a second perceiving result characterizing the road structure around the current position; generating a final perceiving result characterizing the road structure around the current position based on the first perceiving result and the second perceiving result; wherein the road structure perceiving model comprises a feature extraction network, a spatial transformer network, and a road element segmentation network; and the determining, by the road structure perceiving model trained in advance, the second perceiving result characterizing the road structure around the current position of an automatic driving vehicle or an auxiliary driving vehicle, comprises: obtaining a plurality of images by an image acquisition device, wherein the plurality of images are taken from different angles and representing environmental information around the current position; extracting, through the feature extraction network, a two-dimensional feature of each of the plurality of images; transforming, through the spatial transformer network, a plurality of two-dimensional features corresponding to the plurality of images into three-dimensional features of the plurality of images in a bird's eye view space; fusing the three-dimensional features of the plurality of images in the bird's eye view space to obtain a fusion feature in the bird's eye view space; and performing, through the road element segmentation network, road element segmentation on the fusion feature in the bird's eye view space, to obtain the second perceiving result.
- Claim 10Depends on #9
The apparatus according to claim 9, wherein the transforming, through the spatial transformer network, the plurality of two-dimensional features corresponding to the plurality of images into the three-dimensional features in the bird's eye view space, comprises: transforming the plurality of two-dimensional features into the three-dimensional features in the bird's eye view space through a plurality of spatial transformer matrices in the spatial transformer network, the plurality of spatial transformer matrices corresponding to the plurality of two-dimensional features one-to-one.
- Claim 11Depends on #9
The apparatus according to claim 9, the operations further comprising: correcting the map data according to the second perceiving result.
- Claim 12Depends on #9
The apparatus according to claim 9, the operations further comprising: determining, through a planning control network, a driving instruction for the automatic driving vehicle or the auxiliary driving vehicle based on the final perceiving result; and using the driving instruction to drive the automatic driving vehicle or the auxiliary driving vehicle.
- Claim 13Depends on #9
The apparatus according to claim 9, wherein the road structure perceiving model is trained by: generating a training sample set based on map data, wherein each of training samples in the training sample set comprises a plurality of sample images that are taken from different angles and represent environmental information around a same sample position, and a road structure element label; and training an initial road structure perceiving model by using a machine learning method, taking the plurality of sample images in each training sample of the training sample set as an input, and taking the road structure element label in each training sample of the training sample set as an expected output to obtain the trained road structure perceiving model.
- Claim 14Depends on #13
The apparatus according to claim 13, wherein the initial road structure perceiving model comprises the feature extraction network, the spatial transformer network, and the road element segmentation network; the training the initial road structure perceiving model by using the machine learning method, taking the plurality of sample images in each training sample of the training sample set as the input, and taking the road structure element label in each training sample of the training sample set as the expected output, to obtain the trained road structure perceiving model, comprises: selecting a target training sample from the training sample set; extracting, through the feature extraction network, a two-dimensional feature of each of the plurality of sample images in the selected target training sample; transforming, through the spatial transformer network, a plurality of two-dimensional features corresponding to the plurality of sample images to a sample feature in a bird's eye view space; performing, through the road element segmentation network, road element segmentation on the sample feature in the bird's eye view space to obtain an actual perceiving result; determining a loss between the actual perceiving result and the road structure element label in the selected target training sample; and updating the feature extraction network, the spatial transformer network, and the road element segmentation network according to the loss.
- Claim 15Depends on #14
The apparatus according to claim 14, wherein the transforming, through the spatial transformer network, the plurality of two-dimensional features corresponding to the plurality of sample images into the feature in the bird's eye view space, comprises: transforming the plurality of two-dimensional features corresponding to the plurality of sample images into the sample feature in the bird's eye view space through a plurality of spatial transformer matrices in the spatial transformer network, the plurality of spatial transformer matrices corresponding to the plurality of two-dimensional features one-to-one.
- Claim 16Depends on #13
The apparatus according to claim 13, wherein the generating the training sample set based on the map data, comprises: generating a set of road structure element labels including the road structure element label of each training sample based on the map data; obtaining a set of sample image groups by the image acquisition device, wherein each sample image group in the set of sample image groups comprises the plurality of sample images that are taken from different angles and represent environmental information around the same sample position and are included in each training sample; and generating the training samples based on a corresponding relationship between position information of the road structure element labels in the set of road structure element labels and position information of the sample image groups in the set of sample image groups, to obtain the training sample set.
- Claim 17Independent Claim
A non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium storing computer instructions thereon, wherein the computer instructions are used to cause the computer to perform a method for perceiving a road structure, comprising: determining, based on map data, a first perceiving result characterizing a road structure around a current position of an automatic driving vehicle or an auxiliary driving vehicle; determining, by a road structure perceiving model trained in advance, a second perceiving result characterizing the road structure around the current position; generating a final perceiving result characterizing the road structure around the current position based on the first perceiving result and the second perceiving result, wherein the road structure perceiving model comprises a feature extraction network, a spatial transformer network, and a road element segmentation network; and the determining, by the road structure perceiving model trained in advance, the second perceiving result characterizing the road structure around the current position of an automatic driving vehicle or an auxiliary driving vehicle, comprises: obtaining a plurality of images by an image acquisition device, wherein the plurality of images are taken from different angles and representing environmental information around the current position; extracting, through the feature extraction network, a two-dimensional feature of each of the plurality of images; transforming, through the spatial transformer network, a plurality of two-dimensional features corresponding to the plurality of images into three-dimensional features of the plurality of images in a bird's eye view space; fusing the three-dimensional features of the plurality of images in the bird's eye view space to obtain a fusion feature in the bird's eye view space; and performing, through the road element segmentation network, road element segmentation on the fusion feature in the bird's eye view space, to obtain the second perceiving result.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present application claims the priority of Chinese Patent Application No. 202210987210.9, titled “ METHOD, APPARATUS, AND COMPUTER PROGRAM PRODUCT FOR PERCEIVING ROAD STRUCTURE ” , filed on Aug. 17, 2022, the disclosure of which is incorporated herein by reference in its entirety. TECHNICAL FIELD The present disclosure relates to the technical field of artificial intelligence, in particular to the technical field of deep learning and automatic driving, and more particularly to a method and an apparatus for perceiving a road structure, a method and an apparatus for training a road structure perceiving model, an electronic device, a storage medium, and a computer program product, which can be used in an automatic driving scene. BACKGROUND In an automatic driving system, road structure information is an important input to a decision planning module, and is a basis for executing an action instruction such as a straight driving, a turn, or a lane change and safely and quickly reaching a destination. The road structure information includes three-dimensional topology information of key road elements such as a lane line, a road edge, and a stop line. In the prior art, an accuracy of a perceiving result of the road structure information is low. SUMMARY Embodiments of the present disclosure provide to a method and an apparatus for perceiving a road structure, a method and an apparatus for training a road structure perceiving model, an electronic device, and a storage medium. According to a first aspect, some embodiments of the present disclosure provide a method for perceiving a road structure. The method includes: determining, based on map data, a first perceiving result characterizing a road structure around a current position; determining, by a road structure perceiving model trained in advance, a second perceiving result characterizing the road structure around the current position; and generating a final perceiving result chara
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (12)
Non-Patent Literature (7)
- Long et al.,
- “
- Unifying Obstacle Detection, Recognition, and Fusion Based on the Polarization Color Stereo Camera and LiDAR for the ADAS
- ”
- , Sensor, 2022, 22, 2453 in 20 pages.
- Office Action in Chinese Application No. 202210987210.9, dated Apr. 4, 2023 in 9 pages.
- Notice of Allowance in Chinese Application No. 202210987210.9, dated Jul. 11, 2023 in 5 pages.