WO2019047596A1 - Method and device for switching driving modes - Google Patents

Method and device for switching driving modes Download PDF

Info

Publication number
WO2019047596A1
WO2019047596A1 PCT/CN2018/093357 CN2018093357W WO2019047596A1 WO 2019047596 A1 WO2019047596 A1 WO 2019047596A1 CN 2018093357 W CN2018093357 W CN 2018093357W WO 2019047596 A1 WO2019047596 A1 WO 2019047596A1
Authority
WO
WIPO (PCT)
Prior art keywords
driving
driving mode
mode
self
model
Prior art date
Application number
PCT/CN2018/093357
Other languages
French (fr)
Chinese (zh)
Inventor
姜雨
郁浩
闫泳杉
郑超
唐坤
张云飞
Original Assignee
百度在线网络技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 百度在线网络技术(北京)有限公司 filed Critical 百度在线网络技术(北京)有限公司
Publication of WO2019047596A1 publication Critical patent/WO2019047596A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units, or advanced driver assistance systems for ensuring comfort, stability and safety or drive control systems for propelling or retarding the vehicle
    • B60W30/18Propelling the vehicle
    • B60W30/182Selecting between different operative modes, e.g. comfort and performance modes
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B9/00Simulators for teaching or training purposes
    • G09B9/02Simulators for teaching or training purposes for teaching control of vehicles or other craft
    • G09B9/04Simulators for teaching or training purposes for teaching control of vehicles or other craft for teaching control of land vehicles
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions

Definitions

  • the present invention relates to the field of vehicle automatic driving technology, and in particular, to a technology for driving mode switching.
  • the two main modes of the existing automatic driving are the tracking driving mode and the end-to-end automatic driving mode.
  • the tracking driving mode has high safety, but the trajectory must be preset, and the utility is not strong; the end-to-end automatic driving
  • the mode is flexible and practical, but it is less secure.
  • the existing combination of the two is either a simple combination, does not achieve the complementary effect, or automatically switches based on manual definition rules, the timing of switching is difficult to grasp correctly, and even counterproductive.
  • a method for driving mode switching comprising:
  • the method further comprises:
  • the unsafe scene data in the step a is collected by the driver intentionally performing an unsafe behavior.
  • the step b comprises:
  • a convolutional neural network model is established, and the sensor data is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
  • a negative feedback layer is added to each of the two convolutional layers of the convolutional neural network model, and a dropout layer is added to each of the three convolutional layers.
  • the acquired sensor data collected by the onboard sensor is divided into a test set and a training set;
  • step b comprises:
  • the training set is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
  • step b comprises:
  • training obtains a plurality of candidate switching models
  • the method further comprises:
  • the method further comprises:
  • the mode switching model is corrected based on the sensor correction data.
  • an apparatus for driving mode switching comprising:
  • a collecting device configured to acquire sensor data collected by an onboard sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle;
  • a training device configured to use the sensor data as an input, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and the training mode switching model;
  • the device further comprises:
  • a switching device configured to switch in an end-to-end driving mode or a tracking driving mode based on the mode switching model according to the current actual scenario.
  • the unsafe scene data is collected by the driver intentionally performing unsafe behavior.
  • the training device is for:
  • a convolutional neural network model is established, and the sensor data is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
  • a negative feedback layer is added to each of the two convolutional layers of the convolutional neural network model, and a dropout layer is added to each of the three convolutional layers.
  • the acquired sensor data collected by the onboard sensor is divided into a test set and a training set;
  • training device is used to:
  • the training set is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
  • the training device is for:
  • training obtains a plurality of candidate switching models
  • the device further comprises:
  • a selecting means configured to determine the mode switching model from the plurality of candidate switching models according to the test set.
  • the apparatus further comprises correction means for:
  • the mode switching model is corrected based on the sensor correction data.
  • a computer readable storage medium storing computer code, the method of any of the foregoing being executed when the computer code is executed .
  • a computer device comprising:
  • One or more processors are One or more processors;
  • a memory for storing one or more computer programs
  • the one or more processors When the one or more computer programs are executed by the one or more processors, the one or more processors are caused to implement the method of any of the preceding.
  • the present invention acquires sensor data collected by an on-board sensor of an autonomous vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle; Input, a corresponding end-to-end driving mode or a tracking driving mode as an output, a training mode switching model; real-time acquisition of a current actual scene collected by the onboard sensor of the self-driving vehicle; and based on the current actual scenario, based on the mode Switching the model and switching in the end-to-end driving mode or the tracking driving mode; the invention uses the safety scene data and the unsafe scene data collected by the sensor to train one for the end-to-end driving mode and the tracking driving mode
  • the model can sense whether the current actual scene is safe, make a decision, and output instructions to switch between the two driving modes.
  • the invention utilizes the decision-making ability of deep learning to automatically switch the tracking driving mode and the end-to-end driving mode, and trains a model with inference decision-making ability, which naturally integrates the tracking driving mode and the end-to-end automatic driving mode, thereby greatly improving the automatic Driving safety.
  • the present invention utilizes the characteristics of a small closed park area and strong operability, allowing the driver to intentionally simulate a large number of unsafe behaviors to create data, and training a deep learning decision model for end-to-end automatic driving and tracking switching.
  • the output command of the model is received at any time to switch the tracking driving mode and the end-to-end driving mode.
  • the output command of the model is received at any time to switch the tracking driving mode and the end-to-end driving mode.
  • the output command of the model is received at any time to switch the tracking driving mode and the end-to-end driving mode.
  • FIG. 1 shows a block diagram of an exemplary computer system/server 12 suitable for implementing embodiments of the present invention
  • FIG. 2 shows a flow diagram of a method for driving mode switching in accordance with an aspect of the present invention
  • FIG. 3 is a block diagram showing the structure of an apparatus for driving mode switching according to another aspect of the present invention.
  • Computer device also referred to as “computer” in the context, is meant an intelligent electronic device that can perform predetermined processing, such as numerical calculations and/or logical calculations, by running a predetermined program or instruction, which can include a processor and The memory is executed by the processor to execute a predetermined process pre-stored in the memory to execute a predetermined process, or is executed by hardware such as an ASIC, an FPGA, a DSP, or the like, or a combination of the two.
  • Computer devices include, but are not limited to, servers, personal computers, notebook computers, tablets, smart phones, and the like.
  • the computer device includes a user device and a network device.
  • the user equipment includes, but is not limited to, a computer, a smart phone, a PDA, etc.
  • the network device includes but is not limited to a single network server, a server group composed of multiple network servers, or a cloud computing based computer Or a cloud composed of a network server, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computers.
  • the computer device can be operated separately to implement the present invention, and can also access the network and implement the present invention by interacting with other computer devices in the network.
  • the network in which the computer device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
  • the user equipment, the network equipment, the network, and the like are merely examples, and other existing or future possible computer equipment or networks, such as those applicable to the present invention, are also included in the scope of the present invention. It is included here by reference.
  • FIG. 1 illustrates a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present invention.
  • the computer system/server 12 shown in FIG. 1 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
  • computer system/server 12 is embodied in the form of a general purpose computing device.
  • the components of computer system/server 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects different system components, including system memory 28 and processing unit 16.
  • Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA Bus, a Video Electronics Standards Association (VESA) local bus, and peripheral component interconnects ( PCI) bus.
  • ISA Industry Standard Architecture
  • MAC Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI peripheral component interconnects
  • Computer system/server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer system/server 12, including both volatile and non-volatile media, removable and non-removable media.
  • Memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32.
  • Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 1, commonly referred to as "hard disk drives").
  • a disk drive for reading and writing to a removable non-volatile disk such as a "floppy disk”
  • a removable non-volatile disk such as a CD-ROM, DVD-ROM
  • each drive can be coupled to bus 18 via one or more data medium interfaces.
  • Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
  • a program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more applications, other programs Modules and program data, each of these examples or some combination may include an implementation of a network environment.
  • Program module 42 typically performs the functions and/or methods of the described embodiments of the present invention.
  • Computer system/server 12 may also be in communication with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer system/server 12. And/or in communication with any device (e.g., network card, modem, etc.) that enables the computer system/server 12 to communicate with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22. Also, computer system/server 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through network adapter 20.
  • LAN local area network
  • WAN wide area network
  • public network such as the Internet
  • network adapter 20 communicates with other modules of computer system/server 12 via bus 18. It should be understood that although not shown in FIG. 1, other hardware and/or software modules may be utilized in conjunction with computer system/server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems. , tape drives, and data backup storage systems.
  • Processing unit 16 executes various functional applications and data processing by running programs stored in memory 28.
  • the memory 28 stores therein a computer program for performing the functions and processes of the present invention, and when the processing unit 16 executes the corresponding computer program, the identification of the incoming call intention at the network side by the present invention is implemented.
  • FIG. 2 shows a flow diagram of a method for driving mode switching in accordance with an aspect of the present invention.
  • step S201 the device 1 acquires sensor data collected by an on-board sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle.
  • the on-board sensor of the self-driving vehicle may collect corresponding different sensor data, such as video data, image data, radar data, and the like, of the self-driving vehicle during driving.
  • the sensor data may be collected by the self-driving vehicle during the automatic driving process, or may be collected by the self-driving vehicle during the driver's assisted driving process.
  • the sensor data may be safety scene data of the self-driving vehicle, that is, video data, image data, radar data, etc. collected by the self-driving vehicle during a normal automatic driving process or a driver assisted driving process.
  • It may also be unsafe scene data of the self-driving vehicle that is, an unsafe situation encountered by the self-driving vehicle during an automatic driving process or assisted driving by the driver, such as in the event of a collision, abnormal acceleration, abnormality Video data, image data, radar data, etc. collected by the on-board sensor in the case of deceleration, steering wheel killing, etc.
  • step S201 the device 1 collects the above sensor data by an in-vehicle sensor that automatically drives the vehicle.
  • the on-board sensors of the self-driving vehicle include, but are not limited to, an in-vehicle camera, a vehicle-mounted radar, and the like.
  • the device 1 collects video or image data of various angles of view through the in-vehicle camera of the self-driving vehicle.
  • the in-vehicle camera is used to simulate the driver's line of sight and angle of view, which can be, for example, located in the cab of the self-driving vehicle, the left side, the right side mirror, the center rear view mirror, etc., which can be, for example, binocular Camera.
  • the video or image data collected by the in-vehicle camera can be regarded as, for example, various surrounding scenes that the driver sees when the autonomous vehicle is driven by the driver. Then, if the self-driving vehicle encounters an unsafe scene, such as sudden braking, the device 1 continues to collect video or image data of various viewing angles through the on-board camera of the self-driving vehicle, and saves the data as unsafe scene for subsequent Model training is used.
  • the method is applicable to, for example, an end-to-end driving mode in automatic driving of a vehicle
  • the end-to-end driving mode refers to an autonomous driving vehicle using an in-vehicle sensor, such as an in-vehicle camera, a vehicle-mounted radar, etc., to sense a surrounding scene to determine how to perform automatic driving. If it is judged whether it is stepping on the accelerator or stepping on the brakes, judging how to drive the steering wheel, etc., the degree of freedom of automatic driving of the vehicle is high; the opposite is the tracking driving mode, which is that the self-driving vehicle uses high-precision GPS to know. Its own position, along the preset trajectory for automatic driving, although relatively safe, but the driving trajectory is fixed, not so flexible.
  • the above-mentioned end-to-end driving mode or the tracking driving mode is performed, for example, in a closed campus.
  • the closed campus refers to a limited scenario with a limited route and a limited physical area.
  • a port such as a port is more common. , parking lots, fairs, campus interiors, etc.
  • the closed park can also be customized.
  • on-board sensors are merely examples, and other on-board sensors that may be present or may be present in the future, as applicable to the present invention, are also included in the scope of the present invention and are cited herein by way of reference. Included here.
  • the unsafe scene data is collected by the driver intentionally performing unsafe behavior.
  • the driver can assist in driving the self-driving vehicle.
  • the driver uses manual driving, he can deliberately simulate a large number of unsafe behaviors, such as intentional collision, deliberate sudden stepping on the accelerator, sudden sudden braking, steering wheel planning, etc. Therefore, the on-board sensor on the self-driving vehicle can collect corresponding sensor data when facing these unsafe scenes. For example, for a closed park, because it is safer in a closed park, the driver can deliberately simulate a large number of unsafe behaviors when driving the self-driving vehicle in the closed park.
  • the closed park site can be used with small features and strong operability, so that the driver deliberately makes various types of insecurity. Behavior to collect corresponding sensor data.
  • the on-board camera on the self-driving vehicle can collect the scene when the vehicle collides with the tree, such as Shooting a corresponding video in which the roadside tree is approaching and finally hitting the screen; or the onboard radar on the self-driving vehicle can also collect corresponding information, such as the vehicle radar measuring the tree as an obstacle The distance information with the vehicle; thus, in step S201, the device 1 collects these sensor data and can be used in the subsequent training of the model.
  • the onboard camera on the self-driving vehicle can collect a corresponding scene, such as capturing a corresponding video, the video.
  • the tree in the roadside first approaches and then decelerates to approach the last still picture; or the onboard radar on the self-driving vehicle can also collect corresponding information, such as the onboard radar measures the tree as an obstacle and the vehicle The distance information, if the distance is getting shorter, does not change at the end.
  • the device 1 utilizes the characteristics of a small closed park area and high operability, allowing the driver to intentionally simulate a large number of unsafe behaviors to create data, and training a deep learning decision model for end-to-end automatic driving and tracking switching.
  • step S202 the device 1 takes the sensor data as an input, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and the training mode switches the model.
  • the device 1 takes the sensor data collected in step S201 as an input, and the sensor data has a corresponding driving mode.
  • the security scene data corresponds to the end-to-end driving mode
  • the unsafe scene data corresponds to
  • the end-to-end driving mode or the tracking driving mode is used as an output
  • the training mode switches the model.
  • the input is sensor data
  • the output is the driving mode number that the current self-driving vehicle should be activated
  • 0 is the end-to-end driving mode
  • 1 is the tracking driving mode.
  • the safety scene data is sensor data collected by the self-driving vehicle during normal driving, and since the degree of freedom of adopting the end-to-end driving mode is high, when the autonomous vehicle does not encounter an unsafe scene,
  • the end-to-end driving mode is used for driving, that is, the safety scene data can correspond to the end-to-end driving mode;
  • the unsafe scene data is the sensor data collected when the self-driving vehicle encounters an unsafe scene during driving. Since the tracking driving mode itself has a high degree of safety, the driving mode can be adopted when the vehicle encounters an unsafe scene, that is, the unsafe scene data can correspond to the tracking driving mode.
  • the mode switching model may be, for example, a simple classification model, which can be trained by the existing training method for the classification model.
  • the self-driving vehicle is collected in a security scene.
  • the sensor data is also the sensor data collected in an insecure scenario, and the sensor data collected in the known security scenario corresponds to the end-to-end driving mode.
  • the sensor data collected in the unsafe scenario corresponds to According to the tracking driving mode, each classification output is obtained through each classification input.
  • the input is sensor data
  • the output is the driving mode number that the current self-driving vehicle should be activated
  • 0 is the end-to-end driving mode
  • the mode switching model is trained; after the mode switching model training is completed, different sensor data can be classified, for example, when the device 1 collects video data through the vehicle camera, the scene analysis model is based on The video data is firstly security scene data or unsafe scene data. According to this driving mode is determined corresponding to-end tracking driving mode or driving mode.
  • the device 1 establishes a convolutional neural network model, taking the sensor data as an input, and corresponding end-to-end driving mode or tracking driving mode as an output, training the mode switching model.
  • step S202 the device 1 establishes a convolutional neural network model, taking the sensor data collected in step S201 as an input, and the corresponding driving mode as an output, for example, security scene data as an input, corresponding end-to-end driving
  • the mode is used as the output
  • the unsafe scene data is taken as the input
  • the corresponding tracking driving mode is used as the output, thereby training the mode switching model.
  • the output of the mode switching model is determined as the driving mode number that the autonomous driving vehicle should be currently activated, 0 is the end-to-end driving mode, and 1 is the tracking driving mode
  • the safety scene data is used as When input, the output is 0, and when the unsafe scene data is used as an input, the output is 1.
  • step S202 the device 1 adds a negative feedback layer to each of the two convolutional layers of the convolutional neural network model, and a dropout layer is added to each of the three convolutional layers.
  • step S202 the device 1 establishes a convolutional neural network model when training the mode switching model, and adds a negative feedback layer to each two-layer convolutional layer of the convolutional neural network model, thereby enhancing the volume.
  • the inference ability of the neural network model is added, and the dropout layer is added to each three-layer convolutional layer of the convolutional neural network model to enhance the generalization ability of the convolutional neural network model.
  • the acquired sensor data collected by the onboard sensor is divided into a test set and a training set; wherein, in step S202, the device 1 takes the training set as an input, and the corresponding end-to-end driving mode or the tracking driving mode As an output, the mode switching model is trained.
  • the sensor data collected by the on-board sensor can be divided into a test set and a training set, and the manner of the classification can be performed without any limitation, for example, only in terms of quantity; wherein the training set is used to train the mode switching model,
  • the test set is used to test the trained mode switching model.
  • the device 1 takes the training set as an input, and the training set also includes the security scene data and the unsafe scene data, and the device 1 inputs the security scene data and the unsafe scene data as corresponding inputs, and the corresponding end-to-end driving
  • the mode or the tracking driving mode is used as an output to train the mode switching model.
  • step S202 the device 1 takes the training set as an input, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and the training obtains a plurality of candidate switching models; wherein the method further includes step S205 (not shown), in step S205, the device 1 selects the mode switching model from the plurality of candidate switching models according to the test set.
  • the device 1 takes as input the training set of the sensor data collected by the onboard sensor, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and can train to obtain a plurality of candidate switching models, for example, As time progresses, the model is continuously trained, and a plurality of candidate switching models can be obtained during the process; subsequently, in step S205, the device 1 tests the plurality of candidate switching models according to the test set of sensor data collected by the onboard sensors.
  • the test set also includes security scene data and unsafe scene data, and inputs the security scene data in the test set to the candidate handover model, checks whether the output is an end-to-end driving mode, and tests the insecure scene data in the set.
  • the candidate switching model is input to verify whether the output is a tracking driving mode, thereby selecting a final mode switching model from the plurality of candidate switching models.
  • the method further includes step S203 and step S204.
  • step S203 the device 1 acquires the current actual scene collected by the onboard sensor of the self-driving vehicle in real time.
  • the foregoing steps S201 and S202 are trainings on the mode switching model, and belong to the preliminary work.
  • the self-driving vehicle can apply the mode switching model in the actual automatic driving process, thereby determining that Autopilot in end-to-end driving mode or autopilot in tracking driving mode.
  • the self-driving vehicle can collect data in real time during the actual automatic driving process, for example, an on-board camera located in the cab of the self-driving vehicle, the left side, the right side mirror, the center rear view mirror, and the like.
  • the shooting is continuously performed, and the corresponding video or image data is captured and acquired.
  • the device 1 acquires real-time data collected by the on-board sensor through interaction with the on-board sensor of the self-driving vehicle during the automatic driving of the vehicle, for example, the current actual situation of the self-driving vehicle.
  • the scene is input to the mode switching model in real time, and the output of the model is switched according to the mode to determine which driving mode should be used for driving.
  • step S204 the device 1 switches in the end-to-end driving mode or the tracking driving mode based on the mode switching model according to the current actual scene.
  • step S204 the device 1 inputs the current actual scene to the mode switching model according to the current actual scene in which the self-driving vehicle is acquired in step S203, and switches the driving output according to the mode switching model.
  • Mode switch between end-to-end driving mode or tracking driving mode, for example, suppose the output of the mode switching model is the driving mode number that should be enabled for the current driving vehicle, 0 is the end-to-end driving mode, and 1 is the tracking mode.
  • the mode switching model can output a corresponding driving mode number, according to the driving mode number, the device 1 can know which driving mode the autonomous driving vehicle should currently adopt. Perform automatic driving.
  • the self-driving vehicle is originally performing normal end-to-end automatic driving, and the on-board camera continuously collects video or image data in real time, and in step S203, the device 1 also continuously acquires the real-time acquisition from the on-board camera.
  • Video or image data and input to the mode switching model in real time, the output of the mode switching model is an end-to-end driving mode, and the device 1 does not need to switch the driving mode of the self-driving vehicle; thereafter, the autonomous vehicle encounters a certain An unsafe scene, for example, the self-driving vehicle is about to hit a tree on the side of the road, and the onboard camera thereon still continuously collects video or image data in real time, and in step S203, the device 1 also continuously acquires the real time from the onboard camera.
  • a certain An unsafe scene for example, the self-driving vehicle is about to hit a tree on the side of the road, and the onboard camera thereon still continuously collects video or image data in real time, and in step S203, the device 1 also continuously acquires the real time from the onboard camera.
  • the captured video or image data that is, the current actual scene of the self-driving vehicle is acquired in real time, and input to the mode switching model in real time, and at this time, the output of the mode switching model is the tracking driving mode, then in step S204 The device 1 switches the driving mode of the self-driving vehicle to the tracking driving mode.
  • the device 1 since the on-board sensor continuously collects real-time data, the device 1 also continuously acquires the real-time data and inputs it to the mode switching model for determination. Therefore, the device 1 can switch the model once the driving of the mode is output.
  • the driving mode of the self-driving vehicle is switched; and the collected real-time data can also be used for judging, for example, for a certain amount of real-time sensor data, if the driving mode of the mode switching model is changed
  • the driving mode of the self-driving vehicle is switched to avoid erroneous judgment that a small amount of real-time data may occur. Therefore, some real-time data may be taken to make a judgment to increase the accuracy of the judgment.
  • the device 1 acquires sensor data collected by an on-board sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle; and the sensor data is input as an input An end-to-end driving mode or a tracking driving mode as an output, a training mode switching model; real-time acquisition of a current actual scene collected by the onboard sensor of the self-driving vehicle; and according to the current actual scenario, based on the mode switching model, Switching between end-to-end driving mode or tracking driving mode; when the self-driving vehicle senses an unsafe scene, it automatically switches to the tracking driving mode, and if it is a safety scene, it automatically switches to the end-to-end driving mode.
  • the device 1 uses the security scene data and the unsafe scene data collected by the sensor to train a deep learning decision model for switching between the end-to-end driving mode and the tracking driving mode.
  • the model can perceive Whether the current actual scene is safe, makes a decision, and the output command switches between the two driving modes.
  • the invention utilizes the decision-making ability of deep learning to automatically switch the tracking driving mode and the end-to-end driving mode, and trains a model with inference decision-making ability, which naturally integrates the tracking driving mode and the end-to-end automatic driving mode, thereby greatly improving the automatic Driving safety.
  • the method further comprises a step S206 (not shown).
  • step S206 the device 1 records the driver's takeover behavior of the self-driving vehicle during the automatic driving process, acquires sensor correction data collected by the onboard sensor at the corresponding time; and switches the mode according to the sensor correction data. The model is revised.
  • the device 1 may record the driver's take-off behavior during the automatic driving of the self-driving vehicle, and since the onboard sensor of the self-driving vehicle continuously collects sensor data, in step S206, the device 1 It is also possible to acquire sensor data collected by the onboard sensor at the moment when the driver takes over the manual driving of the self-driving vehicle.
  • sensor correction data for convenience of description, it is referred to as sensor correction data, and the actual is also automatic driving.
  • Information such as video, image or radar data collected by the vehicle's onboard sensors. Subsequently, the device 1 can correct the mode switching model based on the sensor correction data.
  • the on-board sensor of the self-driving vehicle also collects video data of a certain object that is approaching, and in step S203, the device 1 acquires the video data as the current actual scene of the self-driving vehicle; In step S204, the device 1 inputs the current actual scene to the mode switching model, and the obtained driving mode is an end-to-end driving mode.
  • the self-driving vehicle performs automatic driving in the end-to-end driving mode;
  • the player finds that the current actual scene is actually an unsafe scene. Therefore, the driver takes over the self-driving vehicle and performs manual driving, such as taking over the steering wheel, brake or shifting handle of the self-driving vehicle, in step S206.
  • the device 1 records the driver's takeover behavior and acquires the transmission collected by the onboard sensor at this time. Correction data, when the vehicle camera captures that the subject is no longer close, but the conversion angle is far away, therefore, the device 1 can determine that the current actual scene is an unsafe scene, and correct the mode switching model to be input.
  • the output is the tracking driving mode, and thereafter, if the self-driving vehicle still touches the scene, it can switch to the tracking driving mode for automatic driving.
  • the device 1 receives the output command of the model at any time to switch the tracking driving mode and the end-to-end driving mode.
  • the device 1 receives the output command of the model at any time to switch the tracking driving mode and the end-to-end driving mode.
  • the driver's takeover behavior indicating the wrong decision of the model, collecting the corresponding moment.
  • the sensor data strengthens the training of the model, making the decision-making ability of the model better and better, and further improving the safety of autonomous driving.
  • FIG. 3 is a block diagram showing the structure of an apparatus for driving mode switching according to another aspect of the present invention.
  • the device 1 includes an acquisition device 301, a training device 302, an acquisition device 303, and a switching device 304.
  • the device 1 is, for example, located in a computer device, for example in an autonomous vehicle, or a network device connected to the self-driving vehicle via a network. Further, the device 1 can be partially located in the network device, part of the device.
  • the device is located in an autonomous vehicle, for example, the aforementioned acquisition device 301 and training device 302 are located in a network device, and the aforementioned acquisition device 303 and switching device 304 are located in an autonomous vehicle. It should be understood by those skilled in the art that the location of the above device is merely an example, and other existing or future possible devices may be included in the scope of the present invention, and may be included in the scope of the present invention. It is included here by reference.
  • the collection device 301 acquires sensor data collected by an on-board sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle.
  • the on-board sensor of the self-driving vehicle may collect corresponding different sensor data, such as video data, image data, radar data, and the like, of the self-driving vehicle during driving.
  • the sensor data may be collected by the self-driving vehicle during the automatic driving process, or may be collected by the self-driving vehicle during the driver's assisted driving process.
  • the sensor data may be safety scene data of the self-driving vehicle, that is, video data, image data, radar data, etc. collected by the self-driving vehicle during a normal automatic driving process or a driver assisted driving process.
  • It may also be unsafe scene data of the self-driving vehicle that is, an unsafe situation encountered by the self-driving vehicle during an automatic driving process or assisted driving by the driver, such as in the event of a collision, abnormal acceleration, abnormality Video data, image data, radar data, etc. collected by the on-board sensor in the case of deceleration, steering wheel killing, etc.
  • the acquisition device 301 collects the above sensor data by an onboard sensor of the self-driving vehicle.
  • the on-board sensors of the self-driving vehicle include, but are not limited to, an in-vehicle camera, a vehicle-mounted radar, and the like.
  • the collecting device 301 collects video or image data of respective viewing angles through the in-vehicle camera of the self-driving vehicle.
  • the in-vehicle camera is used to simulate the driver's line of sight and angle of view, which can be, for example, located in the cab of the self-driving vehicle, the left side, the right side mirror, the center rear view mirror, etc., which can be, for example, binocular Camera.
  • the video or image data collected by the in-vehicle camera can be regarded as, for example, various surrounding scenes that the driver sees when the autonomous vehicle is driven by the driver.
  • the collecting device 301 continues to collect video or image data of various viewing angles through the in-vehicle camera of the self-driving vehicle, and saves the data as unsafe scenes for Subsequent model training is used.
  • the method is applicable to, for example, an end-to-end driving mode in automatic driving of a vehicle
  • the end-to-end driving mode refers to an autonomous driving vehicle using an in-vehicle sensor, such as an in-vehicle camera, a vehicle-mounted radar, etc., to sense a surrounding scene to determine how to perform automatic driving. If it is judged whether it is stepping on the accelerator or stepping on the brakes, judging how to drive the steering wheel, etc., the degree of freedom of automatic driving of the vehicle is high; the opposite is the tracking driving mode, which is that the self-driving vehicle uses high-precision GPS to know. Its own position, along the preset trajectory for automatic driving, although relatively safe, but the trajectory is fixed, not so flexible.
  • the above-mentioned end-to-end driving mode or the tracking driving mode is performed, for example, in a closed campus.
  • the closed campus refers to a limited scenario with a limited route and a limited physical area.
  • a port such as a port is more common. , parking lots, fairs, campus interiors, etc.
  • the closed park can also be customized.
  • on-board sensors are merely examples, and other on-board sensors that may be present or may be present in the future, as applicable to the present invention, are also included in the scope of the present invention and are cited herein by way of reference. Included here.
  • the unsafe scene data is collected by the driver intentionally performing unsafe behavior.
  • the driver can assist in driving the self-driving vehicle.
  • the driver uses manual driving, he can deliberately simulate a large number of unsafe behaviors, such as intentional collision, deliberate sudden stepping on the accelerator, sudden sudden braking, steering wheel planning, etc. Therefore, the on-board sensor on the self-driving vehicle can collect corresponding sensor data when facing these unsafe scenes. For example, for a closed park, because it is safer in a closed park, the driver can deliberately simulate a large number of unsafe behaviors when driving the self-driving vehicle in the closed park.
  • the closed park site can be used with small features and strong operability, so that the driver deliberately makes various types of insecurity. Behavior to collect corresponding sensor data.
  • the on-board camera on the self-driving vehicle can collect the scene when the vehicle collides with the tree, such as Shooting a corresponding video in which the roadside tree is approaching and finally hitting the screen; or the onboard radar on the self-driving vehicle can also collect corresponding information, such as the vehicle radar measuring the tree as an obstacle Distance information with the vehicle; thus, the acquisition device 301 collects these sensor data and can be used during subsequent training of the model.
  • the onboard camera on the self-driving vehicle can collect a corresponding scene, such as capturing a corresponding video, the video.
  • the tree in the roadside first approaches and then decelerates to approach the last still picture; or the onboard radar on the self-driving vehicle can also collect corresponding information, such as the onboard radar measures the tree as an obstacle and the vehicle The distance information, if the distance is getting shorter, does not change at the end.
  • the device 1 utilizes the characteristics of a small closed park area and high operability, allowing the driver to intentionally simulate a large number of unsafe behaviors to create data, and training a deep learning decision model for end-to-end automatic driving and tracking switching.
  • the training device 302 takes the sensor data as an input, a corresponding end-to-end driving mode or a tracking driving mode as an output, and a training mode switching model.
  • the training device 302 takes the sensor data collected by the collection device 301 as an input, and the sensor data has a corresponding driving mode.
  • the security scene data corresponds to the end-to-end driving mode
  • the unsafe scene data corresponds to the tracking driving mode.
  • the end-to-end driving mode or the tracking driving mode is used as an output, and the training mode switches the model.
  • the input is sensor data
  • the output is the driving mode number that the current self-driving vehicle should be activated
  • 0 is the end-to-end driving mode
  • 1 is the tracking driving mode.
  • the safety scene data is sensor data collected by the self-driving vehicle during normal driving, and since the degree of freedom of adopting the end-to-end driving mode is high, when the autonomous vehicle does not encounter an unsafe scene,
  • the end-to-end driving mode is used for driving, that is, the safety scene data can correspond to the end-to-end driving mode;
  • the unsafe scene data is the sensor data collected when the self-driving vehicle encounters an unsafe scene during driving. Since the tracking driving mode itself has a high degree of safety, the driving mode can be adopted when the vehicle encounters an unsafe scene, that is, the unsafe scene data can correspond to the tracking driving mode.
  • the mode switching model may be, for example, a simple classification model, which can be trained by the existing training method for the classification model.
  • the self-driving vehicle is collected in a security scene.
  • the sensor data is also the sensor data collected in an insecure scenario, and the sensor data collected in the known security scenario corresponds to the end-to-end driving mode.
  • the sensor data collected in the unsafe scenario corresponds to According to the tracking driving mode, each classification output is obtained through each classification input.
  • the input is sensor data
  • the output is the driving mode number that the current self-driving vehicle should be activated
  • 0 is the end-to-end driving mode
  • the tracking mode is trained to train the mode switching model; after the mode switching model training is completed, different sensor data can be classified, such as when the collecting device 301 collects video data through the vehicle camera, the scene analysis model According to the video data, whether it is security scene data or unsafe scene first It is, and accordingly determine the corresponding driving mode is the driving mode or end to end tracking driving mode.
  • the training device 302 establishes a convolutional neural network model with the sensor data as an input, the corresponding end-to-end driving mode or the tracking driving mode as an output, training the mode switching model.
  • the training device 302 establishes a convolutional neural network model, and takes the sensor data collected by the acquisition device 301 as an input, and the corresponding driving mode as an output, for example, the security scene data as an input, and the corresponding end-to-end driving mode as an output.
  • the unsafe scene data is taken as an input, and the corresponding tracking driving mode is used as an output, thereby training the mode switching model.
  • the output of the mode switching model is determined as the driving mode number that the autonomous driving vehicle should be currently activated, 0 is the end-to-end driving mode, and 1 is the tracking driving mode, and the safety scene data is used as When input, the output is 0, and when the unsafe scene data is used as an input, the output is 1.
  • the training device 302 adds a negative feedback layer to each of the two convolutional layers of the convolutional neural network model, and a dropout layer is added to each of the three convolutional layers.
  • the training device 302 establishes a convolutional neural network model when training the mode switching model, and adds a negative feedback layer to each two-layer convolutional layer of the convolutional neural network model, thereby enhancing the convolutional neural network model.
  • the reasoning ability, and the dropout layer is added to each three-layer convolutional layer of the convolutional neural network model, thereby enhancing the generalization ability of the convolutional neural network model.
  • the acquired sensor data collected by the on-vehicle sensor is divided into a test set and a training set; wherein the training device 302 takes the training set as an input, and the corresponding end-to-end driving mode or the tracking driving mode as an output, training The mode switches the model.
  • the sensor data collected by the on-board sensor can be divided into a test set and a training set, and the manner of the classification can be performed without any limitation, for example, only in terms of quantity; wherein the training set is used to train the mode switching model,
  • the test set is used to test the trained mode switching model.
  • the training device 302 takes the training set as an input, and the training set also includes the security scene data and the unsafe scene data.
  • the training device 302 takes the security scene data and the unsafe scene data as inputs, and the corresponding end-to-end driving mode or The track driving mode is used as an output to train the mode switching model.
  • the training device 302 takes the training set as an input, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and the training obtains a plurality of candidate switching models; wherein the device 1 further includes a selecting device (not shown) And the selecting means selects and determines the mode switching model from the plurality of candidate switching models according to the test set.
  • the training device 302 takes as input the training set of the sensor data collected by the onboard sensor, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and can train to obtain a plurality of candidate switching models, for example, over time. Advancing, the model is continuously trained, and multiple candidate switching models can be obtained during the process; then, the selecting device tests the plurality of candidate switching models according to the test set of the sensor data collected by the onboard sensors, for example, the test set also includes Security scene data and unsafe scene data, input the security scene data in the test set to the candidate switching model, verify whether the output is an end-to-end driving mode, input the unsafe scene data in the test set to the candidate switching model, and verify the output. Whether it is a tracking driving mode, thereby selecting and determining a final mode switching model from the plurality of candidate switching models.
  • the device 1 further includes an obtaining device 303 and a switching device 304.
  • the obtaining device 303 acquires the current actual scene collected by the onboard sensor of the self-driving vehicle in real time.
  • the foregoing collecting device 301 and the training device 302 are trainings for the mode switching model, and belong to the preliminary work, and after the mode switching model training is completed, the automatic driving vehicle can apply the mode switching model during the actual automatic driving process. It is thus judged whether the automatic driving is performed in the end-to-end driving mode or the automatic driving in the tracking driving mode.
  • the self-driving vehicle can collect data in real time during the actual automatic driving process, for example, an on-board camera located in the cab of the self-driving vehicle, the left side, the right side mirror, the center rear view mirror, and the like.
  • the shooting is continuously performed, and the corresponding video or image data is captured and acquired.
  • the obtaining device 303 acquires real-time data collected by the on-board sensor through interaction with the on-vehicle sensor of the self-driving vehicle during the automatic driving of the vehicle, for example, the current actual scene in which the self-driving vehicle is located, and The real-time data is input to the mode switching model in real time, and the output of the model is switched according to the mode to determine which driving mode should be driven.
  • the switching device 304 switches between the end-to-end driving mode or the tracking driving mode based on the current mode, based on the mode switching model.
  • the switching device 304 inputs the current actual scene to the mode switching model according to the current actual scene where the automatically driving vehicle is acquired by the acquiring device 303, and switches the driving mode output by the model according to the mode.
  • the mode switching model may output a corresponding driving mode number, and according to the driving mode number, the switching device 304 may know which driving mode the autonomous driving vehicle should currently use for automatic driving.
  • the self-driving vehicle is originally undergoing normal end-to-end automatic driving, the onboard camera thereon continuously collects video or image data in real time, and the acquisition device 303 continuously acquires the real-time captured video or image from the onboard camera.
  • the self-driving vehicle is about to hit a tree on the side of the road, and the on-board camera thereon still continuously collects video or image data in real time, and the acquisition device 303 also continuously acquires the real-time collected video or image data from the on-board camera.
  • the current actual scene of the self-driving vehicle is acquired in real time and input to the mode switching model in real time, and at this time, the output of the mode switching model is the tracking driving mode, and the switching device 304 drives the self-driving vehicle.
  • the mode is switched to the tracking driving mode.
  • the acquisition device 303 since the on-board sensor continuously collects real-time data, the acquisition device 303 also continuously acquires the real-time data and inputs it to the mode switching model for determination. Therefore, the switching device 304 can switch the model in the mode once output.
  • the driving mode changes the driving mode of the self-driving vehicle is switched; and the collected real-time data can also be used for judging, for example, for a certain amount of real-time sensor data, if the driving mode of the mode switching model is changed If the number of times exceeds a predetermined threshold, the driving mode of the self-driving vehicle is switched to avoid a erroneous judgment that a small amount of real-time data may occur. Therefore, some real-time data may be taken to make a judgment to increase the accuracy of the judgment.
  • the device 1 acquires sensor data collected by an on-board sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle; and the sensor data is input as an input An end-to-end driving mode or a tracking driving mode as an output, a training mode switching model; real-time acquisition of a current actual scene collected by the onboard sensor of the self-driving vehicle; and according to the current actual scenario, based on the mode switching model, Switching between end-to-end driving mode or tracking driving mode; when the self-driving vehicle senses an unsafe scene, it automatically switches to the tracking driving mode, and if it is a safety scene, it automatically switches to the end-to-end driving mode.
  • the device 1 uses the security scene data and the unsafe scene data collected by the sensor to train a deep learning decision model for switching between the end-to-end driving mode and the tracking driving mode.
  • the model can perceive Whether the current actual scene is safe, makes a decision, and the output command switches between the two driving modes.
  • the invention utilizes the decision-making ability of deep learning to automatically switch the tracking driving mode and the end-to-end driving mode, and trains a model with inference decision-making ability, which naturally integrates the tracking driving mode and the end-to-end automatic driving mode, thereby greatly improving the automatic Driving safety.
  • the device 1 further comprises a correction device (not shown).
  • the correction device records the driver's takeover behavior of the self-driving vehicle during the automatic driving process, acquires sensor correction data collected by the onboard sensor at the corresponding time; and corrects the mode switching model according to the sensor correction data.
  • the driver can also sit in the assisting driving, and when the autonomous driving vehicle has an inappropriate driving behavior, the driver can perform manual intervention to correct it and correct the correction.
  • the device may record the driver's takeover behavior during the automatic driving of the self-driving vehicle, and since the onboard sensor of the self-driving vehicle continuously collects sensor data, the correction device may also acquire the manual driving when the driver takes over
  • the sensor data collected by the on-vehicle sensor at this time is referred to herein as sensor correction data for convenience of description, and the actual is also the video collected by the on-board sensor of the self-driving vehicle. , image or radar data, etc.
  • the correction device can correct the mode switching model based on the sensor correction data.
  • the on-board sensor of the self-driving vehicle also collects video data of a certain object that is approaching, and the acquisition device 303 acquires the video data as the current actual scene of the self-driving vehicle; subsequently, the switching device 304 will The current actual scene is input to the mode switching model, and the obtained driving mode is an end-to-end driving mode.
  • the self-driving vehicle performs automatic driving in the end-to-end driving mode; at this time, the driver finds that the current actual scene actually Is an unsafe scene, therefore, the driver takes over the self-driving vehicle and performs manual driving. If the driver takes over the steering wheel, brake or shifting handle of the self-driving vehicle, the correcting device records the driver's take-over behavior and obtains At this time, the sensor correction data collected by the on-board sensor, so the vehicle The image capturing head is no longer close to the subject but the conversion angle is far away. Therefore, the correcting device can determine that the current actual scene is an unsafe scene, and correct the mode switching model to be when the input is the current actual scene. The output is in the tracking driving mode. After that, if the self-driving vehicle still touches the scene, it can switch to the tracking driving mode for automatic driving.
  • the device 1 receives the output command of the model at any time to switch the tracking driving mode and the end-to-end driving mode.
  • the device 1 receives the output command of the model at any time to switch the tracking driving mode and the end-to-end driving mode.
  • the driver's takeover behavior indicating the wrong decision of the model, collecting the corresponding moment.
  • the sensor data strengthens the training of the model, making the decision-making ability of the model better and better, and further improving the safety of autonomous driving.
  • the present invention also provides a computer readable storage medium storing computer code, the method of any of which is performed when the computer code is executed.
  • the invention also provides a computer program product, the method of any of the preceding one being performed when the computer program product is executed by a computer device.
  • the invention also provides a computer device, the computer device comprising:
  • One or more processors are One or more processors;
  • a memory for storing one or more computer programs
  • the one or more processors When the one or more computer programs are executed by the one or more processors, the one or more processors are caused to implement the method of any of the preceding.
  • the present invention can be implemented in software and/or a combination of software and hardware.
  • the various devices of the present invention can be implemented using an application specific integrated circuit (ASIC) or any other similar hardware device.
  • the software program of the present invention may be executed by a processor to implement the steps or functions described above.
  • the software program (including related data structures) of the present invention can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
  • some of the steps or functions of the present invention may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.

Abstract

The objective of the present invention is to provide a method and device for switching driving modes. Compared to existing technology, the present invention trains a deep learning decision model for switching between an end-to-end driving mode and a tracking driving mode by using safe scenario data and unsafe scenario data acquired by an onboard sensor of an automatic driving vehicle. In practice, the model may sense whether a current actual scenario is safe, make a decision, and output an instruction to switch between the two driving modes. The present invention utilizes the decision ability of deep learning to automatically switch between the tracking driving mode and the end-to-end driving mode, train the model having a reasoning decision-making ability, and naturally fuse the tracking driving mode and the end-to-end automatic driving mode so as to greatly improve the safety of automatic driving.

Description

一种用于驾驶模式切换的方法和装置Method and device for driving mode switching
本专利申请要求于2017年9月5日提交的、申请号为201710792452.1、申请人为百度在线网络技术(北京)有限公司、发明名称为“一种用于驾驶模式切换的方法和装置”的中国专利申请的优先权,该申请的全文以引用的方式并入本申请中。This patent application claims Chinese patent filed on September 5, 2017, with the application number 201710792452.1, the applicant is Baidu Online Network Technology (Beijing) Co., Ltd., and the invention is entitled "A Method and Device for Driving Mode Switching" Priority of the application, the entire contents of which are incorporated herein by reference.
技术领域Technical field
本发明涉及车辆自动驾驶技术领域,尤其涉及一种用于驾驶模式切换的技术。The present invention relates to the field of vehicle automatic driving technology, and in particular, to a technology for driving mode switching.
背景技术Background technique
现有的自动驾驶的两种主要模式是循迹驾驶模式和端对端自动驾驶模式,循迹驾驶模式具有很高的安全性,但是必须预设轨迹,实用性不强;端对端自动驾驶模式灵活性强,具有实用性,然而安全性较低。现有的二者结合的做法要么是简单的糅合,达不到相辅相成的效果,要么是基于人工定义规则进行自动切换,切换的时机难以正确把握,甚至会起到反作用。The two main modes of the existing automatic driving are the tracking driving mode and the end-to-end automatic driving mode. The tracking driving mode has high safety, but the trajectory must be preset, and the utility is not strong; the end-to-end automatic driving The mode is flexible and practical, but it is less secure. The existing combination of the two is either a simple combination, does not achieve the complementary effect, or automatically switches based on manual definition rules, the timing of switching is difficult to grasp correctly, and even counterproductive.
因此,如何使得自动驾驶车辆准确、高效地在该两种驾驶模式中进行切换,成为本领域亟需解决的问题之一。Therefore, how to make the autonomous vehicle switch accurately and efficiently in the two driving modes becomes one of the problems to be solved in the field.
发明内容Summary of the invention
本发明的目的是提供一种用于驾驶模式切换的方法和装置。It is an object of the present invention to provide a method and apparatus for driving mode switching.
根据本发明的一个方面,提供了一种用于驾驶模式切换的方法,其中,该方法包括:According to an aspect of the present invention, a method for driving mode switching is provided, wherein the method comprises:
a获取自动驾驶车辆的车载传感器所采集的传感器数据,其中,所述传感器数据包括所述自动驾驶车辆的安全场景数据和不安全场景数据;a acquiring sensor data collected by an onboard sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle;
b将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练模式切换模型;b taking the sensor data as an input, corresponding end-to-end driving mode or tracking driving mode as an output, training mode switching model;
其中,该方法还包括:Wherein, the method further comprises:
x实时获取所述自动驾驶车辆的车载传感器所采集的当前实际场景;x acquiring the current actual scene collected by the onboard sensor of the self-driving vehicle in real time;
y根据所述当前实际场景,基于所述模式切换模型,在端对端驾驶模式或循迹驾驶模式中进行切换。y switching according to the current actual scenario, based on the mode switching model, in an end-to-end driving mode or a tracking driving mode.
优选地,所述步骤a中的不安全场景数据由驾驶员故意进行不安全行为而采集。Preferably, the unsafe scene data in the step a is collected by the driver intentionally performing an unsafe behavior.
优选地,所述步骤b包括:Preferably, the step b comprises:
建立卷积神经网络模型,将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。A convolutional neural network model is established, and the sensor data is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
更优选地,在所述卷积神经网络模型的每两层卷积层中加入负反馈层,每三层卷积层中加入dropout层。More preferably, a negative feedback layer is added to each of the two convolutional layers of the convolutional neural network model, and a dropout layer is added to each of the three convolutional layers.
优选地,所获取的车载传感器所采集的传感器数据分为测试集与训练集;Preferably, the acquired sensor data collected by the onboard sensor is divided into a test set and a training set;
其中,所述步骤b包括:Wherein the step b comprises:
将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。The training set is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
更优选地,所述步骤b包括:More preferably, the step b comprises:
将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练获得多个候选切换模型;Taking the training set as an input, and corresponding end-to-end driving mode or tracking driving mode as an output, training obtains a plurality of candidate switching models;
其中,该方法还包括:Wherein, the method further comprises:
根据所述测试集,自所述多个候选切换模型中选择确定所述模式切换模型。Determining the mode switching model from the plurality of candidate switching models according to the test set.
优选地,该方法还包括:Preferably, the method further comprises:
记录所述自动驾驶车辆在自动驾驶过程中驾驶员的接手行为,获取对应时刻所述车载传感器所采集的传感器修正数据;Recording the driver's takeover behavior of the self-driving vehicle during the automatic driving process, and acquiring sensor correction data collected by the onboard sensor at the corresponding time;
根据所述传感器修正数据,对所述模式切换模型进行修正。The mode switching model is corrected based on the sensor correction data.
根据本发明的另一个方面,还提供了一种用于驾驶模式切换的装置,其中,该装置包括:According to another aspect of the present invention, there is also provided an apparatus for driving mode switching, wherein the apparatus comprises:
采集装置,用于获取自动驾驶车辆的车载传感器所采集的传感器数据,其中,所述传感器数据包括所述自动驾驶车辆的安全场景数据和不安全场景数据;a collecting device, configured to acquire sensor data collected by an onboard sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle;
训练装置,用于将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练模式切换模型;a training device, configured to use the sensor data as an input, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and the training mode switching model;
其中,该装置还包括:Wherein, the device further comprises:
获取装置,用于实时获取所述自动驾驶车辆的车载传感器所采集的当前实际场景;Obtaining means for acquiring the current actual scene collected by the onboard sensor of the self-driving vehicle in real time;
切换装置,用于根据所述当前实际场景,基于所述模式切换模型,在端对端驾驶模式或循迹驾驶模式中进行切换。And a switching device, configured to switch in an end-to-end driving mode or a tracking driving mode based on the mode switching model according to the current actual scenario.
优选地,所述不安全场景数据由驾驶员故意进行不安全行为而采集。Preferably, the unsafe scene data is collected by the driver intentionally performing unsafe behavior.
优选地,所述训练装置用于:Preferably, the training device is for:
建立卷积神经网络模型,将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。A convolutional neural network model is established, and the sensor data is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
更优选地,在所述卷积神经网络模型的每两层卷积层中加入负反馈层,每三层卷积层中加入dropout层。More preferably, a negative feedback layer is added to each of the two convolutional layers of the convolutional neural network model, and a dropout layer is added to each of the three convolutional layers.
优选地,所获取的车载传感器所采集的传感器数据分为测试集与训练集;Preferably, the acquired sensor data collected by the onboard sensor is divided into a test set and a training set;
其中,所述训练装置用于:Wherein the training device is used to:
将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。The training set is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
更优选地,所述训练装置用于:More preferably, the training device is for:
将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练获得多个候选切换模型;Taking the training set as an input, and corresponding end-to-end driving mode or tracking driving mode as an output, training obtains a plurality of candidate switching models;
其中,该装置还包括:Wherein, the device further comprises:
选择装置,用于根据所述测试集,自所述多个候选切换模型中选择确定所述模式切换模型。And a selecting means, configured to determine the mode switching model from the plurality of candidate switching models according to the test set.
优选地,该装置还包括修正装置,用于:Preferably, the apparatus further comprises correction means for:
记录所述自动驾驶车辆在自动驾驶过程中驾驶员的接手行为,获取对应时刻所述车载传感器所采集的传感器修正数据;Recording the driver's takeover behavior of the self-driving vehicle during the automatic driving process, and acquiring sensor correction data collected by the onboard sensor at the corresponding time;
根据所述传感器修正数据,对所述模式切换模型进行修正。The mode switching model is corrected based on the sensor correction data.
根据本发明的又一个方面,还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机代码,当所述计算机代码被执行时,如前任一项所述的方法被执行。According to still another aspect of the present invention, there is also provided a computer readable storage medium storing computer code, the method of any of the foregoing being executed when the computer code is executed .
根据本发明的再一个方面,还提供了一种计算机程序产品,当所述计算机程序产品被计算机设备执行时,如前任一项所述的方法被执行。According to still another aspect of the present invention, there is also provided a computer program product, the method of any of the preceding, when the computer program product is executed by a computer device.
根据本发明的再一个方面,还提供了一种计算机设备,所述计算机设备包括:According to still another aspect of the present invention, a computer device is provided, the computer device comprising:
一个或多个处理器;One or more processors;
存储器,用于存储一个或多个计算机程序;a memory for storing one or more computer programs;
当所述一个或多个计算机程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如前任一项所述的方法。When the one or more computer programs are executed by the one or more processors, the one or more processors are caused to implement the method of any of the preceding.
与现有技术相比,本发明获取自动驾驶车辆的车载传感器所采集的传感器数据,其中,所述传感器数据包括所述自动驾驶车辆的安全场景数据和不安全场景数据;将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练模式切换模型;实时获取所述自动驾驶车辆的车载传感器所采集的当前实际场景;根据所述当前实际场景,基于所述模式切换模型,在端对端驾驶模式或循迹驾驶模式中进行 切换;本发明利用传感器所采集到的安全场景数据和不安全场景数据,训练一个用于在端对端驾驶模式与循迹驾驶模式之前切换的深度学习决策模型,在实际应用中,该模型能够感知到当前实际场景是否安全,做出决策,输出指令在该两种驾驶模式中进行切换。本发明利用深度学习的决策能力自动切换循迹驾驶模式和端对端驾驶模式,训练出有推理决策能力的模型,将循迹驾驶模式与端对端自动驾驶模式自然地融合,大大提高了自动驾驶的安全性。Compared with the prior art, the present invention acquires sensor data collected by an on-board sensor of an autonomous vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle; Input, a corresponding end-to-end driving mode or a tracking driving mode as an output, a training mode switching model; real-time acquisition of a current actual scene collected by the onboard sensor of the self-driving vehicle; and based on the current actual scenario, based on the mode Switching the model and switching in the end-to-end driving mode or the tracking driving mode; the invention uses the safety scene data and the unsafe scene data collected by the sensor to train one for the end-to-end driving mode and the tracking driving mode In the actual application, the model can sense whether the current actual scene is safe, make a decision, and output instructions to switch between the two driving modes. The invention utilizes the decision-making ability of deep learning to automatically switch the tracking driving mode and the end-to-end driving mode, and trains a model with inference decision-making ability, which naturally integrates the tracking driving mode and the end-to-end automatic driving mode, thereby greatly improving the automatic Driving safety.
进一步地,本发明利用封闭园区区域小,可操作性强的特点,让驾驶员故意模拟大量不安全行为来创造数据,训练一个用于端对端自动驾驶与循迹切换的深度学习决策模型。Further, the present invention utilizes the characteristics of a small closed park area and strong operability, allowing the driver to intentionally simulate a large number of unsafe behaviors to create data, and training a deep learning decision model for end-to-end automatic driving and tracking switching.
进一步地,在训练好模型之后,随时接收模型的输出指令切换循迹驾驶模式与端对端驾驶模式,在这个过程中,通过记录驾驶员接手行为,指出模型的错误决策,采集对应时刻的传感器数据对模型进行加强训练,使该模型的决策能力越来越好,进一步提高了自动驾驶的安全性。Further, after training the model, the output command of the model is received at any time to switch the tracking driving mode and the end-to-end driving mode. In this process, by recording the driver's takeover behavior, indicating the wrong decision of the model, collecting the sensor at the corresponding moment. The data strengthens the training of the model, making the decision-making ability of the model better and better, and further improving the safety of autonomous driving.
附图说明DRAWINGS
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present invention will become more apparent from the Detailed Description of Description
图1示出适于用来实现本发明实施方式的示例性计算机系统/服务器12的框图;1 shows a block diagram of an exemplary computer system/server 12 suitable for implementing embodiments of the present invention;
图2示出根据本发明一个方面的用于驾驶模式切换的方法的流程示意图;2 shows a flow diagram of a method for driving mode switching in accordance with an aspect of the present invention;
图3示出根据本发明另一个方面的用于驾驶模式切换的装置的结构示意图。3 is a block diagram showing the structure of an apparatus for driving mode switching according to another aspect of the present invention.
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings denote the same or similar components.
具体实施方式Detailed ways
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe various operations as a sequential process, many of the operations can be implemented in parallel, concurrently or concurrently. In addition, the order of operations can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
在上下文中所称“计算机设备”,也称为“电脑”,是指可以通过运行预定程序或指令来执行数值计算和/或逻辑计算等预定处理过程的智能电子设备,其可以包括处理器与存储器,由处理器执行在存储器中预存的存续指令来执行预定处理过程,或是由ASIC、FPGA、DSP等硬件执行预定处理过程,或是由上述二者组合来实现。计算机设备包括但不限于服务器、个人电脑、笔记本电脑、平板电脑、智能手机等。By "computer device", also referred to as "computer" in the context, is meant an intelligent electronic device that can perform predetermined processing, such as numerical calculations and/or logical calculations, by running a predetermined program or instruction, which can include a processor and The memory is executed by the processor to execute a predetermined process pre-stored in the memory to execute a predetermined process, or is executed by hardware such as an ASIC, an FPGA, a DSP, or the like, or a combination of the two. Computer devices include, but are not limited to, servers, personal computers, notebook computers, tablets, smart phones, and the like.
所述计算机设备包括用户设备与网络设备。其中,所述用户设备包括但不限于电脑、智能手机、PDA等;所述网络设备包括但不限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算(Cloud Computing)的由大量计算机或网络服务器构成的云,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。其中,所述计算机设备可单独运行来实现本发明,也可接入网络并通过与网络中的其他计算机设备的交互操作来实现本发明。其中,所述计算机设备所处的网络包括但不限于互联网、广域网、城域网、局域网、VPN网络等。The computer device includes a user device and a network device. The user equipment includes, but is not limited to, a computer, a smart phone, a PDA, etc.; the network device includes but is not limited to a single network server, a server group composed of multiple network servers, or a cloud computing based computer Or a cloud composed of a network server, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computers. Wherein, the computer device can be operated separately to implement the present invention, and can also access the network and implement the present invention by interacting with other computer devices in the network. The network in which the computer device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
需要说明的是,所述用户设备、网络设备和网络等仅为举例,其他现有的或今后可能出现的计算机设备或网络如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。It should be noted that the user equipment, the network equipment, the network, and the like are merely examples, and other existing or future possible computer equipment or networks, such as those applicable to the present invention, are also included in the scope of the present invention. It is included here by reference.
后面所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质(比如存储介质)中。 (一个或多个)处理器可以实施必要的任务。The methods discussed below, some of which are illustrated by flowcharts, can be implemented in hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to carry out the necessary tasks can be stored in a machine or computer readable medium, such as a storage medium. The processor(s) can perform the necessary tasks.
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本发明的示例性实施例的目的。但是本发明可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。The specific structural and functional details disclosed are merely representative and are for the purpose of describing exemplary embodiments of the invention. The present invention may, however, be embodied in many alternative forms and should not be construed as being limited only to the embodiments set forth herein.
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。It should be understood that although the terms "first," "second," etc. may be used herein to describe the various elements, these elements should not be limited by these terms. These terms are used only to distinguish one unit from another. For example, a first unit could be termed a second unit, and similarly a second unit could be termed a first unit, without departing from the scope of the exemplary embodiments. The term "and/or" used herein includes any and all combinations of one or more of the associated listed items.
应当理解的是,当一个单元被称为“连接”或“耦合”到另一单元时,其可以直接连接或耦合到所述另一单元,或者可以存在中间单元。与此相对,当一个单元被称为“直接连接”或“直接耦合”到另一单元时,则不存在中间单元。应当按照类似的方式来解释被用于描述单元之间的关系的其他词语(例如“处于...之间”相比于“直接处于...之间”,“与...邻近”相比于“与...直接邻近”等等)。It will be understood that when a unit is referred to as "connected" or "coupled" to another unit, it can be directly connected or coupled to the other unit, or an intermediate unit can be present. In contrast, when a unit is referred to as being "directly connected" or "directly coupled" to another unit, there is no intermediate unit. Other words used to describe the relationship between the units should be interpreted in a similar manner (eg "between" and "directly between" and "adjacent to" Than "directly adjacent to", etc.).
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。The terminology used herein is for the purpose of describing the particular embodiments, The singular forms "a", "an", It is also to be understood that the terms "comprising" and """ Other features, integers, steps, operations, units, components, and/or combinations thereof.
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。It should also be noted that in some alternative implementations, the functions/acts noted may occur in a different order than that illustrated in the drawings. For example, two figures shown in succession may in fact be executed substantially concurrently or sometimes in the reverse order, depending on the function/acts involved.
下面结合附图对本发明作进一步详细描述。The invention is further described in detail below with reference to the accompanying drawings.
图1示出了适于用来实现本发明实施方式的示例性计算机系统/服务器12的框图。图1显示的计算机系统/服务器12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 1 illustrates a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present invention. The computer system/server 12 shown in FIG. 1 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
如图1所示,计算机系统/服务器12以通用计算设备的形式表现。计算机系统/服务器12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 1, computer system/server 12 is embodied in the form of a general purpose computing device. The components of computer system/server 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects different system components, including system memory 28 and processing unit 16.
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。 Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA Bus, a Video Electronics Standards Association (VESA) local bus, and peripheral component interconnects ( PCI) bus.
计算机系统/服务器12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机系统/服务器12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Computer system/server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer system/server 12, including both volatile and non-volatile media, removable and non-removable media.
存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机系统/服务器12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图1未示出,通常称为“硬盘驱动器”)。尽管图1中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。 Memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 1, commonly referred to as "hard disk drives"). Although not shown in FIG. 1, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile disk (such as a CD-ROM, DVD-ROM) may be provided. Or other optical media) read and write optical drive. In these cases, each drive can be coupled to bus 18 via one or more data medium interfaces. Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存 储在例如存储器28中,这样的程序模块42包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more applications, other programs Modules and program data, each of these examples or some combination may include an implementation of a network environment. Program module 42 typically performs the functions and/or methods of the described embodiments of the present invention.
计算机系统/服务器12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机系统/服务器12交互的设备通信,和/或与使得该计算机系统/服务器12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机系统/服务器12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与计算机系统/服务器12的其它模块通信。应当明白,尽管图1中未示出,可以结合计算机系统/服务器12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。Computer system/server 12 may also be in communication with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer system/server 12. And/or in communication with any device (e.g., network card, modem, etc.) that enables the computer system/server 12 to communicate with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22. Also, computer system/server 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through network adapter 20. As shown, network adapter 20 communicates with other modules of computer system/server 12 via bus 18. It should be understood that although not shown in FIG. 1, other hardware and/or software modules may be utilized in conjunction with computer system/server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems. , tape drives, and data backup storage systems.
处理单元16通过运行存储在存储器28中的程序,从而执行各种功能应用以及数据处理。Processing unit 16 executes various functional applications and data processing by running programs stored in memory 28.
例如,存储器28中存储有用于执行本发明的各项功能和处理的计算机程序,处理单元16执行相应计算机程序时,本发明在网络端对来电意图的识别被实现。For example, the memory 28 stores therein a computer program for performing the functions and processes of the present invention, and when the processing unit 16 executes the corresponding computer program, the identification of the incoming call intention at the network side by the present invention is implemented.
以下将详细描述本发明用于驾驶模式切换的具体功能/步骤。The specific functions/steps of the present invention for driving mode switching will be described in detail below.
图2示出根据本发明一个方面的用于驾驶模式切换的方法的流程示意图。2 shows a flow diagram of a method for driving mode switching in accordance with an aspect of the present invention.
在步骤S201中,装置1获取自动驾驶车辆的车载传感器所采集的传感器数据,其中,所述传感器数据包括所述自动驾驶车辆的安全场景数据和不安全场景数据。In step S201, the device 1 acquires sensor data collected by an on-board sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle.
具体地,自动驾驶车辆的车载传感器可以采集到对应的不同的传感器数据,这些传感器数据例如是自动驾驶车辆在驾驶过程中的视频数据、图像数据、雷达数据等。在此,这些传感器数据可以是该自动驾驶车辆在自动驾驶过程中被采集的,也可以是该自动驾驶车辆在驾驶员的辅助驾驶过程中被采集的。在此,这些传感器数据可以是该自动驾驶车辆的安全场景数据,即,该自动驾驶车辆在正常的自动驾驶过程或由驾驶员辅助驾驶过程中所采集到的视频数据、图像数据、雷达数据等;也可以是该自动驾驶车辆的不安全场景数据,即,该自动驾驶车辆在自动驾驶过程或由驾驶员辅助驾驶过程中所遇到的不安全的情况,如在发生碰撞、异常加速、异常减速、方向盘打死等情况下车载传感器所采集到的视频数据、图像数据、雷达数据等。Specifically, the on-board sensor of the self-driving vehicle may collect corresponding different sensor data, such as video data, image data, radar data, and the like, of the self-driving vehicle during driving. Here, the sensor data may be collected by the self-driving vehicle during the automatic driving process, or may be collected by the self-driving vehicle during the driver's assisted driving process. Here, the sensor data may be safety scene data of the self-driving vehicle, that is, video data, image data, radar data, etc. collected by the self-driving vehicle during a normal automatic driving process or a driver assisted driving process. It may also be unsafe scene data of the self-driving vehicle, that is, an unsafe situation encountered by the self-driving vehicle during an automatic driving process or assisted driving by the driver, such as in the event of a collision, abnormal acceleration, abnormality Video data, image data, radar data, etc. collected by the on-board sensor in the case of deceleration, steering wheel killing, etc.
在步骤S201中,装置1通过自动驾驶车辆的车载传感器采集上述传感器数据。在此,自动驾驶车辆的车载传感器包括但不限于车载摄像头、车载雷达等。例如,当自动驾驶车辆自动驾驶时,装置1通过该自动驾驶车辆的车载摄像头采集各个视角的视频或图像数据。在此,该车载摄像头用来模拟驾驶员的视线与视角,其例如可以位于自动驾驶车辆的驾驶室、左侧、右侧后视镜、中央后视镜等,该车载摄像头例如可以是双目摄像机。通过该车载摄像头所采集到的视频或图像数据例如可以视作假设该自动驾驶车辆由驾驶员驾驶时,该驾驶员所看到的各种周围景象。随后,若该自动驾驶车辆碰到了某个不安全场景,如突然刹车,装置1继续通过该自动驾驶车辆的车载摄像头采集各个视角的视频或图像数据,并保存为不安全场景数据,以供后续模型训练使用。In step S201, the device 1 collects the above sensor data by an in-vehicle sensor that automatically drives the vehicle. Here, the on-board sensors of the self-driving vehicle include, but are not limited to, an in-vehicle camera, a vehicle-mounted radar, and the like. For example, when the self-driving vehicle is driving automatically, the device 1 collects video or image data of various angles of view through the in-vehicle camera of the self-driving vehicle. Here, the in-vehicle camera is used to simulate the driver's line of sight and angle of view, which can be, for example, located in the cab of the self-driving vehicle, the left side, the right side mirror, the center rear view mirror, etc., which can be, for example, binocular Camera. The video or image data collected by the in-vehicle camera can be regarded as, for example, various surrounding scenes that the driver sees when the autonomous vehicle is driven by the driver. Then, if the self-driving vehicle encounters an unsafe scene, such as sudden braking, the device 1 continues to collect video or image data of various viewing angles through the on-board camera of the self-driving vehicle, and saves the data as unsafe scene for subsequent Model training is used.
在此,该方式例如适用于车辆自动驾驶中的端对端驾驶模式,端对端驾驶模式是指自动驾驶车辆利用车载传感器,如车载摄像头、车载雷达等,感知周围景象来判断如何进行自动驾驶,如判断是踩油门还是踩刹车、判断如何打方向盘等,其车辆自动驾驶的自由度较高;与之相对的是循迹驾驶模式,循迹驾驶模式是指自动驾驶车辆利用高精度GPS获知自身的位置,沿着预设轨迹来进行自动驾驶,虽然相对来讲很安全, 但行驶轨迹是固定不变的,没有那么灵活。Here, the method is applicable to, for example, an end-to-end driving mode in automatic driving of a vehicle, and the end-to-end driving mode refers to an autonomous driving vehicle using an in-vehicle sensor, such as an in-vehicle camera, a vehicle-mounted radar, etc., to sense a surrounding scene to determine how to perform automatic driving. If it is judged whether it is stepping on the accelerator or stepping on the brakes, judging how to drive the steering wheel, etc., the degree of freedom of automatic driving of the vehicle is high; the opposite is the tracking driving mode, which is that the self-driving vehicle uses high-precision GPS to know. Its own position, along the preset trajectory for automatic driving, although relatively safe, but the driving trajectory is fixed, not so flexible.
进一步地,上述端对端驾驶模式或循迹驾驶模式例如是在封闭园区中进行的,在此,封闭园区是指具有有限的路线、有限的物理区域的有限场景,现实中较常见的如港口、停车场、博览会场、校园内部等,当然,该封闭园区也可以进行定制。Further, the above-mentioned end-to-end driving mode or the tracking driving mode is performed, for example, in a closed campus. Here, the closed campus refers to a limited scenario with a limited route and a limited physical area. In reality, a port such as a port is more common. , parking lots, fairs, campus interiors, etc. Of course, the closed park can also be customized.
本领域技术人员应能理解,上述车载传感器仅为举例,其他现有或今后可能出现的车载传感器,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。It should be understood by those skilled in the art that the above-mentioned on-board sensors are merely examples, and other on-board sensors that may be present or may be present in the future, as applicable to the present invention, are also included in the scope of the present invention and are cited herein by way of reference. Included here.
本领域技术人员还应能理解,上述采集传感器数据的方式仅为举例,其他现有或今后可能出现的采集传感器数据的方式,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。Those skilled in the art should also understand that the above manner of collecting sensor data is only an example, and other existing or future possible methods of collecting sensor data, as applicable to the present invention, are also included in the scope of protection of the present invention. It is hereby incorporated by reference.
优选地,所述不安全场景数据由驾驶员故意进行不安全行为而采集。Preferably, the unsafe scene data is collected by the driver intentionally performing unsafe behavior.
具体地,驾驶员可以辅助来驾驶该自动驾驶车辆,当驾驶员采用人工来进行驾驶时,可以故意模拟大量不安全行为,例如故意碰撞、故意突然踩油门加速、突然急踩刹车、方向盘打算等,从而使得该自动驾驶车辆上的车载传感器在面临这些不安全场景时,可以采集到相对应的传感器数据。例如,对于某个封闭园区,由于在封闭园区中较为安全,因此,驾驶员在该封闭园区中驾驶该自动驾驶车辆时,可以故意模拟大量不安全行为。Specifically, the driver can assist in driving the self-driving vehicle. When the driver uses manual driving, he can deliberately simulate a large number of unsafe behaviors, such as intentional collision, deliberate sudden stepping on the accelerator, sudden sudden braking, steering wheel planning, etc. Therefore, the on-board sensor on the self-driving vehicle can collect corresponding sensor data when facing these unsafe scenes. For example, for a closed park, because it is safer in a closed park, the driver can deliberately simulate a large number of unsafe behaviors when driving the self-driving vehicle in the closed park.
在此,由于训练有素的驾驶员正常驾驶过程中很难产生有效的不安全场景数据,因此,可以利用封闭园区场地小、可操作性强等特点,让驾驶员故意做出各类不安全行为来采集对应的传感器数据。Here, since the trained driver is difficult to generate effective unsafe scene data during the normal driving process, the closed park site can be used with small features and strong operability, so that the driver deliberately makes various types of insecurity. Behavior to collect corresponding sensor data.
例如,驾驶员在该封闭园区辅助驾驶该自动驾驶车辆,并在车辆行驶过程中故意去碰撞路边的树,则该自动驾驶车辆上的车载摄像头可以采集到该车辆碰撞树时的景象,如拍摄到对应视频,该视频中出现路边的树不断接近并最后撞上的画面;或者,该自动驾驶车辆上的车载雷达也可以采集对应的信息,如该车载雷达测量到该树作为障碍物与该车辆 之间的距离信息;从而,在步骤S201中,装置1采集这些传感器数据,并可以在随后训练模型过程中使用。For example, if the driver assists in driving the self-driving vehicle in the closed park and deliberately hits the roadside tree during the running of the vehicle, the on-board camera on the self-driving vehicle can collect the scene when the vehicle collides with the tree, such as Shooting a corresponding video in which the roadside tree is approaching and finally hitting the screen; or the onboard radar on the self-driving vehicle can also collect corresponding information, such as the vehicle radar measuring the tree as an obstacle The distance information with the vehicle; thus, in step S201, the device 1 collects these sensor data and can be used in the subsequent training of the model.
又如,若在该自动驾驶车辆不断接近路边的树的过程中,该驾驶员急踩刹车,则该自动驾驶车辆上的车载摄像头可以采集到对应的景象,如拍摄到对应视频,该视频中出现路边的树先不断接近后减速接近最后静止的画面;或者,该自动驾驶车辆上的车载雷达也可以采集对应的信息,如该车载雷达测量到该树作为障碍物与该车辆之间的距离信息,如该距离不断变短最后不再变化。For another example, if the driver is rushing to brake when the autonomous vehicle is constantly approaching the tree at the roadside, the onboard camera on the self-driving vehicle can collect a corresponding scene, such as capturing a corresponding video, the video. The tree in the roadside first approaches and then decelerates to approach the last still picture; or the onboard radar on the self-driving vehicle can also collect corresponding information, such as the onboard radar measures the tree as an obstacle and the vehicle The distance information, if the distance is getting shorter, does not change at the end.
本领域技术人员应能理解,上述驾驶员故意为之的不安全行为仅为举例,其他现有或今后可能出现的不安全行为,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。It should be understood by those skilled in the art that the above-mentioned intentional unsafe behavior of the driver is merely an example, and other unsafe behaviors that may exist in the future or in the future may be included in the scope of the present invention if applicable to the present invention. And is hereby incorporated by reference.
在此,装置1利用封闭园区区域小,可操作性强的特点,让驾驶员故意模拟大量不安全行为来创造数据,训练一个用于端对端自动驾驶与循迹切换的深度学习决策模型。Here, the device 1 utilizes the characteristics of a small closed park area and high operability, allowing the driver to intentionally simulate a large number of unsafe behaviors to create data, and training a deep learning decision model for end-to-end automatic driving and tracking switching.
在步骤S202中,装置1将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练模式切换模型。In step S202, the device 1 takes the sensor data as an input, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and the training mode switches the model.
具体地,在步骤S202中,装置1将在步骤S201中采集的传感器数据作为输入,而这些传感器数据都有对应的驾驶模式,例如,安全场景数据对应端对端驾驶模式,不安全场景数据对应循迹驾驶模式,将该端对端驾驶模式或循迹驾驶模式作为输出,训练模式切换模型。例如,在训练模式切换模型时,输入为传感器数据,输出为当前该自动驾驶车辆应启用的驾驶模式编号,0为端对端驾驶模式,1为循迹驾驶模式。Specifically, in step S202, the device 1 takes the sensor data collected in step S201 as an input, and the sensor data has a corresponding driving mode. For example, the security scene data corresponds to the end-to-end driving mode, and the unsafe scene data corresponds to In the tracking driving mode, the end-to-end driving mode or the tracking driving mode is used as an output, and the training mode switches the model. For example, when the training mode switches the model, the input is sensor data, and the output is the driving mode number that the current self-driving vehicle should be activated, 0 is the end-to-end driving mode, and 1 is the tracking driving mode.
在此,安全场景数据是该自动驾驶车辆在正常驾驶过程中所采集到的传感器数据,由于采用端对端驾驶模式的自由度较高,因此,在自动驾驶车辆未遇到不安全场景时可以采用端对端驾驶模式来进行驾驶,即,这些安全场景数据可对应端对端驾驶模式;而不安全场景数据是该自动驾驶车辆在驾驶过程中遇到不安全场景时所采集到的传感器数据,由于循迹驾驶模式本身的安全度较高,因此,在车辆遇到不安全场景时 可以采用循迹驾驶模式来进行驾驶,即,这些不安全场景数据可对应循迹驾驶模式。Here, the safety scene data is sensor data collected by the self-driving vehicle during normal driving, and since the degree of freedom of adopting the end-to-end driving mode is high, when the autonomous vehicle does not encounter an unsafe scene, The end-to-end driving mode is used for driving, that is, the safety scene data can correspond to the end-to-end driving mode; the unsafe scene data is the sensor data collected when the self-driving vehicle encounters an unsafe scene during driving. Since the tracking driving mode itself has a high degree of safety, the driving mode can be adopted when the vehicle encounters an unsafe scene, that is, the unsafe scene data can correspond to the tracking driving mode.
在此,该模式切换模型例如可以是一个简单的分类模型,其可以通过现有的对分类模型的训练方式来训练得到,例如,在此,已知自动驾驶车辆是在安全场景下所采集到的传感器数据还是在不安全场景下所采集到的传感器数据,并且已知安全场景下所采集到的传感器数据对应的是端对端驾驶模式,不安全场景下所采集到的传感器数据对应的是循迹驾驶模式,据此来通过各个分类输入得到各个分类输出,例如,在此,输入为传感器数据,输出为当前该自动驾驶车辆应启用的驾驶模式编号,0为端对端驾驶模式,1为循迹驾驶模式,从而训练该模式切换模型;在该模式切换模型训练完成之后,可以对不同的传感器数据进行分类,如当装置1通过车载摄像头采集到的是视频数据时,场景分析模型根据该视频数据,先确实是安全场景数据还是不安全场景数据,并据此确定对应的驾驶模式是端对端驾驶模式还是循迹驾驶模式。Here, the mode switching model may be, for example, a simple classification model, which can be trained by the existing training method for the classification model. For example, here, it is known that the self-driving vehicle is collected in a security scene. The sensor data is also the sensor data collected in an insecure scenario, and the sensor data collected in the known security scenario corresponds to the end-to-end driving mode. The sensor data collected in the unsafe scenario corresponds to According to the tracking driving mode, each classification output is obtained through each classification input. For example, here, the input is sensor data, and the output is the driving mode number that the current self-driving vehicle should be activated, and 0 is the end-to-end driving mode, 1 For the tracking driving mode, the mode switching model is trained; after the mode switching model training is completed, different sensor data can be classified, for example, when the device 1 collects video data through the vehicle camera, the scene analysis model is based on The video data is firstly security scene data or unsafe scene data. According to this driving mode is determined corresponding to-end tracking driving mode or driving mode.
本领域技术人员应能理解,上述训练模式切换模型的方式仅为举例,其他现有或今后可能出现的训练模式切换模型的方式,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。Those skilled in the art should understand that the manner of the above training mode switching model is only an example, and other existing or future training mode switching models may be applicable to the present invention and should also be included in the protection scope of the present invention. And is hereby incorporated by reference.
优选地,在步骤S202中,装置1建立卷积神经网络模型,将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。Preferably, in step S202, the device 1 establishes a convolutional neural network model, taking the sensor data as an input, and corresponding end-to-end driving mode or tracking driving mode as an output, training the mode switching model.
具体地,在步骤S202中,装置1建立卷积神经网络模型,将在步骤S201中采集的传感器数据作为输入,对应的驾驶模式作为输出,例如,安全场景数据作为输入,对应的端对端驾驶模式则作为输出,不安全场景数据作为输入,对应的循迹驾驶模式则作为输出,从而训练模式切换模型。例如,在训练模式切换模型时,将模式切换模型的输出定为当前该自动驾驶车辆应启用的驾驶模式编号,0为端对端驾驶模式,1为循迹驾驶模式,则在安全场景数据作为输入时,输出为0,不安全场 景数据作为输入时,输出为1。Specifically, in step S202, the device 1 establishes a convolutional neural network model, taking the sensor data collected in step S201 as an input, and the corresponding driving mode as an output, for example, security scene data as an input, corresponding end-to-end driving The mode is used as the output, the unsafe scene data is taken as the input, and the corresponding tracking driving mode is used as the output, thereby training the mode switching model. For example, when the training mode switches the model, the output of the mode switching model is determined as the driving mode number that the autonomous driving vehicle should be currently activated, 0 is the end-to-end driving mode, and 1 is the tracking driving mode, and the safety scene data is used as When input, the output is 0, and when the unsafe scene data is used as an input, the output is 1.
更优选地,在步骤S202中,装置1在所述卷积神经网络模型的每两层卷积层中加入负反馈层,每三层卷积层中加入dropout层。More preferably, in step S202, the device 1 adds a negative feedback layer to each of the two convolutional layers of the convolutional neural network model, and a dropout layer is added to each of the three convolutional layers.
具体地,在步骤S202中,装置1在训练模式切换模型时,建立卷积神经网络模型,并且,在该卷积神经网络模型的每两层卷积层中加入负反馈层,从而增强该卷积神经网络模型的推理能力,并在该卷积神经网络模型的每三层卷积层中加入dropout层,从而增强该卷积神经网络模型的泛化能力。Specifically, in step S202, the device 1 establishes a convolutional neural network model when training the mode switching model, and adds a negative feedback layer to each two-layer convolutional layer of the convolutional neural network model, thereby enhancing the volume. The inference ability of the neural network model is added, and the dropout layer is added to each three-layer convolutional layer of the convolutional neural network model to enhance the generalization ability of the convolutional neural network model.
优选地,所获取的车载传感器所采集的传感器数据分为测试集与训练集;其中,在步骤S202中,装置1将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。Preferably, the acquired sensor data collected by the onboard sensor is divided into a test set and a training set; wherein, in step S202, the device 1 takes the training set as an input, and the corresponding end-to-end driving mode or the tracking driving mode As an output, the mode switching model is trained.
具体地,车载传感器所采集的传感器数据可以分为测试集和训练集,该分类的方式可以不做任何限制,例如仅从数量方面考虑即可;其中,该训练集用来训练模式切换模型,测试集则用来测试训练好的模式切换模型。例如,在步骤S202中,装置1将训练集作为输入,训练集中同样也包括安全场景数据和不安全场景数据,装置1将这些安全场景数据和不安全场景数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练该模式切换模型。Specifically, the sensor data collected by the on-board sensor can be divided into a test set and a training set, and the manner of the classification can be performed without any limitation, for example, only in terms of quantity; wherein the training set is used to train the mode switching model, The test set is used to test the trained mode switching model. For example, in step S202, the device 1 takes the training set as an input, and the training set also includes the security scene data and the unsafe scene data, and the device 1 inputs the security scene data and the unsafe scene data as corresponding inputs, and the corresponding end-to-end driving The mode or the tracking driving mode is used as an output to train the mode switching model.
更优选地,在步骤S202中,装置1将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练获得多个候选切换模型;其中,该方法还包括步骤S205(未示出),在步骤S205中,装置1根据所述测试集,自所述多个候选切换模型中选择确定所述模式切换模型。More preferably, in step S202, the device 1 takes the training set as an input, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and the training obtains a plurality of candidate switching models; wherein the method further includes step S205 (not shown), in step S205, the device 1 selects the mode switching model from the plurality of candidate switching models according to the test set.
具体地,在步骤S202中,装置1将车载传感器所采集的传感器数据的训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,可以训练获得多个候选切换模型,例如,随着时间的推进,模型不断得到训练,期间可以获得多个候选切换模型;随后,在步骤S205中,装置1根据车载传感器所采集的传感器数据的测试集,对这多个候选切 换模型进行测试,例如,该测试集中同样也包括安全场景数据和不安全场景数据,将测试集中的安全场景数据输入至候选切换模型,检验其输出是否是端对端驾驶模式,将测试集中的不安全场景数据输入至候选切换模型,检验其输出是否是循迹驾驶模式,从而自该多个候选切换模型中选择确定最终的模式切换模型。Specifically, in step S202, the device 1 takes as input the training set of the sensor data collected by the onboard sensor, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and can train to obtain a plurality of candidate switching models, for example, As time progresses, the model is continuously trained, and a plurality of candidate switching models can be obtained during the process; subsequently, in step S205, the device 1 tests the plurality of candidate switching models according to the test set of sensor data collected by the onboard sensors. For example, the test set also includes security scene data and unsafe scene data, and inputs the security scene data in the test set to the candidate handover model, checks whether the output is an end-to-end driving mode, and tests the insecure scene data in the set. The candidate switching model is input to verify whether the output is a tracking driving mode, thereby selecting a final mode switching model from the plurality of candidate switching models.
本领域技术人员应能理解,上述确定模式切换模型的方式仅为举例,其他现有或今后可能出现的确定模式切换模型的方式,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。It should be understood by those skilled in the art that the manner of determining the mode switching model is merely an example, and other existing or future possible methods for determining the mode switching model, as applicable to the present invention, should also be included in the scope of the present invention. And is hereby incorporated by reference.
其中,该方法还包括步骤S203和步骤S204。Wherein, the method further includes step S203 and step S204.
在步骤S203中,装置1实时获取所述自动驾驶车辆的车载传感器所采集的当前实际场景。In step S203, the device 1 acquires the current actual scene collected by the onboard sensor of the self-driving vehicle in real time.
具体地,前述步骤S201和S202是对模式切换模型的训练,属于前期工作,而在该模式切换模型训练完成之后,该自动驾驶车辆在实际自动驾驶过程中可以应用该模式切换模型,从而判断是在端对端驾驶模式下进行自动驾驶还是在循迹驾驶模式下进行自动驾驶。Specifically, the foregoing steps S201 and S202 are trainings on the mode switching model, and belong to the preliminary work. After the mode switching model training is completed, the self-driving vehicle can apply the mode switching model in the actual automatic driving process, thereby determining that Autopilot in end-to-end driving mode or autopilot in tracking driving mode.
该自动驾驶车辆在实际自动驾驶过程中,其上的车载传感器可以实时地采集数据,例如,位于自动驾驶车辆的驾驶室、左侧、右侧后视镜、中央后视镜等位置的车载摄像头,在自动驾驶车辆实际自动驾驶过程中,不断地进行拍摄,捕捉、采集对应的视频或图像数据。在步骤S203中,装置1在车辆自动驾驶过程中,通过与该自动驾驶车辆的车载传感器的交互,获取该车载传感器所采集的实时数据,该实时数据例如是该自动驾驶车辆所处的当前实际场景,并将该实时数据实时输入至该模式切换模型,根据该模式切换模型的输出,来判断应在哪种驾驶模式下进行驾驶。The self-driving vehicle can collect data in real time during the actual automatic driving process, for example, an on-board camera located in the cab of the self-driving vehicle, the left side, the right side mirror, the center rear view mirror, and the like. In the actual automatic driving process of the self-driving vehicle, the shooting is continuously performed, and the corresponding video or image data is captured and acquired. In step S203, the device 1 acquires real-time data collected by the on-board sensor through interaction with the on-board sensor of the self-driving vehicle during the automatic driving of the vehicle, for example, the current actual situation of the self-driving vehicle. The scene is input to the mode switching model in real time, and the output of the model is switched according to the mode to determine which driving mode should be used for driving.
在步骤S204中,装置1根据所述当前实际场景,基于所述模式切换模型,在端对端驾驶模式或循迹驾驶模式中进行切换。In step S204, the device 1 switches in the end-to-end driving mode or the tracking driving mode based on the mode switching model according to the current actual scene.
具体地,在步骤S204中,装置1根据在步骤S203中所获取的该自 动驾驶车辆所处的当前实际场景,将该当前实际场景输入至该模式切换模型,根据该模式切换模型所输出的驾驶模式,在端对端驾驶模式或循迹驾驶模式中进行切换,例如,假设模式切换模型的输出为当前该自动驾驶车辆应启用的驾驶模式编号,0为端对端驾驶模式,1为循迹驾驶模式,则根据输入至该模式切换模型的当前实际场景,该模式切换模型可以输出对应的驾驶模式编号,根据该驾驶模式编号,装置1即可以知道该自动驾驶车辆当前应采用哪种驾驶模式进行自动驾驶。Specifically, in step S204, the device 1 inputs the current actual scene to the mode switching model according to the current actual scene in which the self-driving vehicle is acquired in step S203, and switches the driving output according to the mode switching model. Mode, switch between end-to-end driving mode or tracking driving mode, for example, suppose the output of the mode switching model is the driving mode number that should be enabled for the current driving vehicle, 0 is the end-to-end driving mode, and 1 is the tracking mode. In the driving mode, according to the current actual scene input to the mode switching model, the mode switching model can output a corresponding driving mode number, according to the driving mode number, the device 1 can know which driving mode the autonomous driving vehicle should currently adopt. Perform automatic driving.
例如,原本该自动驾驶车辆正在进行正常的端对端自动驾驶,其上的车载摄像头不断地实时采集视频或图像数据,在步骤S203中,装置1也不断地自该车载摄像头获取该实时采集到的视频或图像数据,并实时输入至该模式切换模型,模式切换模型的输出为端对端驾驶模式,则装置1无须切换该自动驾驶车辆的驾驶模式;此后,该自动驾驶车辆碰到了某个不安全场景,例如,该自动驾驶车辆即将撞上路边的树,其上的车载摄像头仍然不断地实时采集视频或图像数据,在步骤S203中,装置1也仍旧不断地自该车载摄像头获取该实时采集到的视频或图像数据,即,实时获取该自动驾驶车辆的当前实际场景,并实时输入至该模式切换模型,而此时,该模式切换模型的输出为循迹驾驶模式,则在步骤S204中,装置1将该自动驾驶车辆的驾驶模式切换为循迹驾驶模式。For example, the self-driving vehicle is originally performing normal end-to-end automatic driving, and the on-board camera continuously collects video or image data in real time, and in step S203, the device 1 also continuously acquires the real-time acquisition from the on-board camera. Video or image data, and input to the mode switching model in real time, the output of the mode switching model is an end-to-end driving mode, and the device 1 does not need to switch the driving mode of the self-driving vehicle; thereafter, the autonomous vehicle encounters a certain An unsafe scene, for example, the self-driving vehicle is about to hit a tree on the side of the road, and the onboard camera thereon still continuously collects video or image data in real time, and in step S203, the device 1 also continuously acquires the real time from the onboard camera. The captured video or image data, that is, the current actual scene of the self-driving vehicle is acquired in real time, and input to the mode switching model in real time, and at this time, the output of the mode switching model is the tracking driving mode, then in step S204 The device 1 switches the driving mode of the self-driving vehicle to the tracking driving mode.
在此,由于车载传感器是连续不断地采集实时数据,该装置1也是连续不断地获取该实时数据,并输入至模式切换模型进行判断,因此,该装置1可以在该模式切换模型一旦输出的驾驶模式发生变化时,即切换该自动驾驶车辆的驾驶模式;也可以利用多个采集到的实时数据来进行判断,例如,对于一定数量的实时传感器数据,若模式切换模型输出的驾驶模式变化的次数超过预定阈值,则切换该自动驾驶车辆的驾驶模式,以避免少量实时数据可能出现的错误的判断,因此,可以多取一些实时数据来进行判断,以增加判断的准确性。Here, since the on-board sensor continuously collects real-time data, the device 1 also continuously acquires the real-time data and inputs it to the mode switching model for determination. Therefore, the device 1 can switch the model once the driving of the mode is output. When the mode changes, the driving mode of the self-driving vehicle is switched; and the collected real-time data can also be used for judging, for example, for a certain amount of real-time sensor data, if the driving mode of the mode switching model is changed When the predetermined threshold is exceeded, the driving mode of the self-driving vehicle is switched to avoid erroneous judgment that a small amount of real-time data may occur. Therefore, some real-time data may be taken to make a judgment to increase the accuracy of the judgment.
本领域技术人员应能理解,上述切换自动驾驶车辆的驾驶模式的方式仅为举例,其他现有或今后可能出现的切换自动驾驶车辆的驾驶模式 的方式,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。It should be understood by those skilled in the art that the manner of switching the driving mode of the self-driving vehicle is merely an example, and other existing or future possible modes of switching the driving mode of the self-driving vehicle, as applicable to the present invention, should also include It is within the scope of the invention and is hereby incorporated by reference.
在此,装置1获取自动驾驶车辆的车载传感器所采集的传感器数据,其中,所述传感器数据包括所述自动驾驶车辆的安全场景数据和不安全场景数据;将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练模式切换模型;实时获取所述自动驾驶车辆的车载传感器所采集的当前实际场景;根据所述当前实际场景,基于所述模式切换模型,在端对端驾驶模式或循迹驾驶模式中进行切换;当自动驾驶车辆感知到不安全场景时,自动切换到循迹驾驶模式,如果是安全场景,则自动切换到端对端驾驶模式。装置1利用传感器所采集到的安全场景数据和不安全场景数据,训练一个用于在端对端驾驶模式与循迹驾驶模式之前切换的深度学习决策模型,在实际应用中,该模型能够感知到当前实际场景是否安全,做出决策,输出指令在该两种驾驶模式中进行切换。本发明利用深度学习的决策能力自动切换循迹驾驶模式和端对端驾驶模式,训练出有推理决策能力的模型,将循迹驾驶模式与端对端自动驾驶模式自然地融合,大大提高了自动驾驶的安全性。Here, the device 1 acquires sensor data collected by an on-board sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle; and the sensor data is input as an input An end-to-end driving mode or a tracking driving mode as an output, a training mode switching model; real-time acquisition of a current actual scene collected by the onboard sensor of the self-driving vehicle; and according to the current actual scenario, based on the mode switching model, Switching between end-to-end driving mode or tracking driving mode; when the self-driving vehicle senses an unsafe scene, it automatically switches to the tracking driving mode, and if it is a safety scene, it automatically switches to the end-to-end driving mode. The device 1 uses the security scene data and the unsafe scene data collected by the sensor to train a deep learning decision model for switching between the end-to-end driving mode and the tracking driving mode. In practical applications, the model can perceive Whether the current actual scene is safe, makes a decision, and the output command switches between the two driving modes. The invention utilizes the decision-making ability of deep learning to automatically switch the tracking driving mode and the end-to-end driving mode, and trains a model with inference decision-making ability, which naturally integrates the tracking driving mode and the end-to-end automatic driving mode, thereby greatly improving the automatic Driving safety.
优选地,该方法还包括步骤S206(未示出)。在步骤S206中,装置1记录所述自动驾驶车辆在自动驾驶过程中驾驶员的接手行为,获取对应时刻所述车载传感器所采集的传感器修正数据;根据所述传感器修正数据,对所述模式切换模型进行修正。Preferably, the method further comprises a step S206 (not shown). In step S206, the device 1 records the driver's takeover behavior of the self-driving vehicle during the automatic driving process, acquires sensor correction data collected by the onboard sensor at the corresponding time; and switches the mode according to the sensor correction data. The model is revised.
具体地,在自动驾驶车辆的自动驾驶过程中,驾驶员也可以坐在其中辅助进行驾驶,在该自动驾驶车辆发生不恰当的驾驶行为时,驾驶员可以及时进行人工干预对其进行纠正,在步骤S206中,装置1可以记录在该自动驾驶车辆的自动驾驶过程中驾驶员的接手行为,并且,由于该自动驾驶车辆的车载传感器是连续不断地采集传感器数据的,在步骤S206中,装置1还可以获取在驾驶员接手进行人工驾驶该自动驾驶车辆时,该时刻该车载传感器所采集到的传感器数据,在此,为便于描述, 将其称为传感器修正数据,其实际也同样是自动驾驶车辆的车载传感器所采集到的诸如视频、图像或雷达数据等。随后,该装置1可以根据该传感器修正数据,对模式切换模型进行修正。Specifically, in the automatic driving process of the self-driving vehicle, the driver can also sit in the assisting driving, and when the autonomous driving vehicle has an inappropriate driving behavior, the driver can perform manual intervention to correct it in time. In step S206, the device 1 may record the driver's take-off behavior during the automatic driving of the self-driving vehicle, and since the onboard sensor of the self-driving vehicle continuously collects sensor data, in step S206, the device 1 It is also possible to acquire sensor data collected by the onboard sensor at the moment when the driver takes over the manual driving of the self-driving vehicle. Here, for convenience of description, it is referred to as sensor correction data, and the actual is also automatic driving. Information such as video, image or radar data collected by the vehicle's onboard sensors. Subsequently, the device 1 can correct the mode switching model based on the sensor correction data.
例如,对于某个传感器数据,如对于某个被摄物不断接近的视频数据,在训练该模式切换模型时是将其归纳为对应端对端驾驶模式,因此,在该自动驾驶车辆的实际驾驶过程中,假设该自动驾驶车辆的车载传感器同样采集到了某个被摄物不断接近的视频数据,在步骤S203中,装置1获取到了该视频数据,作为该自动驾驶车辆的当前实际场景;随后,在步骤S204中,装置1将该当前实际场景输入至模式切换模型,得到的驾驶模式是端对端驾驶模式,因此,该自动驾驶车辆在端对端驾驶模式下进行自动驾驶;而此时驾驶员发现该当前实际场景实际上是一个不安全场景,因此,该驾驶员接手了该自动驾驶车辆而进行人工驾驶,如接手该自动驾驶车辆的方向盘、刹车或换挡手柄,则在步骤S206中,装置1记录该驾驶员的接手行为,并获取此时车载传感器所采集的传感器修正数据,如此时车载摄像头拍摄到被摄物不再接近而是转换角度远离了,因此,装置1可以判断出该当前实际场景是一个不安全场景,并将该模式切换模型修正为当输入是该当前实际场景时,输出是循迹驾驶模式,则此后,该自动驾驶车辆若仍旧碰上该场景时,可以切换至循迹驾驶模式进行自动驾驶。For example, for a certain sensor data, such as video data that is close to a certain subject, when training the mode switching model, it is summarized into a corresponding end-to-end driving mode, and therefore, the actual driving in the autonomous driving vehicle In the process, it is assumed that the on-board sensor of the self-driving vehicle also collects video data of a certain object that is approaching, and in step S203, the device 1 acquires the video data as the current actual scene of the self-driving vehicle; In step S204, the device 1 inputs the current actual scene to the mode switching model, and the obtained driving mode is an end-to-end driving mode. Therefore, the self-driving vehicle performs automatic driving in the end-to-end driving mode; The player finds that the current actual scene is actually an unsafe scene. Therefore, the driver takes over the self-driving vehicle and performs manual driving, such as taking over the steering wheel, brake or shifting handle of the self-driving vehicle, in step S206. The device 1 records the driver's takeover behavior and acquires the transmission collected by the onboard sensor at this time. Correction data, when the vehicle camera captures that the subject is no longer close, but the conversion angle is far away, therefore, the device 1 can determine that the current actual scene is an unsafe scene, and correct the mode switching model to be input. In the current actual scene, the output is the tracking driving mode, and thereafter, if the self-driving vehicle still touches the scene, it can switch to the tracking driving mode for automatic driving.
在此,在训练好模型之后,装置1随时接收模型的输出指令切换循迹驾驶模式与端对端驾驶模式,在这个过程中,通过记录驾驶员接手行为,指出模型的错误决策,采集对应时刻的传感器数据对模型进行加强训练,使该模型的决策能力越来越好,进一步提高了自动驾驶的安全性。Here, after training the model, the device 1 receives the output command of the model at any time to switch the tracking driving mode and the end-to-end driving mode. In this process, by recording the driver's takeover behavior, indicating the wrong decision of the model, collecting the corresponding moment. The sensor data strengthens the training of the model, making the decision-making ability of the model better and better, and further improving the safety of autonomous driving.
图3示出根据本发明另一个方面的用于驾驶模式切换的装置的结构示意图。3 is a block diagram showing the structure of an apparatus for driving mode switching according to another aspect of the present invention.
装置1包括采集装置301、训练装置302、获取装置303和切换装 置304。该装置1例如位于计算机设备中,该计算机设备例如位于自动驾驶车辆中,也可以是与该自动驾驶车辆通过网络相连接的网络设备,进一步地,该装置1可以部分装置位于网络设备中,部分装置位于自动驾驶车辆中,例如,前述采集装置301和训练装置302位于网络设备中,前述获取装置303和切换装置304位于自动驾驶车辆中。本领域技术人员应能理解,上述装置所处位置仅为举例,其他现有或今后可能出现的装置所处位置,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。The device 1 includes an acquisition device 301, a training device 302, an acquisition device 303, and a switching device 304. The device 1 is, for example, located in a computer device, for example in an autonomous vehicle, or a network device connected to the self-driving vehicle via a network. Further, the device 1 can be partially located in the network device, part of the device The device is located in an autonomous vehicle, for example, the aforementioned acquisition device 301 and training device 302 are located in a network device, and the aforementioned acquisition device 303 and switching device 304 are located in an autonomous vehicle. It should be understood by those skilled in the art that the location of the above device is merely an example, and other existing or future possible devices may be included in the scope of the present invention, and may be included in the scope of the present invention. It is included here by reference.
其中,采集装置301获取自动驾驶车辆的车载传感器所采集的传感器数据,其中,所述传感器数据包括所述自动驾驶车辆的安全场景数据和不安全场景数据。The collection device 301 acquires sensor data collected by an on-board sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle.
具体地,自动驾驶车辆的车载传感器可以采集到对应的不同的传感器数据,这些传感器数据例如是自动驾驶车辆在驾驶过程中的视频数据、图像数据、雷达数据等。在此,这些传感器数据可以是该自动驾驶车辆在自动驾驶过程中被采集的,也可以是该自动驾驶车辆在驾驶员的辅助驾驶过程中被采集的。在此,这些传感器数据可以是该自动驾驶车辆的安全场景数据,即,该自动驾驶车辆在正常的自动驾驶过程或由驾驶员辅助驾驶过程中所采集到的视频数据、图像数据、雷达数据等;也可以是该自动驾驶车辆的不安全场景数据,即,该自动驾驶车辆在自动驾驶过程或由驾驶员辅助驾驶过程中所遇到的不安全的情况,如在发生碰撞、异常加速、异常减速、方向盘打死等情况下车载传感器所采集到的视频数据、图像数据、雷达数据等。Specifically, the on-board sensor of the self-driving vehicle may collect corresponding different sensor data, such as video data, image data, radar data, and the like, of the self-driving vehicle during driving. Here, the sensor data may be collected by the self-driving vehicle during the automatic driving process, or may be collected by the self-driving vehicle during the driver's assisted driving process. Here, the sensor data may be safety scene data of the self-driving vehicle, that is, video data, image data, radar data, etc. collected by the self-driving vehicle during a normal automatic driving process or a driver assisted driving process. It may also be unsafe scene data of the self-driving vehicle, that is, an unsafe situation encountered by the self-driving vehicle during an automatic driving process or assisted driving by the driver, such as in the event of a collision, abnormal acceleration, abnormality Video data, image data, radar data, etc. collected by the on-board sensor in the case of deceleration, steering wheel killing, etc.
采集装置301通过自动驾驶车辆的车载传感器采集上述传感器数据。在此,自动驾驶车辆的车载传感器包括但不限于车载摄像头、车载雷达等。例如,当自动驾驶车辆自动驾驶时,采集装置301通过该自动驾驶车辆的车载摄像头采集各个视角的视频或图像数据。在此,该车载摄像头用来模拟驾驶员的视线与视角,其例如可以位于自动驾驶车辆的驾驶室、左侧、右侧后视镜、中央后视镜等,该车载摄像头例如可以是 双目摄像机。通过该车载摄像头所采集到的视频或图像数据例如可以视作假设该自动驾驶车辆由驾驶员驾驶时,该驾驶员所看到的各种周围景象。随后,若该自动驾驶车辆碰到了某个不安全场景,如突然刹车,采集装置301继续通过该自动驾驶车辆的车载摄像头采集各个视角的视频或图像数据,并保存为不安全场景数据,以供后续模型训练使用。The acquisition device 301 collects the above sensor data by an onboard sensor of the self-driving vehicle. Here, the on-board sensors of the self-driving vehicle include, but are not limited to, an in-vehicle camera, a vehicle-mounted radar, and the like. For example, when the self-driving vehicle is driving automatically, the collecting device 301 collects video or image data of respective viewing angles through the in-vehicle camera of the self-driving vehicle. Here, the in-vehicle camera is used to simulate the driver's line of sight and angle of view, which can be, for example, located in the cab of the self-driving vehicle, the left side, the right side mirror, the center rear view mirror, etc., which can be, for example, binocular Camera. The video or image data collected by the in-vehicle camera can be regarded as, for example, various surrounding scenes that the driver sees when the autonomous vehicle is driven by the driver. Then, if the self-driving vehicle encounters an unsafe scene, such as sudden braking, the collecting device 301 continues to collect video or image data of various viewing angles through the in-vehicle camera of the self-driving vehicle, and saves the data as unsafe scenes for Subsequent model training is used.
在此,该方式例如适用于车辆自动驾驶中的端对端驾驶模式,端对端驾驶模式是指自动驾驶车辆利用车载传感器,如车载摄像头、车载雷达等,感知周围景象来判断如何进行自动驾驶,如判断是踩油门还是踩刹车、判断如何打方向盘等,其车辆自动驾驶的自由度较高;与之相对的是循迹驾驶模式,循迹驾驶模式是指自动驾驶车辆利用高精度GPS获知自身的位置,沿着预设轨迹来进行自动驾驶,虽然相对来讲很安全,但行驶轨迹是固定不变的,没有那么灵活。Here, the method is applicable to, for example, an end-to-end driving mode in automatic driving of a vehicle, and the end-to-end driving mode refers to an autonomous driving vehicle using an in-vehicle sensor, such as an in-vehicle camera, a vehicle-mounted radar, etc., to sense a surrounding scene to determine how to perform automatic driving. If it is judged whether it is stepping on the accelerator or stepping on the brakes, judging how to drive the steering wheel, etc., the degree of freedom of automatic driving of the vehicle is high; the opposite is the tracking driving mode, which is that the self-driving vehicle uses high-precision GPS to know. Its own position, along the preset trajectory for automatic driving, although relatively safe, but the trajectory is fixed, not so flexible.
进一步地,上述端对端驾驶模式或循迹驾驶模式例如是在封闭园区中进行的,在此,封闭园区是指具有有限的路线、有限的物理区域的有限场景,现实中较常见的如港口、停车场、博览会场、校园内部等,当然,该封闭园区也可以进行定制。Further, the above-mentioned end-to-end driving mode or the tracking driving mode is performed, for example, in a closed campus. Here, the closed campus refers to a limited scenario with a limited route and a limited physical area. In reality, a port such as a port is more common. , parking lots, fairs, campus interiors, etc. Of course, the closed park can also be customized.
本领域技术人员应能理解,上述车载传感器仅为举例,其他现有或今后可能出现的车载传感器,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。It should be understood by those skilled in the art that the above-mentioned on-board sensors are merely examples, and other on-board sensors that may be present or may be present in the future, as applicable to the present invention, are also included in the scope of the present invention and are cited herein by way of reference. Included here.
本领域技术人员还应能理解,上述采集传感器数据的方式仅为举例,其他现有或今后可能出现的采集传感器数据的方式,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。Those skilled in the art should also understand that the above manner of collecting sensor data is only an example, and other existing or future possible methods of collecting sensor data, as applicable to the present invention, are also included in the scope of protection of the present invention. It is hereby incorporated by reference.
优选地,所述不安全场景数据由驾驶员故意进行不安全行为而采集。Preferably, the unsafe scene data is collected by the driver intentionally performing unsafe behavior.
具体地,驾驶员可以辅助来驾驶该自动驾驶车辆,当驾驶员采用人工来进行驾驶时,可以故意模拟大量不安全行为,例如故意碰撞、故意突然踩油门加速、突然急踩刹车、方向盘打算等,从而使得该自动驾驶车辆上的车载传感器在面临这些不安全场景时,可以采集到相对应的传 感器数据。例如,对于某个封闭园区,由于在封闭园区中较为安全,因此,驾驶员在该封闭园区中驾驶该自动驾驶车辆时,可以故意模拟大量不安全行为。Specifically, the driver can assist in driving the self-driving vehicle. When the driver uses manual driving, he can deliberately simulate a large number of unsafe behaviors, such as intentional collision, deliberate sudden stepping on the accelerator, sudden sudden braking, steering wheel planning, etc. Therefore, the on-board sensor on the self-driving vehicle can collect corresponding sensor data when facing these unsafe scenes. For example, for a closed park, because it is safer in a closed park, the driver can deliberately simulate a large number of unsafe behaviors when driving the self-driving vehicle in the closed park.
在此,由于训练有素的驾驶员正常驾驶过程中很难产生有效的不安全场景数据,因此,可以利用封闭园区场地小、可操作性强等特点,让驾驶员故意做出各类不安全行为来采集对应的传感器数据。Here, since the trained driver is difficult to generate effective unsafe scene data during the normal driving process, the closed park site can be used with small features and strong operability, so that the driver deliberately makes various types of insecurity. Behavior to collect corresponding sensor data.
例如,驾驶员在该封闭园区辅助驾驶该自动驾驶车辆,并在车辆行驶过程中故意去碰撞路边的树,则该自动驾驶车辆上的车载摄像头可以采集到该车辆碰撞树时的景象,如拍摄到对应视频,该视频中出现路边的树不断接近并最后撞上的画面;或者,该自动驾驶车辆上的车载雷达也可以采集对应的信息,如该车载雷达测量到该树作为障碍物与该车辆之间的距离信息;从而,采集装置301采集这些传感器数据,并可以在随后训练模型过程中使用。For example, if the driver assists in driving the self-driving vehicle in the closed park and deliberately hits the roadside tree during the running of the vehicle, the on-board camera on the self-driving vehicle can collect the scene when the vehicle collides with the tree, such as Shooting a corresponding video in which the roadside tree is approaching and finally hitting the screen; or the onboard radar on the self-driving vehicle can also collect corresponding information, such as the vehicle radar measuring the tree as an obstacle Distance information with the vehicle; thus, the acquisition device 301 collects these sensor data and can be used during subsequent training of the model.
又如,若在该自动驾驶车辆不断接近路边的树的过程中,该驾驶员急踩刹车,则该自动驾驶车辆上的车载摄像头可以采集到对应的景象,如拍摄到对应视频,该视频中出现路边的树先不断接近后减速接近最后静止的画面;或者,该自动驾驶车辆上的车载雷达也可以采集对应的信息,如该车载雷达测量到该树作为障碍物与该车辆之间的距离信息,如该距离不断变短最后不再变化。For another example, if the driver is rushing to brake when the autonomous vehicle is constantly approaching the tree at the roadside, the onboard camera on the self-driving vehicle can collect a corresponding scene, such as capturing a corresponding video, the video. The tree in the roadside first approaches and then decelerates to approach the last still picture; or the onboard radar on the self-driving vehicle can also collect corresponding information, such as the onboard radar measures the tree as an obstacle and the vehicle The distance information, if the distance is getting shorter, does not change at the end.
本领域技术人员应能理解,上述驾驶员故意为之的不安全行为仅为举例,其他现有或今后可能出现的不安全行为,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。It should be understood by those skilled in the art that the above-mentioned intentional unsafe behavior of the driver is merely an example, and other unsafe behaviors that may exist in the future or in the future may be included in the scope of the present invention if applicable to the present invention. And is hereby incorporated by reference.
在此,装置1利用封闭园区区域小,可操作性强的特点,让驾驶员故意模拟大量不安全行为来创造数据,训练一个用于端对端自动驾驶与循迹切换的深度学习决策模型。Here, the device 1 utilizes the characteristics of a small closed park area and high operability, allowing the driver to intentionally simulate a large number of unsafe behaviors to create data, and training a deep learning decision model for end-to-end automatic driving and tracking switching.
训练装置302将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练模式切换模型。The training device 302 takes the sensor data as an input, a corresponding end-to-end driving mode or a tracking driving mode as an output, and a training mode switching model.
具体地,训练装置302将采集装置301采集的传感器数据作为输入, 而这些传感器数据都有对应的驾驶模式,例如,安全场景数据对应端对端驾驶模式,不安全场景数据对应循迹驾驶模式,将该端对端驾驶模式或循迹驾驶模式作为输出,训练模式切换模型。例如,在训练模式切换模型时,输入为传感器数据,输出为当前该自动驾驶车辆应启用的驾驶模式编号,0为端对端驾驶模式,1为循迹驾驶模式。Specifically, the training device 302 takes the sensor data collected by the collection device 301 as an input, and the sensor data has a corresponding driving mode. For example, the security scene data corresponds to the end-to-end driving mode, and the unsafe scene data corresponds to the tracking driving mode. The end-to-end driving mode or the tracking driving mode is used as an output, and the training mode switches the model. For example, when the training mode switches the model, the input is sensor data, and the output is the driving mode number that the current self-driving vehicle should be activated, 0 is the end-to-end driving mode, and 1 is the tracking driving mode.
在此,安全场景数据是该自动驾驶车辆在正常驾驶过程中所采集到的传感器数据,由于采用端对端驾驶模式的自由度较高,因此,在自动驾驶车辆未遇到不安全场景时可以采用端对端驾驶模式来进行驾驶,即,这些安全场景数据可对应端对端驾驶模式;而不安全场景数据是该自动驾驶车辆在驾驶过程中遇到不安全场景时所采集到的传感器数据,由于循迹驾驶模式本身的安全度较高,因此,在车辆遇到不安全场景时可以采用循迹驾驶模式来进行驾驶,即,这些不安全场景数据可对应循迹驾驶模式。Here, the safety scene data is sensor data collected by the self-driving vehicle during normal driving, and since the degree of freedom of adopting the end-to-end driving mode is high, when the autonomous vehicle does not encounter an unsafe scene, The end-to-end driving mode is used for driving, that is, the safety scene data can correspond to the end-to-end driving mode; the unsafe scene data is the sensor data collected when the self-driving vehicle encounters an unsafe scene during driving. Since the tracking driving mode itself has a high degree of safety, the driving mode can be adopted when the vehicle encounters an unsafe scene, that is, the unsafe scene data can correspond to the tracking driving mode.
在此,该模式切换模型例如可以是一个简单的分类模型,其可以通过现有的对分类模型的训练方式来训练得到,例如,在此,已知自动驾驶车辆是在安全场景下所采集到的传感器数据还是在不安全场景下所采集到的传感器数据,并且已知安全场景下所采集到的传感器数据对应的是端对端驾驶模式,不安全场景下所采集到的传感器数据对应的是循迹驾驶模式,据此来通过各个分类输入得到各个分类输出,例如,在此,输入为传感器数据,输出为当前该自动驾驶车辆应启用的驾驶模式编号,0为端对端驾驶模式,1为循迹驾驶模式,从而训练该模式切换模型;在该模式切换模型训练完成之后,可以对不同的传感器数据进行分类,如当采集装置301通过车载摄像头采集到的是视频数据时,场景分析模型根据该视频数据,先确实是安全场景数据还是不安全场景数据,并据此确定对应的驾驶模式是端对端驾驶模式还是循迹驾驶模式。Here, the mode switching model may be, for example, a simple classification model, which can be trained by the existing training method for the classification model. For example, here, it is known that the self-driving vehicle is collected in a security scene. The sensor data is also the sensor data collected in an insecure scenario, and the sensor data collected in the known security scenario corresponds to the end-to-end driving mode. The sensor data collected in the unsafe scenario corresponds to According to the tracking driving mode, each classification output is obtained through each classification input. For example, here, the input is sensor data, and the output is the driving mode number that the current self-driving vehicle should be activated, and 0 is the end-to-end driving mode, 1 The tracking mode is trained to train the mode switching model; after the mode switching model training is completed, different sensor data can be classified, such as when the collecting device 301 collects video data through the vehicle camera, the scene analysis model According to the video data, whether it is security scene data or unsafe scene first It is, and accordingly determine the corresponding driving mode is the driving mode or end to end tracking driving mode.
本领域技术人员应能理解,上述训练模式切换模型的方式仅为举例,其他现有或今后可能出现的训练模式切换模型的方式,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于 此。Those skilled in the art should understand that the manner of the above training mode switching model is only an example, and other existing or future training mode switching models may be applicable to the present invention and should also be included in the protection scope of the present invention. And is hereby incorporated by reference.
优选地,训练装置302建立卷积神经网络模型,将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。Preferably, the training device 302 establishes a convolutional neural network model with the sensor data as an input, the corresponding end-to-end driving mode or the tracking driving mode as an output, training the mode switching model.
具体地,训练装置302建立卷积神经网络模型,将采集装置301采集的传感器数据作为输入,对应的驾驶模式作为输出,例如,安全场景数据作为输入,对应的端对端驾驶模式则作为输出,不安全场景数据作为输入,对应的循迹驾驶模式则作为输出,从而训练模式切换模型。例如,在训练模式切换模型时,将模式切换模型的输出定为当前该自动驾驶车辆应启用的驾驶模式编号,0为端对端驾驶模式,1为循迹驾驶模式,则在安全场景数据作为输入时,输出为0,不安全场景数据作为输入时,输出为1。Specifically, the training device 302 establishes a convolutional neural network model, and takes the sensor data collected by the acquisition device 301 as an input, and the corresponding driving mode as an output, for example, the security scene data as an input, and the corresponding end-to-end driving mode as an output. The unsafe scene data is taken as an input, and the corresponding tracking driving mode is used as an output, thereby training the mode switching model. For example, when the training mode switches the model, the output of the mode switching model is determined as the driving mode number that the autonomous driving vehicle should be currently activated, 0 is the end-to-end driving mode, and 1 is the tracking driving mode, and the safety scene data is used as When input, the output is 0, and when the unsafe scene data is used as an input, the output is 1.
更优选地,训练装置302在所述卷积神经网络模型的每两层卷积层中加入负反馈层,每三层卷积层中加入dropout层。More preferably, the training device 302 adds a negative feedback layer to each of the two convolutional layers of the convolutional neural network model, and a dropout layer is added to each of the three convolutional layers.
具体地,训练装置302在训练模式切换模型时,建立卷积神经网络模型,并且,在该卷积神经网络模型的每两层卷积层中加入负反馈层,从而增强该卷积神经网络模型的推理能力,并在该卷积神经网络模型的每三层卷积层中加入dropout层,从而增强该卷积神经网络模型的泛化能力。Specifically, the training device 302 establishes a convolutional neural network model when training the mode switching model, and adds a negative feedback layer to each two-layer convolutional layer of the convolutional neural network model, thereby enhancing the convolutional neural network model. The reasoning ability, and the dropout layer is added to each three-layer convolutional layer of the convolutional neural network model, thereby enhancing the generalization ability of the convolutional neural network model.
优选地,所获取的车载传感器所采集的传感器数据分为测试集与训练集;其中,训练装置302将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。Preferably, the acquired sensor data collected by the on-vehicle sensor is divided into a test set and a training set; wherein the training device 302 takes the training set as an input, and the corresponding end-to-end driving mode or the tracking driving mode as an output, training The mode switches the model.
具体地,车载传感器所采集的传感器数据可以分为测试集和训练集,该分类的方式可以不做任何限制,例如仅从数量方面考虑即可;其中,该训练集用来训练模式切换模型,测试集则用来测试训练好的模式切换模型。例如,训练装置302将训练集作为输入,训练集中同样也包括安全场景数据和不安全场景数据,训练装置302将这些安全场景数据和不安全场景数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作 为输出,训练该模式切换模型。Specifically, the sensor data collected by the on-board sensor can be divided into a test set and a training set, and the manner of the classification can be performed without any limitation, for example, only in terms of quantity; wherein the training set is used to train the mode switching model, The test set is used to test the trained mode switching model. For example, the training device 302 takes the training set as an input, and the training set also includes the security scene data and the unsafe scene data. The training device 302 takes the security scene data and the unsafe scene data as inputs, and the corresponding end-to-end driving mode or The track driving mode is used as an output to train the mode switching model.
更优选地,训练装置302将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练获得多个候选切换模型;其中,该装置1还包括选择装置(未示出),选择装置根据所述测试集,自所述多个候选切换模型中选择确定所述模式切换模型。More preferably, the training device 302 takes the training set as an input, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and the training obtains a plurality of candidate switching models; wherein the device 1 further includes a selecting device (not shown) And the selecting means selects and determines the mode switching model from the plurality of candidate switching models according to the test set.
具体地,训练装置302将车载传感器所采集的传感器数据的训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,可以训练获得多个候选切换模型,例如,随着时间的推进,模型不断得到训练,期间可以获得多个候选切换模型;随后,选择装置根据车载传感器所采集的传感器数据的测试集,对这多个候选切换模型进行测试,例如,该测试集中同样也包括安全场景数据和不安全场景数据,将测试集中的安全场景数据输入至候选切换模型,检验其输出是否是端对端驾驶模式,将测试集中的不安全场景数据输入至候选切换模型,检验其输出是否是循迹驾驶模式,从而自该多个候选切换模型中选择确定最终的模式切换模型。Specifically, the training device 302 takes as input the training set of the sensor data collected by the onboard sensor, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and can train to obtain a plurality of candidate switching models, for example, over time. Advancing, the model is continuously trained, and multiple candidate switching models can be obtained during the process; then, the selecting device tests the plurality of candidate switching models according to the test set of the sensor data collected by the onboard sensors, for example, the test set also includes Security scene data and unsafe scene data, input the security scene data in the test set to the candidate switching model, verify whether the output is an end-to-end driving mode, input the unsafe scene data in the test set to the candidate switching model, and verify the output. Whether it is a tracking driving mode, thereby selecting and determining a final mode switching model from the plurality of candidate switching models.
本领域技术人员应能理解,上述确定模式切换模型的方式仅为举例,其他现有或今后可能出现的确定模式切换模型的方式,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。It should be understood by those skilled in the art that the manner of determining the mode switching model is merely an example, and other existing or future possible methods for determining the mode switching model, as applicable to the present invention, should also be included in the scope of the present invention. And is hereby incorporated by reference.
其中,该装置1还包括获取装置303和切换装置304。The device 1 further includes an obtaining device 303 and a switching device 304.
获取装置303实时获取所述自动驾驶车辆的车载传感器所采集的当前实际场景。The obtaining device 303 acquires the current actual scene collected by the onboard sensor of the self-driving vehicle in real time.
具体地,前述采集装置301和训练装置302是对模式切换模型的训练,属于前期工作,而在该模式切换模型训练完成之后,该自动驾驶车辆在实际自动驾驶过程中可以应用该模式切换模型,从而判断是在端对端驾驶模式下进行自动驾驶还是在循迹驾驶模式下进行自动驾驶。Specifically, the foregoing collecting device 301 and the training device 302 are trainings for the mode switching model, and belong to the preliminary work, and after the mode switching model training is completed, the automatic driving vehicle can apply the mode switching model during the actual automatic driving process. It is thus judged whether the automatic driving is performed in the end-to-end driving mode or the automatic driving in the tracking driving mode.
该自动驾驶车辆在实际自动驾驶过程中,其上的车载传感器可以实时地采集数据,例如,位于自动驾驶车辆的驾驶室、左侧、右侧后视镜、 中央后视镜等位置的车载摄像头,在自动驾驶车辆实际自动驾驶过程中,不断地进行拍摄,捕捉、采集对应的视频或图像数据。获取装置303在车辆自动驾驶过程中,通过与该自动驾驶车辆的车载传感器的交互,获取该车载传感器所采集的实时数据,该实时数据例如是该自动驾驶车辆所处的当前实际场景,并将该实时数据实时输入至该模式切换模型,根据该模式切换模型的输出,来判断应在哪种驾驶模式下进行驾驶。The self-driving vehicle can collect data in real time during the actual automatic driving process, for example, an on-board camera located in the cab of the self-driving vehicle, the left side, the right side mirror, the center rear view mirror, and the like. In the actual automatic driving process of the self-driving vehicle, the shooting is continuously performed, and the corresponding video or image data is captured and acquired. The obtaining device 303 acquires real-time data collected by the on-board sensor through interaction with the on-vehicle sensor of the self-driving vehicle during the automatic driving of the vehicle, for example, the current actual scene in which the self-driving vehicle is located, and The real-time data is input to the mode switching model in real time, and the output of the model is switched according to the mode to determine which driving mode should be driven.
切换装置304根据所述当前实际场景,基于所述模式切换模型,在端对端驾驶模式或循迹驾驶模式中进行切换。The switching device 304 switches between the end-to-end driving mode or the tracking driving mode based on the current mode, based on the mode switching model.
具体地,切换装置304根据获取装置303所获取的该自动驾驶车辆所处的当前实际场景,将该当前实际场景输入至该模式切换模型,根据该模式切换模型所输出的驾驶模式,在端对端驾驶模式或循迹驾驶模式中进行切换,例如,假设模式切换模型的输出为当前该自动驾驶车辆应启用的驾驶模式编号,0为端对端驾驶模式,1为循迹驾驶模式,则根据输入至该模式切换模型的当前实际场景,该模式切换模型可以输出对应的驾驶模式编号,根据该驾驶模式编号,切换装置304即可以知道该自动驾驶车辆当前应采用哪种驾驶模式进行自动驾驶。Specifically, the switching device 304 inputs the current actual scene to the mode switching model according to the current actual scene where the automatically driving vehicle is acquired by the acquiring device 303, and switches the driving mode output by the model according to the mode. Switching between the end driving mode or the tracking driving mode, for example, assuming that the output of the mode switching model is the driving mode number that the current self-driving vehicle should be activated, 0 is the end-to-end driving mode, and 1 is the tracking driving mode, according to Inputting to the current actual scene of the mode switching model, the mode switching model may output a corresponding driving mode number, and according to the driving mode number, the switching device 304 may know which driving mode the autonomous driving vehicle should currently use for automatic driving.
例如,原本该自动驾驶车辆正在进行正常的端对端自动驾驶,其上的车载摄像头不断地实时采集视频或图像数据,获取装置303也不断地自该车载摄像头获取该实时采集到的视频或图像数据,并实时输入至该模式切换模型,模式切换模型的输出为端对端驾驶模式,则切换装置304无须切换该自动驾驶车辆的驾驶模式;此后,该自动驾驶车辆碰到了某个不安全场景,例如,该自动驾驶车辆即将撞上路边的树,其上的车载摄像头仍然不断地实时采集视频或图像数据,获取装置303也仍旧不断地自该车载摄像头获取该实时采集到的视频或图像数据,即,实时获取该自动驾驶车辆的当前实际场景,并实时输入至该模式切换模型,而此时,该模式切换模型的输出为循迹驾驶模式,则切换装置304将该自动驾驶车辆的驾驶模式切换为循迹驾驶模式。For example, the self-driving vehicle is originally undergoing normal end-to-end automatic driving, the onboard camera thereon continuously collects video or image data in real time, and the acquisition device 303 continuously acquires the real-time captured video or image from the onboard camera. Data, and input to the mode switching model in real time, the output of the mode switching model is an end-to-end driving mode, and the switching device 304 does not need to switch the driving mode of the self-driving vehicle; thereafter, the autonomous driving vehicle encounters an unsafe scene For example, the self-driving vehicle is about to hit a tree on the side of the road, and the on-board camera thereon still continuously collects video or image data in real time, and the acquisition device 303 also continuously acquires the real-time collected video or image data from the on-board camera. That is, the current actual scene of the self-driving vehicle is acquired in real time and input to the mode switching model in real time, and at this time, the output of the mode switching model is the tracking driving mode, and the switching device 304 drives the self-driving vehicle. The mode is switched to the tracking driving mode.
在此,由于车载传感器是连续不断地采集实时数据,该获取装置303 也是连续不断地获取该实时数据,并输入至模式切换模型进行判断,因此,该切换装置304可以在该模式切换模型一旦输出的驾驶模式发生变化时,即切换该自动驾驶车辆的驾驶模式;也可以利用多个采集到的实时数据来进行判断,例如,对于一定数量的实时传感器数据,若模式切换模型输出的驾驶模式变化的次数超过预定阈值,则切换该自动驾驶车辆的驾驶模式,以避免少量实时数据可能出现的错误的判断,因此,可以多取一些实时数据来进行判断,以增加判断的准确性。Here, since the on-board sensor continuously collects real-time data, the acquisition device 303 also continuously acquires the real-time data and inputs it to the mode switching model for determination. Therefore, the switching device 304 can switch the model in the mode once output. When the driving mode changes, the driving mode of the self-driving vehicle is switched; and the collected real-time data can also be used for judging, for example, for a certain amount of real-time sensor data, if the driving mode of the mode switching model is changed If the number of times exceeds a predetermined threshold, the driving mode of the self-driving vehicle is switched to avoid a erroneous judgment that a small amount of real-time data may occur. Therefore, some real-time data may be taken to make a judgment to increase the accuracy of the judgment.
本领域技术人员应能理解,上述切换自动驾驶车辆的驾驶模式的方式仅为举例,其他现有或今后可能出现的切换自动驾驶车辆的驾驶模式的方式,如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用的方式包含于此。It should be understood by those skilled in the art that the manner of switching the driving mode of the self-driving vehicle is merely an example, and other existing or future possible modes of switching the driving mode of the self-driving vehicle, as applicable to the present invention, should also include It is within the scope of the invention and is hereby incorporated by reference.
在此,装置1获取自动驾驶车辆的车载传感器所采集的传感器数据,其中,所述传感器数据包括所述自动驾驶车辆的安全场景数据和不安全场景数据;将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练模式切换模型;实时获取所述自动驾驶车辆的车载传感器所采集的当前实际场景;根据所述当前实际场景,基于所述模式切换模型,在端对端驾驶模式或循迹驾驶模式中进行切换;当自动驾驶车辆感知到不安全场景时,自动切换到循迹驾驶模式,如果是安全场景,则自动切换到端对端驾驶模式。装置1利用传感器所采集到的安全场景数据和不安全场景数据,训练一个用于在端对端驾驶模式与循迹驾驶模式之前切换的深度学习决策模型,在实际应用中,该模型能够感知到当前实际场景是否安全,做出决策,输出指令在该两种驾驶模式中进行切换。本发明利用深度学习的决策能力自动切换循迹驾驶模式和端对端驾驶模式,训练出有推理决策能力的模型,将循迹驾驶模式与端对端自动驾驶模式自然地融合,大大提高了自动驾驶的安全性。Here, the device 1 acquires sensor data collected by an on-board sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle; and the sensor data is input as an input An end-to-end driving mode or a tracking driving mode as an output, a training mode switching model; real-time acquisition of a current actual scene collected by the onboard sensor of the self-driving vehicle; and according to the current actual scenario, based on the mode switching model, Switching between end-to-end driving mode or tracking driving mode; when the self-driving vehicle senses an unsafe scene, it automatically switches to the tracking driving mode, and if it is a safety scene, it automatically switches to the end-to-end driving mode. The device 1 uses the security scene data and the unsafe scene data collected by the sensor to train a deep learning decision model for switching between the end-to-end driving mode and the tracking driving mode. In practical applications, the model can perceive Whether the current actual scene is safe, makes a decision, and the output command switches between the two driving modes. The invention utilizes the decision-making ability of deep learning to automatically switch the tracking driving mode and the end-to-end driving mode, and trains a model with inference decision-making ability, which naturally integrates the tracking driving mode and the end-to-end automatic driving mode, thereby greatly improving the automatic Driving safety.
优选地,该装置1还包括修正装置(未示出)。修正装置记录所述自动驾驶车辆在自动驾驶过程中驾驶员的接手行为,获取对应时刻所述 车载传感器所采集的传感器修正数据;根据所述传感器修正数据,对所述模式切换模型进行修正。Preferably, the device 1 further comprises a correction device (not shown). The correction device records the driver's takeover behavior of the self-driving vehicle during the automatic driving process, acquires sensor correction data collected by the onboard sensor at the corresponding time; and corrects the mode switching model according to the sensor correction data.
具体地,在自动驾驶车辆的自动驾驶过程中,驾驶员也可以坐在其中辅助进行驾驶,在该自动驾驶车辆发生不恰当的驾驶行为时,驾驶员可以及时进行人工干预对其进行纠正,修正装置可以记录在该自动驾驶车辆的自动驾驶过程中驾驶员的接手行为,并且,由于该自动驾驶车辆的车载传感器是连续不断地采集传感器数据的,修正装置还可以获取在驾驶员接手进行人工驾驶该自动驾驶车辆时,该时刻该车载传感器所采集到的传感器数据,在此,为便于描述,将其称为传感器修正数据,其实际也同样是自动驾驶车辆的车载传感器所采集到的诸如视频、图像或雷达数据等。随后,该修正装置可以根据该传感器修正数据,对模式切换模型进行修正。Specifically, in the automatic driving process of the self-driving vehicle, the driver can also sit in the assisting driving, and when the autonomous driving vehicle has an inappropriate driving behavior, the driver can perform manual intervention to correct it and correct the correction. The device may record the driver's takeover behavior during the automatic driving of the self-driving vehicle, and since the onboard sensor of the self-driving vehicle continuously collects sensor data, the correction device may also acquire the manual driving when the driver takes over In the case of the self-driving vehicle, the sensor data collected by the on-vehicle sensor at this time is referred to herein as sensor correction data for convenience of description, and the actual is also the video collected by the on-board sensor of the self-driving vehicle. , image or radar data, etc. Subsequently, the correction device can correct the mode switching model based on the sensor correction data.
例如,对于某个传感器数据,如对于某个被摄物不断接近的视频数据,在训练该模式切换模型时是将其归纳为对应端对端驾驶模式,因此,在该自动驾驶车辆的实际驾驶过程中,假设该自动驾驶车辆的车载传感器同样采集到了某个被摄物不断接近的视频数据,获取装置303获取到了该视频数据,作为该自动驾驶车辆的当前实际场景;随后,切换装置304将该当前实际场景输入至模式切换模型,得到的驾驶模式是端对端驾驶模式,因此,该自动驾驶车辆在端对端驾驶模式下进行自动驾驶;而此时驾驶员发现该当前实际场景实际上是一个不安全场景,因此,该驾驶员接手了该自动驾驶车辆而进行人工驾驶,如接手该自动驾驶车辆的方向盘、刹车或换挡手柄,则修正装置记录该驾驶员的接手行为,并获取此时车载传感器所采集的传感器修正数据,如此时车载摄像头拍摄到被摄物不再接近而是转换角度远离了,因此,修正装置可以判断出该当前实际场景是一个不安全场景,并将该模式切换模型修正为当输入是该当前实际场景时,输出是循迹驾驶模式,则此后,该自动驾驶车辆若仍旧碰上该场景时,可以切换至循迹驾驶模式进行自动驾驶。For example, for a certain sensor data, such as video data that is close to a certain subject, when training the mode switching model, it is summarized into a corresponding end-to-end driving mode, and therefore, the actual driving in the autonomous driving vehicle In the process, it is assumed that the on-board sensor of the self-driving vehicle also collects video data of a certain object that is approaching, and the acquisition device 303 acquires the video data as the current actual scene of the self-driving vehicle; subsequently, the switching device 304 will The current actual scene is input to the mode switching model, and the obtained driving mode is an end-to-end driving mode. Therefore, the self-driving vehicle performs automatic driving in the end-to-end driving mode; at this time, the driver finds that the current actual scene actually Is an unsafe scene, therefore, the driver takes over the self-driving vehicle and performs manual driving. If the driver takes over the steering wheel, brake or shifting handle of the self-driving vehicle, the correcting device records the driver's take-over behavior and obtains At this time, the sensor correction data collected by the on-board sensor, so the vehicle The image capturing head is no longer close to the subject but the conversion angle is far away. Therefore, the correcting device can determine that the current actual scene is an unsafe scene, and correct the mode switching model to be when the input is the current actual scene. The output is in the tracking driving mode. After that, if the self-driving vehicle still touches the scene, it can switch to the tracking driving mode for automatic driving.
在此,在训练好模型之后,装置1随时接收模型的输出指令切换 循迹驾驶模式与端对端驾驶模式,在这个过程中,通过记录驾驶员接手行为,指出模型的错误决策,采集对应时刻的传感器数据对模型进行加强训练,使该模型的决策能力越来越好,进一步提高了自动驾驶的安全性。Here, after training the model, the device 1 receives the output command of the model at any time to switch the tracking driving mode and the end-to-end driving mode. In this process, by recording the driver's takeover behavior, indicating the wrong decision of the model, collecting the corresponding moment. The sensor data strengthens the training of the model, making the decision-making ability of the model better and better, and further improving the safety of autonomous driving.
本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机代码,当所述计算机代码被执行时,如前任一项所述的方法被执行。The present invention also provides a computer readable storage medium storing computer code, the method of any of which is performed when the computer code is executed.
本发明还提供了一种计算机程序产品,当所述计算机程序产品被计算机设备执行时,如前任一项所述的方法被执行。The invention also provides a computer program product, the method of any of the preceding one being performed when the computer program product is executed by a computer device.
本发明还提供了一种计算机设备,所述计算机设备包括:The invention also provides a computer device, the computer device comprising:
一个或多个处理器;One or more processors;
存储器,用于存储一个或多个计算机程序;a memory for storing one or more computer programs;
当所述一个或多个计算机程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如前任一项所述的方法。When the one or more computer programs are executed by the one or more processors, the one or more processors are caused to implement the method of any of the preceding.
需要注意的是,本发明可在软件和/或软件与硬件的组合体中被实施,例如,本发明的各个装置可采用专用集成电路(ASIC)或任何其他类似硬件设备来实现。在一个实施例中,本发明的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本发明的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本发明的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present invention can be implemented in software and/or a combination of software and hardware. For example, the various devices of the present invention can be implemented using an application specific integrated circuit (ASIC) or any other similar hardware device. In one embodiment, the software program of the present invention may be executed by a processor to implement the steps or functions described above. Likewise, the software program (including related data structures) of the present invention can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like. Additionally, some of the steps or functions of the present invention may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和 范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It is apparent to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, and the present invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the invention is defined by the appended claims instead All changes in the meaning and scope of equivalent elements are included in the present invention. Any reference signs in the claims should not be construed as limiting the claim. In addition, it is to be understood that the word "comprising" does not exclude other elements or steps. A plurality of units or devices recited in the system claims can also be implemented by a unit or device by software or hardware. The first, second, etc. words are used to denote names and do not denote any particular order.

Claims (15)

  1. 一种用于驾驶模式切换的方法,其中,该方法包括:A method for driving mode switching, wherein the method comprises:
    a获取自动驾驶车辆的车载传感器所采集的传感器数据,其中,所述传感器数据包括所述自动驾驶车辆的安全场景数据和不安全场景数据;a acquiring sensor data collected by an onboard sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle;
    b将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练模式切换模型;b taking the sensor data as an input, corresponding end-to-end driving mode or tracking driving mode as an output, training mode switching model;
    其中,该方法还包括:Wherein, the method further comprises:
    x实时获取所述自动驾驶车辆的车载传感器所采集的当前实际场景;x acquiring the current actual scene collected by the onboard sensor of the self-driving vehicle in real time;
    y根据所述当前实际场景,基于所述模式切换模型,在端对端驾驶模式或循迹驾驶模式中进行切换。y switching according to the current actual scenario, based on the mode switching model, in an end-to-end driving mode or a tracking driving mode.
  2. 根据权利要求1所述的方法,其中,所述步骤b包括:The method of claim 1 wherein said step b comprises:
    建立卷积神经网络模型,将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。A convolutional neural network model is established, and the sensor data is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
  3. 根据权利要求2所述的方法,其中,在所述卷积神经网络模型的每两层卷积层中加入负反馈层,每三层卷积层中加入dropout层。The method of claim 2, wherein a negative feedback layer is added to each of the two convolutional layers of the convolutional neural network model, and a dropout layer is added to each of the three convolutional layers.
  4. 根据权利要求1至3中任一项所述的方法,其中,所获取的车载传感器所采集的传感器数据分为测试集与训练集;The method according to any one of claims 1 to 3, wherein the acquired sensor data collected by the on-vehicle sensor is divided into a test set and a training set;
    其中,所述步骤b包括:Wherein the step b comprises:
    将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。The training set is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
  5. 根据权利要求4所述的方法,其中,所述步骤b包括:The method of claim 4 wherein said step b comprises:
    将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练获得多个候选切换模型;Taking the training set as an input, and corresponding end-to-end driving mode or tracking driving mode as an output, training obtains a plurality of candidate switching models;
    其中,该方法还包括:Wherein, the method further comprises:
    根据所述测试集,自所述多个候选切换模型中选择确定所述模式切 换模型。Determining the mode switching model from the plurality of candidate switching models based on the test set.
  6. 根据权利要求1至5中任一项所述的方法,其中,该方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises:
    记录所述自动驾驶车辆在自动驾驶过程中驾驶员的接手行为,获取对应时刻所述车载传感器所采集的传感器修正数据;Recording the driver's takeover behavior of the self-driving vehicle during the automatic driving process, and acquiring sensor correction data collected by the onboard sensor at the corresponding time;
    根据所述传感器修正数据,对所述模式切换模型进行修正。The mode switching model is corrected based on the sensor correction data.
  7. 一种用于驾驶模式切换的装置,其中,该装置包括:A device for driving mode switching, wherein the device comprises:
    采集装置,用于获取自动驾驶车辆的车载传感器所采集的传感器数据,其中,所述传感器数据包括所述自动驾驶车辆的安全场景数据和不安全场景数据;a collecting device, configured to acquire sensor data collected by an onboard sensor of the self-driving vehicle, wherein the sensor data includes safety scene data and unsafe scene data of the self-driving vehicle;
    训练装置,用于将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练模式切换模型;a training device, configured to use the sensor data as an input, and the corresponding end-to-end driving mode or the tracking driving mode as an output, and the training mode switching model;
    其中,该装置还包括:Wherein, the device further comprises:
    获取装置,用于实时获取所述自动驾驶车辆的车载传感器所采集的当前实际场景;Obtaining means for acquiring the current actual scene collected by the onboard sensor of the self-driving vehicle in real time;
    切换装置,用于根据所述当前实际场景,基于所述模式切换模型,在端对端驾驶模式或循迹驾驶模式中进行切换。And a switching device, configured to switch in an end-to-end driving mode or a tracking driving mode based on the mode switching model according to the current actual scenario.
  8. 根据权利要求7所述的装置,其中,所述训练装置用于:The device of claim 7 wherein said training device is for:
    建立卷积神经网络模型,将所述传感器数据作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。A convolutional neural network model is established, and the sensor data is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
  9. 根据权利要求8所述的装置,其中,在所述卷积神经网络模型的每两层卷积层中加入负反馈层,每三层卷积层中加入dropout层。The apparatus according to claim 8, wherein a negative feedback layer is added to each of the two convolutional layers of the convolutional neural network model, and a dropout layer is added to each of the three convolutional layers.
  10. 根据权利要求7至9中任一项所述的装置,其中,所获取的车载传感器所采集的传感器数据分为测试集与训练集;The apparatus according to any one of claims 7 to 9, wherein the acquired sensor data collected by the on-vehicle sensor is divided into a test set and a training set;
    其中,所述训练装置用于:Wherein the training device is used to:
    将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练所述模式切换模型。The training set is taken as an input, and the corresponding end-to-end driving mode or the tracking driving mode is output as an output, and the mode switching model is trained.
  11. 根据权利要求10所述的装置,其中,所述训练装置用于:The device of claim 10 wherein said training device is for:
    将所述训练集作为输入,对应的端对端驾驶模式或循迹驾驶模式作为输出,训练获得多个候选切换模型;Taking the training set as an input, and corresponding end-to-end driving mode or tracking driving mode as an output, training obtains a plurality of candidate switching models;
    其中,该装置还包括:Wherein, the device further comprises:
    选择装置,用于根据所述测试集,自所述多个候选切换模型中选择确定所述模式切换模型。And a selecting means, configured to determine the mode switching model from the plurality of candidate switching models according to the test set.
  12. 根据权利要求7至11中任一项所述的装置,其中,该装置还包括修正装置,用于:A device according to any one of claims 7 to 11, wherein the device further comprises correction means for:
    记录所述自动驾驶车辆在自动驾驶过程中驾驶员的接手行为,获取对应时刻所述车载传感器所采集的传感器修正数据;Recording the driver's takeover behavior of the self-driving vehicle during the automatic driving process, and acquiring sensor correction data collected by the onboard sensor at the corresponding time;
    根据所述传感器修正数据,对所述模式切换模型进行修正。The mode switching model is corrected based on the sensor correction data.
  13. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机代码,当所述计算机代码被执行时,如权利要求1至6中任一项所述的方法被执行。A computer readable storage medium storing computer code, the method of any one of claims 1 to 6 being executed when the computer code is executed.
  14. 一种计算机程序产品,当所述计算机程序产品被计算机设备执行时,如权利要求1至6中任一项所述的方法被执行。A computer program product, when the computer program product is executed by a computer device, the method of any one of claims 1 to 6 being performed.
  15. 一种计算机设备,所述计算机设备包括:A computer device, the computer device comprising:
    一个或多个处理器;One or more processors;
    存储器,用于存储一个或多个计算机程序;a memory for storing one or more computer programs;
    当所述一个或多个计算机程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1至6中任一项所述的方法。When the one or more computer programs are executed by the one or more processors, the one or more processors are caused to implement the method of any one of claims 1 to 6.
PCT/CN2018/093357 2017-09-05 2018-06-28 Method and device for switching driving modes WO2019047596A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710792452.1A CN107564363B (en) 2017-09-05 2017-09-05 A kind of method and apparatus for driving mode switching
CN201710792452.1 2017-09-05

Publications (1)

Publication Number Publication Date
WO2019047596A1 true WO2019047596A1 (en) 2019-03-14

Family

ID=60979111

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/093357 WO2019047596A1 (en) 2017-09-05 2018-06-28 Method and device for switching driving modes

Country Status (2)

Country Link
CN (1) CN107564363B (en)
WO (1) WO2019047596A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112052956A (en) * 2020-07-16 2020-12-08 山东派蒙机电技术有限公司 Training method for strengthening best action of vehicle execution
CN112331034A (en) * 2020-11-13 2021-02-05 重庆交通大学 High-speed train driver monitoring and assisting system
DE102022001383A1 (en) 2022-04-22 2023-10-26 Mercedes-Benz Group AG Vehicle and method for issuing recommendations to a person driving the vehicle to take over control of the vehicle

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491073B (en) * 2017-09-05 2021-04-02 百度在线网络技术(北京)有限公司 Data training method and device for unmanned vehicle
CN107564363B (en) * 2017-09-05 2019-11-05 百度在线网络技术(北京)有限公司 A kind of method and apparatus for driving mode switching
KR102496654B1 (en) * 2018-02-21 2023-02-07 현대자동차주식회사 Apparatus and method for controlling driving mode change of vehicle, vehicle system
CN108446727B (en) * 2018-03-09 2021-09-21 上海安亭地平线智能交通技术有限公司 Driving behavior decision method and system and electronic equipment
CN108549911B (en) * 2018-04-18 2020-11-03 清华大学 Driver steering intervention identification method based on neural network
CN108635861B (en) 2018-05-18 2022-04-22 腾讯科技(深圳)有限公司 Method, device and equipment for controlling vehicle in application and storage medium
CN108891415A (en) * 2018-07-18 2018-11-27 上海蓥石汽车技术有限公司 It is a kind of that the control device of a variety of vehicle mode selections is provided
CN108984275A (en) * 2018-08-27 2018-12-11 洛阳中科龙网创新科技有限公司 The agricultural driver training method of Intelligent unattended based on Unity3D and depth enhancing study
CN109795505A (en) 2018-12-10 2019-05-24 北京百度网讯科技有限公司 Automatic Pilot method of discrimination, device, computer equipment and storage medium
CN109858369A (en) 2018-12-29 2019-06-07 百度在线网络技术(北京)有限公司 Automatic Pilot method and apparatus
CN109866772B (en) * 2019-01-28 2020-08-04 重庆邮电大学 Variable structure control method for man-machine cooperative driving of intelligent vehicle
US11372404B2 (en) * 2019-02-22 2022-06-28 Qualcomm Incorporated Systems and methods for adaptive model processing
CN110263709B (en) * 2019-06-19 2021-07-16 百度在线网络技术(北京)有限公司 Driving decision mining method and device
CN110428693B (en) * 2019-07-31 2021-08-24 驭势科技(北京)有限公司 User driving habit training method, training module, vehicle-mounted device and storage medium
CN110737260B (en) * 2019-08-29 2022-02-11 南京智慧光信息科技研究院有限公司 Automatic operation method based on big data and artificial intelligence and robot system
CN110654314A (en) * 2019-09-30 2020-01-07 浙江鸿泉车联网有限公司 Deep learning-based automatic rearview mirror adjusting method and device
CN110930811B (en) * 2019-11-11 2020-10-16 北京交通大学 System suitable for unmanned decision learning and training
CN111613076A (en) * 2020-04-09 2020-09-01 吉利汽车研究院(宁波)有限公司 Driving assistance method, system, server and storage medium
CN111798717B (en) * 2020-07-03 2022-05-03 福建百信信息技术有限公司 Electric vehicle control system and method supporting VR driving training
CN113665590B (en) * 2021-09-24 2024-04-19 阿波罗智联(北京)科技有限公司 Method, device, equipment, medium and vehicle for controlling vehicle

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104442820A (en) * 2013-09-24 2015-03-25 福特全球技术公司 Method and system for activating an operating mode of a vehicle
CN105270407A (en) * 2015-10-20 2016-01-27 广州橙行智动汽车科技有限公司 Driving mode switching method and system for autonomous vehicle
CN105523039A (en) * 2014-10-22 2016-04-27 中国移动通信集团公司 Vehicle driving mode shifting method and system
CN105892471A (en) * 2016-07-01 2016-08-24 北京智行者科技有限公司 Automatic automobile driving method and device
CN106338988A (en) * 2015-07-06 2017-01-18 丰田自动车株式会社 Control system of automated driving vehicle
US9665101B1 (en) * 2012-09-28 2017-05-30 Waymo Llc Methods and systems for transportation to destinations by a self-driving vehicle
CN107564363A (en) * 2017-09-05 2018-01-09 百度在线网络技术(北京)有限公司 A kind of method and apparatus for driving model switching

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6445983B1 (en) * 2000-07-07 2002-09-03 Case Corporation Sensor-fusion navigator for automated guidance of off-road vehicles
CN102393744B (en) * 2011-11-22 2014-09-10 湖南大学 Navigation method of pilotless automobile
CN104477167B (en) * 2014-11-26 2018-04-10 浙江大学 A kind of intelligent driving system and its control method
CN105984541A (en) * 2015-01-06 2016-10-05 刘岗 Motor vehicle and control system
CN106951847B (en) * 2017-03-13 2020-09-29 百度在线网络技术(北京)有限公司 Obstacle detection method, apparatus, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9665101B1 (en) * 2012-09-28 2017-05-30 Waymo Llc Methods and systems for transportation to destinations by a self-driving vehicle
CN104442820A (en) * 2013-09-24 2015-03-25 福特全球技术公司 Method and system for activating an operating mode of a vehicle
CN105523039A (en) * 2014-10-22 2016-04-27 中国移动通信集团公司 Vehicle driving mode shifting method and system
CN106338988A (en) * 2015-07-06 2017-01-18 丰田自动车株式会社 Control system of automated driving vehicle
CN105270407A (en) * 2015-10-20 2016-01-27 广州橙行智动汽车科技有限公司 Driving mode switching method and system for autonomous vehicle
CN105892471A (en) * 2016-07-01 2016-08-24 北京智行者科技有限公司 Automatic automobile driving method and device
CN107564363A (en) * 2017-09-05 2018-01-09 百度在线网络技术(北京)有限公司 A kind of method and apparatus for driving model switching

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112052956A (en) * 2020-07-16 2020-12-08 山东派蒙机电技术有限公司 Training method for strengthening best action of vehicle execution
CN112052956B (en) * 2020-07-16 2021-12-17 山东派蒙机电技术有限公司 Training method for strengthening best action of vehicle execution
CN112331034A (en) * 2020-11-13 2021-02-05 重庆交通大学 High-speed train driver monitoring and assisting system
DE102022001383A1 (en) 2022-04-22 2023-10-26 Mercedes-Benz Group AG Vehicle and method for issuing recommendations to a person driving the vehicle to take over control of the vehicle

Also Published As

Publication number Publication date
CN107564363A (en) 2018-01-09
CN107564363B (en) 2019-11-05

Similar Documents

Publication Publication Date Title
WO2019047596A1 (en) Method and device for switching driving modes
JP7174063B2 (en) Obstacle avoidance method and device for driverless vehicle
US10636295B1 (en) Method and device for creating traffic scenario with domain adaptation on virtual driving environment for testing, validating, and training autonomous vehicle
JP6738932B2 (en) System and method for training machine learning models located on a simulation platform
CN109606385B (en) Vehicle control method, device, equipment and medium based on automatic driving
CN109345829B (en) Unmanned vehicle monitoring method, device, equipment and storage medium
CN110214107B (en) Autonomous vehicle providing driver education
US20220340127A1 (en) Automatic parking control method and apparatus
CN110377025A (en) Sensor aggregation framework for automatic driving vehicle
CN111923927B (en) Method and apparatus for interactive perception of traffic scene prediction
CN108508881B (en) Automatic driving control strategy adjusting method, device, equipment and storage medium
KR102106875B1 (en) System and method for avoiding accidents during autonomous driving based on vehicle learning
JP2022551084A (en) Intelligent parking method and device
US20200050536A1 (en) Using divergence to conduct log-based simulations
CN105741643B (en) Automatic implementation method, device and system for training driving technology
WO2019112799A1 (en) Improving safety of autonomous vehicles using a virtual augmented support environment
CN111104842A (en) Computer-aided or autonomous driving traffic sign recognition method and device
CN109426244A (en) Servomechanism
CN109255341A (en) Extracting method, device, equipment and the medium of barrier perception wrong data
CN104103100A (en) Driving behavior analysis system
CN111859778A (en) Parking model generation method and device, electronic device and storage medium
US20220198107A1 (en) Simulations for evaluating driving behaviors of autonomous vehicles
US20200019173A1 (en) Detecting activity near autonomous vehicles
KR20210034097A (en) Camera evaluation technologies for autonomous vehicles
CN109358627A (en) Based on unpiloted driving assistance method, device, equipment, medium and vehicle

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18854012

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11/08/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18854012

Country of ref document: EP

Kind code of ref document: A1