WO2021232229A1 - Virtual scene generation method and apparatus, computer device and storage medium - Google Patents
Virtual scene generation method and apparatus, computer device and storage medium Download PDFInfo
- Publication number
- WO2021232229A1 WO2021232229A1 PCT/CN2020/091014 CN2020091014W WO2021232229A1 WO 2021232229 A1 WO2021232229 A1 WO 2021232229A1 CN 2020091014 W CN2020091014 W CN 2020091014W WO 2021232229 A1 WO2021232229 A1 WO 2021232229A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- trajectory
- target
- driving
- virtual scene
- vehicle
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000012549 training Methods 0.000 claims abstract description 89
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 56
- 238000012360 testing method Methods 0.000 claims abstract description 39
- 230000007613 environmental effect Effects 0.000 claims description 85
- 230000006399 behavior Effects 0.000 claims description 22
- 230000006870 function Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 17
- 238000003491 array Methods 0.000 claims description 11
- 238000012216 screening Methods 0.000 claims description 6
- 239000000284 extract Substances 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 9
- 238000011161 development Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000010801 machine learning Methods 0.000 description 4
- 230000006872 improvement Effects 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 206010039203 Road traffic accident Diseases 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000011478 gradient descent method Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000007620 mathematical function Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/047—Optimisation of routes or paths, e.g. travelling salesman problem
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/067—Enterprise or organisation modelling
Definitions
- This application relates to the field of unmanned driving technology, in particular to a virtual scene generation method, device, computer equipment and storage medium.
- Unmanned driving technology is to automatically plan the driving route of the unmanned vehicle based on the unmanned driving algorithm, and control the unmanned vehicle based on the driving route, so that the unmanned vehicle can reach the predetermined target location.
- Unmanned driving technology can effectively improve the efficiency of the transportation system and the safety of people's travel, and bring convenience to people's lives.
- the embodiments of the present application provide a virtual scene generation method, device, server, and non-volatile computer-readable storage medium, which can improve data utilization.
- a method for generating a virtual scene including:
- Establish an initial virtual scene which includes environmental vehicles and target vehicles;
- the parameters of the trajectory discrimination model take the real driving trajectory big data and the virtual driving trajectory big data as input, and the real driving trajectory big data
- the label corresponding to the virtual driving trajectory big data is used as the expected output, and the input trajectory discrimination model is trained;
- the driving trajectory of the environmental vehicle is added to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
- a virtual scene generating device including:
- the initial virtual scene establishment module is used to establish the initial virtual scene, the initial virtual scene includes the surrounding vehicle and the target vehicle;
- the driving trajectory acquisition module is used to acquire a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle.
- the parameters of the trajectory generation model are obtained by training based on the trained trajectory discrimination model.
- the trajectory discrimination model The parameters of is taking real driving trajectory big data and virtual driving trajectory big data as input, real driving trajectory big data and virtual driving trajectory big data corresponding labels as expected output, input trajectory discriminant model training;
- the first target virtual scene determination module is used to add the driving trajectory of the environmental vehicle to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
- a computer device includes a processor and a memory, and computer-readable instructions are stored in the memory.
- the processor When the computer-readable instructions are executed by the processor, the processor Perform the following steps:
- Establish an initial virtual scene which includes environmental vehicles and target vehicles;
- the parameters of the trajectory generation model are obtained by training based on the trained trajectory discrimination model, and the parameters of the trajectory discrimination model are based on the actual driving trajectory Big data and virtual driving trajectory big data are used as input, and the labels corresponding to the real driving trajectory big data and virtual driving trajectory big data are used as the expected output, and the input trajectory discrimination model is trained;
- the driving trajectory of the environmental vehicle is added to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
- one or more non-volatile storage media storing computer-readable instructions.
- the computer-readable instructions When executed by one or more processors, the one or more processors perform the following step:
- Establish an initial virtual scene which includes environmental vehicles and target vehicles;
- the parameters of the trajectory generation model are obtained by training based on the trained trajectory discrimination model, and the parameters of the trajectory discrimination model are based on the actual driving trajectory Big data and virtual driving trajectory big data are used as input, and the labels corresponding to the real driving trajectory big data and virtual driving trajectory big data are used as the expected output, and the input trajectory discrimination model is trained;
- the driving trajectory of the environmental vehicle is added to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
- the above-mentioned virtual scene generation method, device, computer equipment and storage medium establish an initial virtual scene, which includes environmental vehicles and target vehicles; obtain a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the environmental vehicle
- the parameters of the trajectory generation model are based on the trained trajectory discriminant model training.
- the parameters of the trajectory discriminant model are the real driving trajectory big data and virtual driving trajectory big data as input, real driving trajectory big data and virtual driving trajectory
- the label corresponding to the big data is used as the expected output, and the input trajectory discrimination model is trained; the driving trajectory of the environmental vehicle is added to the initial virtual scene to obtain the first target virtual scene.
- the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
- the trained trajectory generation model can generate a driving trajectory similar to but not exactly the same as the real driving trajectory. Input the generated driving trajectory into the virtual scene to establish a Target virtual scenes with similar but not identical real scenes can assist in testing the driving trajectory planning algorithm of unmanned vehicles.
- Fig. 1 is a schematic diagram of an application environment of a method for generating a virtual scene in an embodiment.
- Fig. 2 is a flowchart of a method for generating a virtual scene in an embodiment.
- Fig. 3 is a flowchart of training a trajectory discrimination model in an embodiment.
- Fig. 4 is a flowchart of a training trajectory generation model in an embodiment.
- Fig. 5 is a flow chart of generating a target true driving trajectory in an embodiment.
- Fig. 6 is a flowchart of a method for generating a virtual scene in another embodiment.
- Fig. 7 is a flowchart of test driving trajectory planning in an embodiment.
- Fig. 8 is a structural block diagram of an apparatus for generating a virtual scene in an embodiment.
- Fig. 9 is a schematic diagram of the internal structure of a server in an embodiment.
- Fig. 10 is a schematic diagram of the internal structure of a terminal in an embodiment.
- first, second, etc. used in the embodiments of the present application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element.
- the first control may be referred to as the second control, and both the first control and the second control are controls, but they are not the same control.
- Fig. 1 is an application environment diagram of a method for generating a virtual scene in an embodiment.
- the application environment includes a terminal 110 and a server 120, where the terminal 110 may be a desktop terminal or a mobile terminal, and the mobile terminal may be at least one of a mobile phone, a tablet computer, and a notebook computer.
- the server 120 may be a single server or a server cluster, and the terminal 110 and the server 120 communicate through a network.
- the terminal 110 may send big data of the real driving trajectory to the server 120.
- the server 120 may train a trajectory generation model. Input a set of multi-dimensional arrays to the trained trajectory generation model, and the driving trajectory can be output.
- the server 120 may establish an initial virtual scene including the environmental vehicle and the target vehicle, and input the driving trajectory output by the trajectory generation model into the initial virtual scene as the driving trajectory of the environmental vehicle to obtain the target virtual scene.
- the target vehicle can drive in the target virtual scene based on the driving trajectory planning algorithm.
- the server 120 may send the target virtual scene to the terminal 110 for display.
- Fig. 2 is a flowchart of a method for generating a virtual scene in an embodiment. As shown in Fig. 2, a method for generating a virtual scene is illustrated by taking the application on the server or terminal in Fig. 1 as an example, which specifically includes:
- S202 Establish an initial virtual scene, where the initial virtual scene includes an environmental vehicle and a target vehicle.
- the target vehicle refers to a virtual unmanned vehicle.
- Ambient vehicles refer to virtual vehicles located around the target vehicle.
- the initial virtual scene refers to a virtual environment including various models, including environmental vehicles, target vehicles, traffic lights, signs, and so on.
- the environmental vehicle can have no driving behavior and remain stationary, and the environmental vehicle can also have an initial driving behavior.
- drive test data can be acquired, and an initial virtual scene can be established based on the data at any time point in the drive test data.
- Drive test data refers to the sensor data collected in real time by the sensors of the driverless car in the real scene (real scene). The sensor of the driverless car can upload the collected data to the server or terminal. It is also possible to obtain an existing virtual scene and convert the existing virtual scene into an initial virtual scene.
- the existing virtual scene may be a virtual scene that has been used to test the driving trajectory planning algorithm of an unmanned vehicle. Converting the existing virtual scene into the initial virtual scene may specifically be resetting the surrounding vehicle to the state of the driving track to be set.
- the trajectory generation model is used to generate the driving trajectory of the environmental vehicle.
- the trajectory of the environmental vehicle refers to the trajectory of the environmental vehicle relative to the target vehicle.
- the driving trajectory is composed of several trajectory points arranged in sequence, and each trajectory point carries time information and position information.
- the location information includes longitude and latitude.
- the track points are arranged in chronological order. The time interval of each track point is the same.
- the trajectory discrimination model is a machine learning model based on the pre-historic driving trajectory and the initial trajectory generation model training.
- a supervised training method is used. Take the real driving trajectory big data as input, the label corresponding to the real driving trajectory big data as the expected output, carry out the trajectory discrimination model training, take the virtual driving trajectory big data as the input, and the label corresponding to the virtual driving trajectory big data as the expected output to perform the trajectory Discriminant model training.
- the virtual driving trajectory big data is the output data of the initial trajectory generation model.
- a trained trajectory discrimination model is obtained.
- the training completion condition may be at least one of the training reaching the maximum number of iterations or the loss value of the model being less than a preset threshold.
- the label corresponding to the real driving trajectory indicates that the driving trajectory is true
- the label corresponding to the virtual driving trajectory indicates that the driving trajectory is false.
- the input data of the trajectory discrimination model is the driving trajectory
- the output data is the probability that the driving trajectory is true.
- the parameters of the trajectory generation model are machine learning models trained based on the trained trajectory discrimination model.
- the training goal is to input the generated virtual driving trajectory into the trajectory discrimination model, and the output probability is closer to the label corresponding to the real driving trajectory big data.
- the input data of the trajectory generation model is a multi-dimensional array
- the output data is the virtual driving trajectory.
- a multi-dimensional array with a preset length can be randomly generated, and the multi-dimensional array can be input into the trained trajectory generation model to output the driving trajectory of the environmental vehicle.
- each segment of the driving trajectory can be represented by a two-dimensional matrix, the rows of the matrix represent different time points, and the columns of the matrix represent the position information of the vehicle at each time point, such as longitude and latitude.
- the driving trajectory can also be represented by a one-dimensional sequence.
- the first and second numbers in the sequence represent the longitude and latitude of the first trajectory point, and the third and fourth numbers in the sequence represent the longitude and latitude of the second trajectory point. ,And so on.
- the dimensions of the multidimensional array input to the trained trajectory generation model during use and the dimension of the multidimensional training array input to the trajectory generation model during training and the length of each dimension need to be consistent.
- the generated effective driving trajectory can be added to the environmental vehicle in the initial virtual scene. Since the generated trajectory of the environmental vehicle is the trajectory of the environmental vehicle relative to the target vehicle, it is necessary to obtain the position information of the target vehicle in the initial virtual scene, and convert the driving trajectory generated by the model into Adapting to the driving trajectory of the initial virtual scene, adding the converted driving trajectory to the environmental vehicle in the initial virtual scene, and then obtaining the target virtual scene.
- the driving trajectory planning algorithm can dynamically plan the driving trajectory of the target vehicle according to the status information of each model in the target virtual scene, and verify and test the driving trajectory planning algorithm according to the driving trajectory of the target vehicle.
- the target virtual scene can assist the development and improvement of the driving trajectory planning algorithm, which can replace the method of algorithm testing in the real environment to a certain extent, and reduce the cost of algorithm development and improvement.
- the trained trajectory generation model can be used to generate the target virtual scene at any time, verify and test the driving trajectory planning algorithm at any time, and improve the algorithm development and efficiency.
- a trajectory generation model dedicated to generating a driving trajectory corresponding to a normal driving behavior can be trained, or a trajectory generation model dedicated to generating a driving trajectory corresponding to an abnormal driving behavior can be trained.
- real trajectory big data can be classified into real driving trajectory big data corresponding to normal driving behavior and real driving trajectory big data corresponding to abnormal driving behavior.
- the real driving trajectory big data corresponding to normal driving behavior is the real driving trajectory big data without traffic accidents or traffic violations.
- the real driving trajectory big data corresponding to the normal driving behavior is the real driving trajectory big data of traffic accidents or violations of traffic rules.
- the real driving trajectory big data corresponding to the normal driving behavior is used to train the trajectory generation model used to generate the driving trajectory corresponding to the normal driving behavior.
- the real driving trajectory big data corresponding to the abnormal driving behavior is used to train the trajectory generation model used to generate the driving trajectory corresponding to the abnormal driving behavior.
- the above virtual scene generation method is to establish an initial virtual scene, which includes the environmental vehicle and the target vehicle; obtain a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle and the trajectory generation model
- the parameters are obtained based on the training of the trained trajectory discrimination model.
- the parameters of the trajectory discrimination model take the real driving trajectory big data and the virtual driving trajectory big data as input, and the labels corresponding to the real driving trajectory big data and the virtual driving trajectory big data are the expected output.
- the input trajectory discrimination model is trained; the driving trajectory of the environmental vehicle is added to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
- the trained trajectory generation model can generate a driving trajectory that is similar but not exactly the same as the real driving trajectory. Input the generated driving trajectory into the virtual scene to create a similar but real scene.
- the target virtual scene is not exactly the same, which can assist in testing the driving trajectory planning algorithm of the unmanned vehicle.
- step S202 that is, before establishing the initial virtual scene, further includes:
- the virtual driving trajectory refers to the driving trajectory generated on a computer device.
- the virtual driving trajectory is relative to the real driving trajectory.
- the real driving trajectory refers to the driving trajectory of the real environment vehicle relative to the real unmanned vehicle in the real environment, which can be collected by relevant equipment.
- an initial trajectory generation model can be designed, the input data of the initial trajectory generation model is a multi-dimensional array, and the output data is a virtual driving trajectory.
- the parameters of the initial trajectory generation model can be set randomly.
- the parameters of the initial trajectory generation model can also be set by technicians based on the prior knowledge of machine learning, so as to shorten the training time of the initial trajectory generation model.
- S304 Obtain multiple multi-dimensional training arrays, input each multi-dimensional training array to the initial trajectory generation model, and output a virtual driving trajectory corresponding to each multi-dimensional training array, and the virtual driving trajectory corresponds to the first label.
- S306 Acquire multiple sets of target real driving trajectories, and the target real driving trajectories correspond to the second label.
- the multi-dimensional training array is the input data used to train the initial trajectory generation model.
- the target real driving trajectory is the real driving trajectory in the real scene where there is more interaction between real vehicles. For example, car A suddenly decelerates and car B has to slow down to prevent rear-end collision, and car A in the side lane merges in front of car B, causing B The car slowed down.
- multi-dimensional training arrays whose dimensions used for training are the same as the length of each dimension can be generated.
- Each multi-dimensional training array is input to the initial trajectory generation model, and the initial trajectory generation model outputs the virtual driving trajectory corresponding to each of the multi-dimensional training arrays. Since the parameters of the initial trajectory generation model are not optimal, the virtual driving trajectory output by the initial trajectory generation model is obviously far from the real driving trajectory. Therefore, the label corresponding to the virtual driving trajectory and the label corresponding to the real driving trajectory can be set as mutually exclusive labels. For example, the label corresponding to the real driving trajectory is 1, and the label corresponding to the virtual driving trajectory is 0.
- each group of target real driving trajectories and each group of virtual driving trajectories are respectively input to the initial trajectory discrimination model, and the trajectory discrimination results of each group of target real driving trajectories and the trajectory discrimination results of each group of virtual driving trajectories are output.
- an initial trajectory discrimination model can be designed.
- the parameters of the initial trajectory discrimination model can be set randomly.
- the parameters of the initial trajectory discrimination model can also be set by technicians based on the prior knowledge of machine learning to shorten the training time of the initial trajectory discrimination model.
- Input the real driving trajectories of each group of targets into the initial trajectory discrimination model, and the initial trajectory discrimination model outputs the trajectory discrimination results of the real driving trajectories of each group of targets, and input the virtual driving trajectories of each group into the initial trajectory discrimination model and the initial trajectory discrimination model.
- the trajectory discrimination results of each group of virtual driving trajectories are respectively output.
- the trajectory discrimination result may be the probability that the driving trajectory is true.
- the trajectory discrimination result of the virtual driving trajectory can be compared with the first label to obtain the first comparison result
- the trajectory discrimination result of the target real driving trajectory can be compared with the second label to obtain the second comparison result.
- the comparison result and the second comparison result adjust the parameters of the initial trajectory discrimination model. For example, the trajectory discrimination result of the virtual driving trajectory is subtracted from the first label to obtain the first difference calculation result, and the trajectory discrimination result of the target real driving trajectory is subtracted from the second label to obtain the second difference calculation result, and then The parameters of the initial trajectory discrimination model are adjusted according to the first difference calculation result and the second difference result.
- the parameters of the initial trajectory discrimination model can also be adjusted by the stochastic gradient descent method.
- the training completion condition is used to judge whether the training of the model is completed.
- the training completion condition is set in advance as required, and includes at least one of the iteration when the number of training reaches the maximum or the difference calculation result is less than the set value.
- the model training is performed through the real driving trajectory and the corresponding label, and the virtual driving trajectory and the corresponding label, and when the training completion condition is reached, the trained trajectory discrimination model is obtained.
- step S310 that is, when the trajectory discrimination result of each group of target real driving trajectory and the trajectory discrimination result of each group of virtual driving trajectory reach the preset training completion condition, obtain the trained
- the trajectory discrimination model includes:
- the target loss function is used to measure the trajectory of the model to judge whether the training result is good or bad, which is reflected by the loss value.
- the smaller the loss value the better the trajectory discrimination training result, and the more accurate the trained model.
- the first preset threshold is a preset loss value, which can be set as required.
- the first target loss value can be used to adjust the model parameters of the initial trajectory discrimination model to obtain an updated initial trajectory discrimination model.
- the target real trajectory big data and virtual trajectory big data are acquired again to train the updated initial trajectory discrimination model.
- the trajectory discrimination model at the last training is used as the trained trajectory discrimination model.
- the first objective loss function is a loss function set according to needs, for example, it may be a cross-entropy loss function, and the cross-entropy loss function may be as follows:
- y i represents the label corresponding to the i-th driving trajectory.
- the label corresponding to the i-th driving trajectory is 0.
- the label corresponding to the i-th driving trajectory is 1.
- p i represents the trajectory discrimination result corresponding to the i-th driving trajectory.
- the target value of the first target loss function is used to determine whether the training completion condition is met.
- the preset training completion condition is reached, which can improve the training track.
- the accuracy of the discriminant model is used to determine whether the training completion condition is met.
- it further includes: gradually adjusting the parameters of the initial trajectory generation model, inputting each multi-dimensional training array to the initial trajectory generation model after each adjustment, and inputting the output data of the initial trajectory model after each adjustment to the
- the trained trajectory discrimination model outputs the trajectory discrimination results corresponding to each multi-dimensional training array; the trajectory discrimination results corresponding to each multi-dimensional training array are input into the second target loss function to calculate, and the second target loss value is obtained; when the second target loss value When the second preset threshold is not exceeded, the last adjusted parameter is used as the target parameter of the trajectory generation model to obtain the trained trajectory discrimination model.
- the initial trajectory generation model can be trained based on the trained trajectory discrimination model.
- the parameters of the initial trajectory discrimination model can be adjusted by the stochastic gradient descent method. Input each multi-dimensional training array to the initial trajectory generation model after each adjustment, input the output data of the initial trajectory model after each adjustment to the trained trajectory discrimination model, and output the trajectory discrimination results corresponding to each multi-dimensional training array; The trajectory discrimination result corresponding to each multi-dimensional training array is input into the second target loss function for calculation, and the second target loss value is obtained. When the second target loss value exceeds the second preset threshold, the second target loss value may be used to adjust the model parameters of the initial trajectory generation model to obtain an updated initial trajectory generation model. Then re-acquire the multi-dimensional training array to train the updated initial trajectory generation model. Until the second target loss value obtained by the model training does not exceed the second preset threshold, the parameters adjusted during the last training are used as the target parameters of the trajectory generation model to obtain the trained trajectory discrimination model.
- the second objective loss function is a loss function set according to needs, for example, it may be a cross-entropy loss function, the cross-entropy loss function may be as shown below, and its purpose is to make the virtual driving corresponding to the multi-dimensional training array The probability that the trajectory is judged to be true p j becomes larger:
- M represents the total number of multi-dimensional training arrays.
- p j represents the trajectory discrimination result corresponding to the j-th multi-dimensional training array.
- the trajectory generation model is trained according to the trained trajectory discrimination model, so that the virtual driving trajectory generated by the trained trajectory generation model can be determined as a true driving trajectory with a probability close to 1, which is false.
- step S306 that is, before obtaining multiple sets of target real driving trajectories, further includes:
- S502 Acquire driving data, and divide the driving data to obtain multiple sets of candidate driving data.
- an unmanned vehicle will collect and record a large amount of data in real time through multiple sensors with different functions during actual road testing, including the state of the unmanned vehicle itself and the state of the surrounding environment, including the state of the unmanned vehicle itself. Including its own shape, size, location, and speed.
- the state of the surrounding environment includes information such as the shape, size, location, and speed of the surrounding vehicles, and the location of the surrounding traffic lights.
- the data collected in real time can be integrated according to time to obtain driving data.
- the driving data includes the state of the unmanned vehicle at each time point and the state of the surrounding environment. After the driving data is obtained, the driving data needs to be filtered and processed to filter out the fragments that affect the trajectory behavior between the unmanned vehicle and the surrounding real vehicles.
- the driving data can be preprocessed, and the driving data can be divided into multiple groups of candidate driving data to improve the efficiency of screening.
- the driving data division may specifically be divided into groups of candidate driving data with the same length of time according to time information, or divided into groups of candidate driving data with the same driving distance according to location information.
- the candidate driving data can also be filtered out to further improve the screening efficiency.
- the candidate driving data filtering may specifically be filtering candidate driving data where there is no environmental vehicle.
- multiple sets of candidate driving data are screened according to preset conditions to obtain multiple sets of target driving data, and the preset conditions are set based on behaviors affecting trajectories between real vehicles.
- S506 Extract the driving trajectory of the real vehicle from each group of target driving data, determine the target real driving trajectory according to the extracted driving trajectory, and obtain multiple sets of target real driving trajectories.
- an unmanned vehicle will collect and record a large amount of data in real time during actual road testing, including the state of the unmanned vehicle itself and the state of the surrounding environment.
- the state of the surrounding environment includes the shape, size, location, and location of the surrounding vehicle. Speed, location of surrounding traffic lights and other information.
- Just input the candidate driving data If the function returns true, then the candidate driving data is the target driving data.
- the driving trajectory of the unmanned vehicle and the driving trajectory of the environmental vehicle can be extracted from the target driving data, and the actual driving trajectory of the target can be determined according to the extracted driving trajectory. Specifically, it may be that the driving trajectory of the driving trajectory of the environmental vehicle is subtracted from the driving trajectory of the unmanned vehicle to obtain the target real driving trajectory.
- the driving data is obtained, and the driving data is divided to obtain multiple sets of candidate driving data; the multiple sets of candidate driving data are filtered according to preset conditions to obtain multiple sets of target driving data, and the preset conditions are based on the actual vehicle Influencing the trajectory behavior setting; extract the driving trajectory of the real vehicle from each group of target driving data, determine the target real driving trajectory according to the extracted driving trajectory, and obtain multiple sets of target real driving trajectories. Obtain the target's true driving trajectory from the driving data, so that it is convenient to use the target's true driving trajectory as training data to train the trajectory generation model.
- the virtual scene generation method further includes:
- S602 Acquire the current state of the environmental vehicle and the target vehicle.
- S604 Based on a preset algorithm, determine the target state of the environmental vehicle according to the current state of the environmental vehicle and the target vehicle.
- S606 Update the target state of the environmental vehicle to the initial virtual scene to obtain a second target virtual scene.
- using real data to construct an initial virtual scene can add some intelligent behaviors to the surrounding vehicles on the basis of real data.
- real data a certain real environment vehicle is driving forward at a constant speed in the left lane of an unmanned vehicle.
- the target virtual environment it is necessary to change and debug the driving trajectory planning algorithm of the target vehicle. For example, at this time, the target vehicle starts to merge into the left lane from the front right of the environment vehicle. If the environmental vehicle drives completely according to the behavior in the real data, it is very likely that the environmental vehicle will rear-end the target vehicle during the merging process.
- the intelligent behavior to prevent rear-end collision can be added to the environmental vehicle, so that the environmental vehicle will actively decelerate according to the relative position and speed during the merging of the target vehicle, thereby avoiding the possibility of rear-end collision.
- Adding intelligent behaviors to environmental vehicles can specifically be based on preset algorithms, such as adaptive cruise algorithm and rear-end collision prevention algorithm.
- the target state of the environmental vehicle at the next time point is calculated in real time.
- the target state of the environmental vehicle obtained by real-time calculation is updated to the initial virtual scene to obtain another target virtual scene. In this way, based on the same piece of real data, technicians can flexibly adjust the planning algorithm of the main vehicle, thereby greatly improving the utilization of data.
- the method further includes:
- S702 Obtain a target driving trajectory of the target vehicle in a target virtual scene based on a driving trajectory planning algorithm, where the target virtual scene includes at least one of a first target virtual scene and a second target virtual scene;
- S704 Acquire a target driving trajectory of the environmental vehicle in the target virtual scene.
- S708 Receive an adjusted driving trajectory planning algorithm sent by a preset terminal.
- S710 Re-plan the target driving trajectory of the target vehicle based on the adjusted driving trajectory planning algorithm.
- intersection of the target driving trajectory of the target vehicle and the target driving trajectory of the environmental vehicle means that the target driving trajectory of the target vehicle and the target driving trajectory of the environmental vehicle coincide with the trajectory points corresponding to the same time point.
- the target virtual scene can be used to test the driving trajectory planning algorithm.
- the target driving trajectory of the target vehicle in the first target virtual scene or the second target virtual scene based on the driving trajectory planning algorithm can be acquired, and the target driving trajectory of the environmental vehicle in the first target virtual scene or the second target virtual scene can be acquired.
- the driving trajectory There are loopholes in the planning algorithm.
- feedback information can be generated based on the intersecting target driving trajectory and sent to the corresponding terminal of the technician, so that the technician can debug the driving trajectory planning algorithm in time.
- the adjusted driving trajectory planning algorithm sent by the technician through the terminal, and re-plan the target driving trajectory of the target vehicle based on the adjusted driving trajectory planning algorithm in the first target virtual scene or the second target virtual scene, and test Whether the adjusted driving trajectory planning algorithm solves the previous loopholes.
- Fig. 8 is a structural block diagram of an apparatus for generating a virtual scene in an embodiment.
- a virtual scene generating device includes an initial virtual scene establishing module 802, a driving track acquisition module 804, and a first target virtual scene determining module 806. in:
- the initial virtual scene establishment module 802 is used to establish an initial virtual scene, and the initial virtual scene includes an environmental vehicle and a target vehicle.
- the driving trajectory acquisition module 804 is used to acquire a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle.
- the parameters of the trajectory generation model are obtained by training based on the trained trajectory discrimination model, and the trajectory discrimination
- the parameters of the model take the real driving trajectory big data and the virtual driving trajectory big data as input, the labels corresponding to the real driving trajectory big data and the virtual driving trajectory big data as the expected output, and the input trajectory discrimination model is trained.
- the first target virtual scene determination module 806 is configured to add the driving trajectory of the environmental vehicle to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
- the virtual scene generating apparatus further includes:
- the training module is used to obtain multiple multi-dimensional training arrays, input each multi-dimensional training array to the initial trajectory generation model, and output the virtual driving trajectory corresponding to each multi-dimensional training array.
- the virtual driving trajectory corresponds to the first label; to obtain multiple sets of target real driving trajectories ,
- the target real driving trajectory corresponds to the second label; each group of target real driving trajectory and each group of virtual driving trajectory are respectively input to the initial trajectory discrimination model, and the trajectory discrimination results of each group of target real driving trajectories and the trajectory of each group of virtual driving trajectories are output Discrimination results:
- the trained trajectory discrimination model is obtained.
- the training module is also used to input the trajectory discrimination results of each group of target real driving trajectories and the trajectory discrimination results of each group of virtual driving trajectories into the first target loss function for calculation to obtain the first target loss value;
- the preset training completion condition is reached, and the trained trajectory discrimination model is obtained.
- the virtual scene generating apparatus further includes:
- the screening module is used to obtain drive test data, divide the drive test data to obtain multiple drive test data segments; filter multiple drive test data segments according to preset conditions to obtain multiple target drive test data segments, and preset conditions It is set based on the behavior of influencing trajectory between real vehicles; extracting the driving trajectory of the real vehicle from each target drive test data segment, determining the target real driving trajectory according to the extracted driving trajectory, and obtaining multiple sets of target real driving trajectories.
- the virtual scene generating apparatus further includes:
- the second target virtual scene determination module is used to obtain the current state of the environmental vehicle and the target vehicle; based on a preset algorithm, determine the target state of the environmental vehicle according to the current state of the environmental vehicle and the target vehicle; update the target state of the environmental vehicle to the initial The virtual scene is obtained, and the second target virtual scene is obtained.
- the virtual scene generating apparatus further includes:
- the algorithm test module is used to obtain the target driving trajectory of the target vehicle in the target virtual scene based on the driving trajectory planning algorithm.
- the target virtual scene includes at least one of the first target virtual scene and the second target virtual scene;
- the target driving trajectory of the virtual scene when the target driving trajectory of the target vehicle intersects the target driving trajectory of the environmental vehicle, the feedback information is generated and sent to the preset terminal; the adjusted driving trajectory planning algorithm sent by the preset terminal is received; based on the adjusted
- the proposed driving trajectory planning algorithm re-plans the target driving trajectory of the target vehicle.
- Each module in the above virtual scene generating device may be implemented in whole or in part by software, hardware, and a combination thereof.
- the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
- a computer device is provided.
- the computer device may be the server 120 in FIG. 1, and its internal structure diagram may be as shown in FIG. 9.
- the computer equipment includes a processor, a memory, and a network interface connected through a system bus.
- the processor of the computer device is used to provide calculation and control capabilities.
- the memory of the computer device includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system and a computer program.
- the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
- the network interface of the computer device is used to communicate with an external terminal through a network connection.
- the computer program is executed by the processor to realize a virtual scene generation method.
- a computer device is provided.
- the computer device may be the terminal 110 in FIG. 1, and its internal structure diagram may be as shown in FIG. 10.
- the computer equipment includes a processor, a memory, a network interface, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities.
- the memory of the computer device includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system and a computer program.
- the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
- the network interface of the computer device is used to communicate with an external terminal through a network connection.
- the computer program is executed by the processor to realize a virtual scene generation method.
- the input device of the computer equipment can be a touch layer covered on the display screen, it can also be a button, a trackball or a touchpad provided on the housing of the computer equipment, and it can also be an external keyboard, a
- FIG. 9 and FIG. 10 are only block diagrams of part of the structure related to the solution of the present application, and do not constitute a limitation on the computer equipment to which the solution of the present application is applied.
- the computer device may include more or fewer components than shown in the figures, or combine certain components, or have a different component arrangement.
- a computer device including a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the virtual scene generation method described above.
- the steps of the method for generating a virtual scene may be the steps in the method for generating a virtual scene in each of the foregoing embodiments.
- a computer-readable storage medium which stores a computer program, and when the computer program is executed by a processor, the processor causes the processor to execute the steps of the virtual scene generation method described above.
- the steps of the method for generating a virtual scene may be the steps in the method for generating a virtual scene in each of the foregoing embodiments.
- Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical storage.
- Volatile memory may include random access memory (RAM) or external cache memory.
- RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc.
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Educational Administration (AREA)
- Traffic Control Systems (AREA)
Abstract
A virtual scene generation method, comprising: establishing an initial virtual scene, the initial virtual scene comprising surrounding vehicles and a target vehicle; acquiring a multi-dimensional array, and inputting the multi-dimensional array to a trained trajectory generation model, so as to output driving trajectories of the surrounding vehicles, wherein the parameters of the trajectory generation model are obtained by performing training on the basis of a trained trajectory determination model, and the parameters of the trajectory determination model are obtained by performing training by inputting, to the trajectory determination model, real driving trajectory big data and virtual driving trajectory big data and expectedly outputting tags corresponding to the real driving trajectory big data and the virtual driving trajectory big data; and adding the driving trajectories of the surrounding vehicles to the initial virtual scene, so as to obtain a first target virtual scene, the first target virtual scene being used for testing a driving trajectory planning algorithm of the target vehicle.
Description
本申请涉及无人驾驶技术领域,特别是涉及一种虚拟场景生成方法、装置、计算机设备和存储介质。This application relates to the field of unmanned driving technology, in particular to a virtual scene generation method, device, computer equipment and storage medium.
随着计算机技术的发展,出现了无人驾驶技术。无人驾驶技术是基于无人驾驶算法自动规划无人车的行车路线,并基于行车路线对无人车进行控制,使得无人车能够达到预定目标地点。无人驾驶技术能够有效提高交通系统的效率和人们出行的安全性,给人们的生活带来便捷。With the development of computer technology, unmanned driving technology has emerged. Unmanned driving technology is to automatically plan the driving route of the unmanned vehicle based on the unmanned driving algorithm, and control the unmanned vehicle based on the driving route, so that the unmanned vehicle can reach the predetermined target location. Unmanned driving technology can effectively improve the efficiency of the transportation system and the safety of people's travel, and bring convenience to people's lives.
传统技术中,主要是利用真实路测采集的数据来构建虚拟场景,基于构建的虚拟场景测试无人驾驶算法。然而,根据真实路测时采集的数据来进行真实场景的复现和回放,这种虚拟场景生成方式单一,真实路测时采集的数据仅仅用于复现真实场景,数据的利用率低。In traditional technology, data collected by real road tests are mainly used to construct virtual scenes, and driverless algorithms are tested based on the constructed virtual scenes. However, the real scene is reproduced and played back based on the data collected during the real drive test. This kind of virtual scene generation method is single, and the data collected during the real drive test is only used to reproduce the real scene, and the data utilization rate is low.
发明内容Summary of the invention
本申请实施例提供一种虚拟场景生成方法、装置、服务器和非易失性计算机可读存储介质,可以提高数据的利用率。The embodiments of the present application provide a virtual scene generation method, device, server, and non-volatile computer-readable storage medium, which can improve data utilization.
一种虚拟场景生成方法,包括:A method for generating a virtual scene, including:
建立初始虚拟场景,初始虚拟场景包括环境车辆和目标车辆;Establish an initial virtual scene, which includes environmental vehicles and target vehicles;
获取多维数组,将多维数组输入到已训练的轨迹生成模型中,输出环境车辆的行驶轨迹,轨迹判别模型的参数是以真实行驶轨迹大数据和虚拟行驶轨迹大数据作为输入,真实行驶轨迹大数据和虚拟行驶轨迹大数据对应的标签作为预期输出,输入轨迹判别模型训练得到;Obtain a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle. The parameters of the trajectory discrimination model take the real driving trajectory big data and the virtual driving trajectory big data as input, and the real driving trajectory big data The label corresponding to the virtual driving trajectory big data is used as the expected output, and the input trajectory discrimination model is trained;
将环境车辆的行驶轨迹加入初始虚拟场景,得到第一目标虚拟场景,第一目标虚拟场景用于测试目标车辆的行驶轨迹规划算法。The driving trajectory of the environmental vehicle is added to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
一种虚拟场景生成装置,包括:A virtual scene generating device, including:
初始虚拟场景建立模块,用于建立初始虚拟场景,初始虚拟场景包括环境车辆和目标车辆;The initial virtual scene establishment module is used to establish the initial virtual scene, the initial virtual scene includes the surrounding vehicle and the target vehicle;
行驶轨迹获取模块,用于获取多维数组,将多维数组输入到已训练的轨迹生成模型中,输出环境车辆的行驶轨迹,轨迹生成模型的参数是基于已训练的轨迹判别模型训练得到,轨迹判别模型的参数是以真实行驶轨迹大数据和虚拟行驶轨迹大数据作为输入,真实行驶轨迹大数据和虚拟行驶轨迹大数据对应的标签作为预期输出,输入轨迹判别模型训练得到;The driving trajectory acquisition module is used to acquire a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle. The parameters of the trajectory generation model are obtained by training based on the trained trajectory discrimination model. The trajectory discrimination model The parameters of is taking real driving trajectory big data and virtual driving trajectory big data as input, real driving trajectory big data and virtual driving trajectory big data corresponding labels as expected output, input trajectory discriminant model training;
第一目标虚拟场景确定模块,用于将环境车辆的行驶轨迹加入初始虚拟场景,得到第一目标虚拟场景,第一目标虚拟场景用于测试目标车辆的行驶轨迹规划算法。The first target virtual scene determination module is used to add the driving trajectory of the environmental vehicle to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
一方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:In one aspect, a computer device is provided. The computer device includes a processor and a memory, and computer-readable instructions are stored in the memory. When the computer-readable instructions are executed by the processor, the processor Perform the following steps:
建立初始虚拟场景,初始虚拟场景包括环境车辆和目标车辆;Establish an initial virtual scene, which includes environmental vehicles and target vehicles;
获取多维数组,将多维数组输入到已训练的轨迹生成模型中,输出环境车辆的行驶轨迹,轨迹生成模型的参数是基于已训练的轨迹判别模型训练得到,轨迹判别模型的参数是以真实行驶轨迹大数据和虚拟行驶轨迹大数据作为输入,真实行驶轨迹大数据和虚拟行驶轨迹大数据对应的标签作为预期输出,输入轨迹判别模型训练得到;Obtain a multidimensional array, input the multidimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle. The parameters of the trajectory generation model are obtained by training based on the trained trajectory discrimination model, and the parameters of the trajectory discrimination model are based on the actual driving trajectory Big data and virtual driving trajectory big data are used as input, and the labels corresponding to the real driving trajectory big data and virtual driving trajectory big data are used as the expected output, and the input trajectory discrimination model is trained;
将环境车辆的行驶轨迹加入初始虚拟场景,得到第一目标虚拟场景,第一目标虚拟场景用于测试目标车辆的行驶轨迹规划算法。The driving trajectory of the environmental vehicle is added to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
一方面,提供了一个或多个存储有计算机可读指令的非易失性存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:In one aspect, one or more non-volatile storage media storing computer-readable instructions are provided. When the computer-readable instructions are executed by one or more processors, the one or more processors perform the following step:
建立初始虚拟场景,初始虚拟场景包括环境车辆和目标车辆;Establish an initial virtual scene, which includes environmental vehicles and target vehicles;
获取多维数组,将多维数组输入到已训练的轨迹生成模型中,输出环境车辆的行驶轨迹,轨迹生成模型的参数是基于已训练的轨迹判别模型训练得到,轨迹判别模型的参数是以真实行驶轨迹大数据和虚拟行驶轨迹大数据作为输入,真实行驶轨迹大数据和虚拟行驶轨迹大数据对应的标签作为预期输出,输入轨迹判别模型训练得到;Obtain a multidimensional array, input the multidimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle. The parameters of the trajectory generation model are obtained by training based on the trained trajectory discrimination model, and the parameters of the trajectory discrimination model are based on the actual driving trajectory Big data and virtual driving trajectory big data are used as input, and the labels corresponding to the real driving trajectory big data and virtual driving trajectory big data are used as the expected output, and the input trajectory discrimination model is trained;
将环境车辆的行驶轨迹加入初始虚拟场景,得到第一目标虚拟场景,第一目标虚拟场景用于测试目标车辆的行驶轨迹规划算法。The driving trajectory of the environmental vehicle is added to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
上述虚拟场景生成方法、装置、计算机设备和存储介质,通过建立初始虚拟场景,初始虚拟场景包括环境车辆和目标车辆;获取多维数组,将多维数组输入到已训练的轨迹生成模型中,输出环境车辆的行驶轨迹,轨迹生成模型的参数是基于已训练的轨迹判别模型训练得到,轨迹判别模型的参数是以真实行驶轨迹大数据和虚拟行驶轨迹大数据作为输入,真实行驶轨迹大数据和虚拟行驶轨迹大数据对应的标签作为预期输出,输入轨迹判别模型训练得到;将环境车辆的行驶轨迹加入初始虚拟场景,得到第一目标虚拟场景,第一目标虚拟场景用于测试目标车辆的行驶轨迹规划算法。充分利用真实路测时采集的数据训练轨迹生成模型,通过已训练的轨迹生成模型可以生成与真实行驶轨迹类似但不完全相同的行驶轨迹,将生成的行驶轨迹输入到虚拟场景中,可以建立与真实场景类似但不完全相同的目标虚拟场景,从而可以辅助测试无人车的行驶轨迹规划算法。The above-mentioned virtual scene generation method, device, computer equipment and storage medium establish an initial virtual scene, which includes environmental vehicles and target vehicles; obtain a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the environmental vehicle The parameters of the trajectory generation model are based on the trained trajectory discriminant model training. The parameters of the trajectory discriminant model are the real driving trajectory big data and virtual driving trajectory big data as input, real driving trajectory big data and virtual driving trajectory The label corresponding to the big data is used as the expected output, and the input trajectory discrimination model is trained; the driving trajectory of the environmental vehicle is added to the initial virtual scene to obtain the first target virtual scene. The first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle. Make full use of the data collected during the real road test to train the trajectory generation model. The trained trajectory generation model can generate a driving trajectory similar to but not exactly the same as the real driving trajectory. Input the generated driving trajectory into the virtual scene to establish a Target virtual scenes with similar but not identical real scenes can assist in testing the driving trajectory planning algorithm of unmanned vehicles.
为了更好地描述和说明这里公开的那些申请的实施例和/或示例,可以参考一幅或多幅附图。用于描述附图的附加细节或示例不应当被认为是对所公开的发明、目前描述的实施例和/或示例以及目前理解的这些申请的最佳模式中的任何一者的范围的限制。In order to better describe and illustrate the embodiments and/or examples of those applications disclosed herein, one or more drawings may be referred to. The additional details or examples used to describe the drawings should not be considered as limiting the scope of any of the disclosed inventions, the currently described embodiments and/or examples, and the best mode of these applications currently understood.
图1为一个实施例中虚拟场景生成方法的应用环境示意图。Fig. 1 is a schematic diagram of an application environment of a method for generating a virtual scene in an embodiment.
图2为一个实施例中虚拟场景生成方法的流程图。Fig. 2 is a flowchart of a method for generating a virtual scene in an embodiment.
图3为一个实施例中训练轨迹判别模型的流程图。Fig. 3 is a flowchart of training a trajectory discrimination model in an embodiment.
图4为一个实施例中训练轨迹生成模型的流程图。Fig. 4 is a flowchart of a training trajectory generation model in an embodiment.
图5为一个实施例中生成目标真实行驶轨迹的流程图。Fig. 5 is a flow chart of generating a target true driving trajectory in an embodiment.
图6为另一个实施例中虚拟场景生成方法的流程图。Fig. 6 is a flowchart of a method for generating a virtual scene in another embodiment.
图7为一个实施例中测试行驶轨迹规划的流程图。Fig. 7 is a flowchart of test driving trajectory planning in an embodiment.
图8为一个实施例中虚拟场景生成装置的结构框图。Fig. 8 is a structural block diagram of an apparatus for generating a virtual scene in an embodiment.
图9为一个实施例中服务器的内部结构示意图。Fig. 9 is a schematic diagram of the internal structure of a server in an embodiment.
图10为一个实施例中终端的内部结构示意图。Fig. 10 is a schematic diagram of the internal structure of a terminal in an embodiment.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请, 并不用于限定本申请。In order to make the purpose, technical solutions, and advantages of this application clearer and clearer, the following further describes the application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.
可以理解,本申请实施例中所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一控件称为第二控件,第一控件和第二控件两者都是控件,但其不是同一控件。It can be understood that the terms "first", "second", etc. used in the embodiments of the present application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element. For example, without departing from the scope of the present application, the first control may be referred to as the second control, and both the first control and the second control are controls, but they are not the same control.
图1为一个实施例中虚拟场景生成方法的应用环境图。如图1所示,该应用环境包括终端110和服务器120,其中终端110具体可以是台式终端或移动终端,移动终端具体可以是手机、平板电脑、笔记本电脑等中的至少一种。服务器120可以是单个服务器也可以是服务器集群,终端110和服务器120通过网络进行通信。Fig. 1 is an application environment diagram of a method for generating a virtual scene in an embodiment. As shown in FIG. 1, the application environment includes a terminal 110 and a server 120, where the terminal 110 may be a desktop terminal or a mobile terminal, and the mobile terminal may be at least one of a mobile phone, a tablet computer, and a notebook computer. The server 120 may be a single server or a server cluster, and the terminal 110 and the server 120 communicate through a network.
具体地,终端110可以向服务器120发送真实行驶轨迹大数据。基于真实行驶轨迹大数据,服务器120可以训练轨迹生成模型。输入一组多维数组至已训练的轨迹生成模型,可以输出行驶轨迹。服务器120可以建立包括环境车辆和目标车辆的初始虚拟场景,将轨迹生成模型输出的行驶轨迹作为环境车辆的行驶轨迹输入至初始虚拟场景,得到目标虚拟场景。目标车辆基于行驶轨迹规划算法可以在目标虚拟场景中行驶。服务器120可以将目标虚拟场景发送至终端110进行展示。也可以在终端110上建立包括环境车辆和目标车辆的初始虚拟场景,在终端110上输入一组多维数组至已训练的轨迹生成模型得到环境车辆的行驶轨迹,将环境车辆的行驶轨迹输入至初始虚拟场景,得到目标虚拟场景。Specifically, the terminal 110 may send big data of the real driving trajectory to the server 120. Based on the big data of the real driving trajectory, the server 120 may train a trajectory generation model. Input a set of multi-dimensional arrays to the trained trajectory generation model, and the driving trajectory can be output. The server 120 may establish an initial virtual scene including the environmental vehicle and the target vehicle, and input the driving trajectory output by the trajectory generation model into the initial virtual scene as the driving trajectory of the environmental vehicle to obtain the target virtual scene. The target vehicle can drive in the target virtual scene based on the driving trajectory planning algorithm. The server 120 may send the target virtual scene to the terminal 110 for display. It is also possible to create an initial virtual scene including the environmental vehicle and the target vehicle on the terminal 110, input a set of multi-dimensional arrays to the trained trajectory generation model on the terminal 110 to obtain the driving trajectory of the environmental vehicle, and input the driving trajectory of the environmental vehicle to the initial The virtual scene is obtained, and the target virtual scene is obtained.
可以理解,上述应用场景仅是一种示例,并不构成对本申请数据处理方法的限制,例如,本申请提供的数据处理方法还可以是在终端中执行的。It can be understood that the above application scenario is only an example and does not constitute a limitation on the data processing method of this application. For example, the data processing method provided in this application may also be executed in a terminal.
图2为一个实施例中虚拟场景生成方法的流程图。如图2所示,一种虚拟场景生成方法,以应用于图1中的服务器或终端上为例进行说明,具体包括:Fig. 2 is a flowchart of a method for generating a virtual scene in an embodiment. As shown in Fig. 2, a method for generating a virtual scene is illustrated by taking the application on the server or terminal in Fig. 1 as an example, which specifically includes:
S202,建立初始虚拟场景,初始虚拟场景包括环境车辆和目标车辆。S202: Establish an initial virtual scene, where the initial virtual scene includes an environmental vehicle and a target vehicle.
其中,目标车辆是指虚拟的无人驾驶车辆。环境车辆是指位于目标车辆周围的虚拟车辆。初始虚拟场景是指包括各种模型的虚拟环境,模型包括环境车辆、目标车辆、交通灯、指示牌等等。在初始虚拟场景中,环境车辆可以无行驶行为,保持静止,环境车辆也可以有初始行驶行为。Among them, the target vehicle refers to a virtual unmanned vehicle. Ambient vehicles refer to virtual vehicles located around the target vehicle. The initial virtual scene refers to a virtual environment including various models, including environmental vehicles, target vehicles, traffic lights, signs, and so on. In the initial virtual scene, the environmental vehicle can have no driving behavior and remain stationary, and the environmental vehicle can also have an initial driving behavior.
具体地,可以获取路测数据,根据路测数据中任意一个时间点的数据建立初始虚拟场景。路测数据是指真实场景(现实场景)中,无人驾驶汽车的传感器实时采集到的传感器数据。无人驾驶汽车的传感器可以将采集到的数据上传至服务器或终端。也可以获取现有的虚拟场景,将现有的虚拟场景转换为初始虚拟场景。现有的虚拟场景可以是已用于测试 无人驾驶车辆的行驶轨迹规划算法的虚拟场景。将现有的虚拟场景转换为初始虚拟场景具体可以是将环境车辆重置为待设置行驶轨迹状态。Specifically, drive test data can be acquired, and an initial virtual scene can be established based on the data at any time point in the drive test data. Drive test data refers to the sensor data collected in real time by the sensors of the driverless car in the real scene (real scene). The sensor of the driverless car can upload the collected data to the server or terminal. It is also possible to obtain an existing virtual scene and convert the existing virtual scene into an initial virtual scene. The existing virtual scene may be a virtual scene that has been used to test the driving trajectory planning algorithm of an unmanned vehicle. Converting the existing virtual scene into the initial virtual scene may specifically be resetting the surrounding vehicle to the state of the driving track to be set.
S204,获取多维数组,将多维数组输入到已训练的轨迹生成模型中,输出环境车辆的行驶轨迹,轨迹生成模型的参数是基于已训练的轨迹判别模型训练得到,轨迹判别模型的参数是以真实行驶轨迹大数据和虚拟行驶轨迹大数据作为输入,真实行驶轨迹大数据和虚拟行驶轨迹大数据对应的标签作为预期输出,输入轨迹判别模型训练得到。S204. Obtain a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle. The big data of the driving trajectory and the big data of the virtual driving trajectory are used as input, the labels corresponding to the big data of the real driving trajectory and the virtual driving trajectory big data are used as the expected output, and the input trajectory discrimination model is trained.
其中,轨迹生成模型是用于生成环境车辆的行驶轨迹。环境车辆的行驶轨迹是指环境车辆相对于目标车辆的行驶轨迹。行驶轨迹由若干个顺序排列的轨迹点组成,各个轨迹点携带时间信息和位置信息。位置信息包括经度和纬度。各个轨迹点按照时间先后顺序排列。各个轨迹点的时间间隔相同。Among them, the trajectory generation model is used to generate the driving trajectory of the environmental vehicle. The trajectory of the environmental vehicle refers to the trajectory of the environmental vehicle relative to the target vehicle. The driving trajectory is composed of several trajectory points arranged in sequence, and each trajectory point carries time information and position information. The location information includes longitude and latitude. The track points are arranged in chronological order. The time interval of each track point is the same.
轨迹判别模型是基于预先历史已有的行驶轨迹和初始轨迹生成模型训练得到的机器学习模型。在进行轨迹判别模型训练时,采用的是有监督的训练方法。以真实行驶轨迹大数据作为输入,真实行驶轨迹大数据对应的标签作为预期输出,进行轨迹判别模型训练,以虚拟行驶轨迹大数据作为输入,虚拟行驶轨迹大数据对应的标签作为预期输出,进行轨迹判别模型训练。虚拟行驶轨迹大数据是初始轨迹生成模型的输出数据。当达到训练完成条件时,得到已训练的轨迹判别模型,该训练完成条件可以是训练达到最大迭代次数或者模型的损失值小于预设阈值中的至少一种。其中,真实行驶轨迹对应的标签表明行驶轨迹为真,虚拟行驶轨迹对应的标签表明行驶轨迹为假。在使用时,轨迹判别模型的输入数据是行驶轨迹,输出数据是行驶轨迹为真的概率。轨迹生成模型的参数是基于已训练的轨迹判别模型训练得到的机器学习模型,训练目标是让生成的虚拟行驶轨迹输入轨迹判别模型,输出的概率越接近真实行驶轨迹大数据对应的标签。在使用时,轨迹生成模型的输入数据是一个多维数组,输出数据是虚拟行驶轨迹。The trajectory discrimination model is a machine learning model based on the pre-historic driving trajectory and the initial trajectory generation model training. When training the trajectory discriminant model, a supervised training method is used. Take the real driving trajectory big data as input, the label corresponding to the real driving trajectory big data as the expected output, carry out the trajectory discrimination model training, take the virtual driving trajectory big data as the input, and the label corresponding to the virtual driving trajectory big data as the expected output to perform the trajectory Discriminant model training. The virtual driving trajectory big data is the output data of the initial trajectory generation model. When the training completion condition is reached, a trained trajectory discrimination model is obtained. The training completion condition may be at least one of the training reaching the maximum number of iterations or the loss value of the model being less than a preset threshold. Among them, the label corresponding to the real driving trajectory indicates that the driving trajectory is true, and the label corresponding to the virtual driving trajectory indicates that the driving trajectory is false. When in use, the input data of the trajectory discrimination model is the driving trajectory, and the output data is the probability that the driving trajectory is true. The parameters of the trajectory generation model are machine learning models trained based on the trained trajectory discrimination model. The training goal is to input the generated virtual driving trajectory into the trajectory discrimination model, and the output probability is closer to the label corresponding to the real driving trajectory big data. When in use, the input data of the trajectory generation model is a multi-dimensional array, and the output data is the virtual driving trajectory.
具体地,可以随机生成一个预设长度的多维数组,将多维数组输入到已训练的轨迹生成模型中,输出环境车辆的行驶轨迹。Specifically, a multi-dimensional array with a preset length can be randomly generated, and the multi-dimensional array can be input into the trained trajectory generation model to output the driving trajectory of the environmental vehicle.
在一个实施例中,每一段行驶轨迹可以用二维矩阵来表示,矩阵的行表示不同的时间点,矩阵的列表示每个时间点车辆的位置信息,比如经度、纬度。行驶轨迹也可以用一维序列来表示,序列中第一和第二个数字表示第一个轨迹点的经度和维度,序列中第三和第四个数字表示第二个轨迹点的经度和维度,依次类推。在设计初始轨迹生成模型时,可以设置行驶轨迹的输出格式。在使用时输入至已训练的轨迹生成模型的多维数组的维度和在训练时输入至轨迹生成模型的多维训练数组的维度和每个维度的长度需要保持一致。In one embodiment, each segment of the driving trajectory can be represented by a two-dimensional matrix, the rows of the matrix represent different time points, and the columns of the matrix represent the position information of the vehicle at each time point, such as longitude and latitude. The driving trajectory can also be represented by a one-dimensional sequence. The first and second numbers in the sequence represent the longitude and latitude of the first trajectory point, and the third and fourth numbers in the sequence represent the longitude and latitude of the second trajectory point. ,And so on. When designing the initial trajectory generation model, you can set the output format of the driving trajectory. The dimensions of the multidimensional array input to the trained trajectory generation model during use and the dimension of the multidimensional training array input to the trajectory generation model during training and the length of each dimension need to be consistent.
S206,将环境车辆的行驶轨迹加入初始虚拟场景,得到第一目标虚拟场景,第一目标虚拟场景用于测试目标车辆的行驶轨迹规划算法。S206: Add the driving trajectory of the environmental vehicle to the initial virtual scene to obtain a first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
具体地,通过已训练的轨迹生成模型生成环境车辆的行驶轨迹后,可以将生成的有效的行驶轨迹加入到初始虚拟场景中的环境车辆。由于生成的环境车辆的行驶轨迹为环境车辆相对于目标车辆的行驶轨迹,因此需要获取初始虚拟场景中目标车辆的位置信息,根据初始虚拟场景中目标车辆的位置信息将模型生成的行驶轨迹转换为适应该初始虚拟场景的行驶轨迹,将转换后的行驶轨迹加入到初始虚拟场景中的环境车辆,进而得到目标虚拟场景。行驶轨迹规划算法可以根据目标虚拟场景中各个模型的状态信息动态规划目标车辆的行驶轨迹,根据目标车辆的行驶轨迹可以验证和测试行驶轨迹规划算法。目标虚拟场景可以辅助行驶轨迹规划算法的开发和改进,可以一定程度上替代用真实环境进行算法测试的方式,减少算法的开发和改进成本。Specifically, after generating the driving trajectory of the environmental vehicle through the trained trajectory generation model, the generated effective driving trajectory can be added to the environmental vehicle in the initial virtual scene. Since the generated trajectory of the environmental vehicle is the trajectory of the environmental vehicle relative to the target vehicle, it is necessary to obtain the position information of the target vehicle in the initial virtual scene, and convert the driving trajectory generated by the model into Adapting to the driving trajectory of the initial virtual scene, adding the converted driving trajectory to the environmental vehicle in the initial virtual scene, and then obtaining the target virtual scene. The driving trajectory planning algorithm can dynamically plan the driving trajectory of the target vehicle according to the status information of each model in the target virtual scene, and verify and test the driving trajectory planning algorithm according to the driving trajectory of the target vehicle. The target virtual scene can assist the development and improvement of the driving trajectory planning algorithm, which can replace the method of algorithm testing in the real environment to a certain extent, and reduce the cost of algorithm development and improvement.
由于可以生成大量的多维数组,进而通过已训练的轨迹生成模型可以生成大量行驶轨迹,从而可以得到大量的目标虚拟场景。那么利用已训练的轨迹生成模型可以随时生成目标虚拟场景,随时验证和测试行驶轨迹规划算法,提高算法开发和改进效率。Since a large number of multi-dimensional arrays can be generated, and a large number of driving trajectories can be generated through the trained trajectory generation model, a large number of target virtual scenes can be obtained. Then the trained trajectory generation model can be used to generate the target virtual scene at any time, verify and test the driving trajectory planning algorithm at any time, and improve the algorithm development and efficiency.
在一个实施例中,可以训练专门用于生成正常行驶行为对应的行驶轨迹的轨迹生成模型,也可以训练专门用于生成异常行驶行为对应的行驶轨迹的轨迹生成模型。具体可以将真实轨迹大数据进行分类,分为正常行驶行为对应的真实行驶轨迹大数据和异常行驶行为对应的真实行驶轨迹大数据。正常行驶行为对应的真实行驶轨迹大数据是未发生交通事故或没有违反交通规则的真实行驶轨迹大数据。正常行驶行为对应的真实行驶轨迹大数据是发生交通事故或违反交通规则的真实行驶轨迹大数据。利用正常行驶行为对应的真实行驶轨迹大数据训练用于生成正常行驶行为对应的行驶轨迹的轨迹生成模型。利用异常行驶行为对应的真实行驶轨迹大数据训练用于生成异常行驶行为对应的行驶轨迹的轨迹生成模型。在使用时,可以根据需要选择相应的轨迹生成模型,有针对性地测试行驶轨迹规划算法,进一步提高算法开发和改进效率。In one embodiment, a trajectory generation model dedicated to generating a driving trajectory corresponding to a normal driving behavior can be trained, or a trajectory generation model dedicated to generating a driving trajectory corresponding to an abnormal driving behavior can be trained. Specifically, real trajectory big data can be classified into real driving trajectory big data corresponding to normal driving behavior and real driving trajectory big data corresponding to abnormal driving behavior. The real driving trajectory big data corresponding to normal driving behavior is the real driving trajectory big data without traffic accidents or traffic violations. The real driving trajectory big data corresponding to the normal driving behavior is the real driving trajectory big data of traffic accidents or violations of traffic rules. The real driving trajectory big data corresponding to the normal driving behavior is used to train the trajectory generation model used to generate the driving trajectory corresponding to the normal driving behavior. The real driving trajectory big data corresponding to the abnormal driving behavior is used to train the trajectory generation model used to generate the driving trajectory corresponding to the abnormal driving behavior. When in use, you can select the corresponding trajectory generation model according to your needs, test the driving trajectory planning algorithm in a targeted manner, and further improve the algorithm development and improve the efficiency.
上述虚拟场景生成方法,通过建立初始虚拟场景,初始虚拟场景包括环境车辆和目标车辆;获取多维数组,将多维数组输入到已训练的轨迹生成模型中,输出环境车辆的行驶轨迹,轨迹生成模型的参数是基于已训练的轨迹判别模型训练得到,轨迹判别模型的参数是以真实行驶轨迹大数据和虚拟行驶轨迹大数据作为输入,真实行驶轨迹大数据和虚拟行驶轨迹大数据对应的标签作为预期输出,输入轨迹判别模型训练得到;将环境车辆的行驶轨迹加入初始虚拟场景,得到第一目标虚拟场景,第一目标虚拟场景用于测试目标车辆的 行驶轨迹规划算法。充分利用路测数据训练轨迹生成模型,通过已训练的轨迹生成模型可以生成与真实行驶轨迹类似但不完全相同的行驶轨迹,将生成的行驶轨迹输入到虚拟场景中,可以建立与真实场景类似但不完全相同的目标虚拟场景,从而可以辅助测试无人车的行驶轨迹规划算法。The above virtual scene generation method is to establish an initial virtual scene, which includes the environmental vehicle and the target vehicle; obtain a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle and the trajectory generation model The parameters are obtained based on the training of the trained trajectory discrimination model. The parameters of the trajectory discrimination model take the real driving trajectory big data and the virtual driving trajectory big data as input, and the labels corresponding to the real driving trajectory big data and the virtual driving trajectory big data are the expected output. , The input trajectory discrimination model is trained; the driving trajectory of the environmental vehicle is added to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle. Make full use of the road test data to train the trajectory generation model. The trained trajectory generation model can generate a driving trajectory that is similar but not exactly the same as the real driving trajectory. Input the generated driving trajectory into the virtual scene to create a similar but real scene. The target virtual scene is not exactly the same, which can assist in testing the driving trajectory planning algorithm of the unmanned vehicle.
在一个实施例中,如图3所示,步骤S202,也就是建立初始虚拟场景之前,还包括:In one embodiment, as shown in FIG. 3, step S202, that is, before establishing the initial virtual scene, further includes:
S302,建立初始轨迹生成模型,轨迹生成模型的输入为多维数组,输出为虚拟行驶轨迹。S302: Establish an initial trajectory generation model, the input of the trajectory generation model is a multi-dimensional array, and the output is a virtual driving trajectory.
其中,虚拟行驶轨迹是指在计算机设备上生成的行驶轨迹。虚拟行驶轨迹是相对于真实行驶轨迹而言的。真实行驶轨迹是指真实环境中真实环境车辆相对于真实无人驾驶车辆的行驶轨迹,可以通过相关的仪器设备采集得到。Among them, the virtual driving trajectory refers to the driving trajectory generated on a computer device. The virtual driving trajectory is relative to the real driving trajectory. The real driving trajectory refers to the driving trajectory of the real environment vehicle relative to the real unmanned vehicle in the real environment, which can be collected by relevant equipment.
具体地,可以设计一个初始轨迹生成模型,该初始轨迹生成模型的输入数据为多维数组,输出数据为虚拟行驶轨迹。初始轨迹生成模型的参数可以是随机设置的。初始轨迹生成模型的参数也可以是技术人员根据机器学习的先验知识设置的,以缩短初始轨迹生成模型的训练时间。Specifically, an initial trajectory generation model can be designed, the input data of the initial trajectory generation model is a multi-dimensional array, and the output data is a virtual driving trajectory. The parameters of the initial trajectory generation model can be set randomly. The parameters of the initial trajectory generation model can also be set by technicians based on the prior knowledge of machine learning, so as to shorten the training time of the initial trajectory generation model.
S304,获取多个多维训练数组,将各个多维训练数组输入到初始轨迹生成模型,输出各个多维训练数组对应的虚拟行驶轨迹,虚拟行驶轨迹对应第一标签。S304: Obtain multiple multi-dimensional training arrays, input each multi-dimensional training array to the initial trajectory generation model, and output a virtual driving trajectory corresponding to each multi-dimensional training array, and the virtual driving trajectory corresponds to the first label.
S306,获取多组目标真实行驶轨迹,目标真实行驶轨迹对应第二标签。S306: Acquire multiple sets of target real driving trajectories, and the target real driving trajectories correspond to the second label.
其中,多维训练数组是用于训练初始轨迹生成模型的输入数据。目标真实行驶轨迹为真实场景中真实车辆交互比较多的真实行驶轨迹,例如A车突然减速导致B车也不得不跟着减速以防止追尾,又如旁边车道的A车从B车前方并道导致B车减速。Among them, the multi-dimensional training array is the input data used to train the initial trajectory generation model. The target real driving trajectory is the real driving trajectory in the real scene where there is more interaction between real vehicles. For example, car A suddenly decelerates and car B has to slow down to prevent rear-end collision, and car A in the side lane merges in front of car B, causing B The car slowed down.
具体地,可以生成多个用于训练的维度和每一维的长度一致的多维训练数组。将各个多维训练数组分别输入到初始轨迹生成模型,初始轨迹生成模型分别输出各个多维训练数组各自对应的虚拟行驶轨迹。由于初始轨迹生成模型的参数并不是最优的,初始轨迹生成模型输出的虚拟行驶轨迹显然与真实行驶轨迹差距较大。因此,可以设置虚拟行驶轨迹对应的标签和真实行驶轨迹对应的标签为互斥标签。例如,真实行驶轨迹对应的标签为1,虚拟行驶轨迹对应的标签为0。Specifically, multiple multi-dimensional training arrays whose dimensions used for training are the same as the length of each dimension can be generated. Each multi-dimensional training array is input to the initial trajectory generation model, and the initial trajectory generation model outputs the virtual driving trajectory corresponding to each of the multi-dimensional training arrays. Since the parameters of the initial trajectory generation model are not optimal, the virtual driving trajectory output by the initial trajectory generation model is obviously far from the real driving trajectory. Therefore, the label corresponding to the virtual driving trajectory and the label corresponding to the real driving trajectory can be set as mutually exclusive labels. For example, the label corresponding to the real driving trajectory is 1, and the label corresponding to the virtual driving trajectory is 0.
S308,将各组目标真实行驶轨迹和各组虚拟行驶轨迹分别输入到初始轨迹判别模型,输出各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果。S308, each group of target real driving trajectories and each group of virtual driving trajectories are respectively input to the initial trajectory discrimination model, and the trajectory discrimination results of each group of target real driving trajectories and the trajectory discrimination results of each group of virtual driving trajectories are output.
具体地,可以设计一个初始轨迹判别模型。初始轨迹判别模型的参数可以是随机设置的。初始轨迹判别模型的参数也可以是技术人员根据机器学习的先验知识设置的,以缩短 初始轨迹判别模型的训练时间。将各组目标真实行驶轨迹分别输入到初始轨迹判别模型,初始轨迹判别模型分别输出各组目标真实行驶轨迹的轨迹判别结果,将各组虚拟行驶轨迹分别输入到初始轨迹判别模型,初始轨迹判别模型分别输出各组虚拟行驶轨迹的轨迹判别结果。轨迹判别结果可以是行驶轨迹为真的概率。Specifically, an initial trajectory discrimination model can be designed. The parameters of the initial trajectory discrimination model can be set randomly. The parameters of the initial trajectory discrimination model can also be set by technicians based on the prior knowledge of machine learning to shorten the training time of the initial trajectory discrimination model. Input the real driving trajectories of each group of targets into the initial trajectory discrimination model, and the initial trajectory discrimination model outputs the trajectory discrimination results of the real driving trajectories of each group of targets, and input the virtual driving trajectories of each group into the initial trajectory discrimination model and the initial trajectory discrimination model. The trajectory discrimination results of each group of virtual driving trajectories are respectively output. The trajectory discrimination result may be the probability that the driving trajectory is true.
S310,当各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果达到预设训练完成条件时,得到已训练的轨迹判别模型。S310: Obtain a trained trajectory discrimination model when the trajectory discrimination results of each group of target real driving trajectories and the trajectory discrimination results of each group of virtual driving trajectories reach a preset training completion condition.
具体地,可以将虚拟行驶轨迹的轨迹判别结果和第一标签进行对比,得到第一对比结果,将目标真实行驶轨迹的轨迹判别结果和第二标签进行对比,得到第二对比结果,根据第一对比结果和第二对比结果对初始轨迹判别模型的参数进行调整。比如,将虚拟行驶轨迹的轨迹判别结果和第一标签进行相减,得到第一差异计算结果,将目标真实行驶轨迹的轨迹判别结果和第二标签进行相减,得到第二差异计算结果,然后根据第一差异计算结果和第二差异结果对初始轨迹判别模型的参数进行调整。例如,第一标签的标签数值为0,虚拟行驶轨迹的轨迹判别结果为0.4,那么第一差异计算结果为-log(1-0.4)=0.510,第二标签的标签数值为1,目标真实行驶轨迹的轨迹判别结果为0.9,那么第二差异计算结果为-log(0.9)=0.105,可以取第一差异计算结果和第二差异计算结果的平均值0.306对初始轨迹判别模型的参数进行调整。也可以通过随机梯度下降法对初始轨迹判别模型的参数进行调整。其中,训练完成条件用于判断模型是否训练完成。该训练完成条件是预先根据需要进行设置的,包括训练次数达到最大的迭代此时或者差异计算结果小于设定的值中的至少一种。Specifically, the trajectory discrimination result of the virtual driving trajectory can be compared with the first label to obtain the first comparison result, and the trajectory discrimination result of the target real driving trajectory can be compared with the second label to obtain the second comparison result. The comparison result and the second comparison result adjust the parameters of the initial trajectory discrimination model. For example, the trajectory discrimination result of the virtual driving trajectory is subtracted from the first label to obtain the first difference calculation result, and the trajectory discrimination result of the target real driving trajectory is subtracted from the second label to obtain the second difference calculation result, and then The parameters of the initial trajectory discrimination model are adjusted according to the first difference calculation result and the second difference result. For example, the label value of the first label is 0, and the trajectory discrimination result of the virtual driving trajectory is 0.4, then the first difference calculation result is -log(1-0.4)=0.510, the label value of the second label is 1, and the target real travel The trajectory discrimination result of the trajectory is 0.9, then the second difference calculation result is -log(0.9)=0.105, and the average value of the first difference calculation result and the second difference calculation result 0.306 can be used to adjust the parameters of the initial trajectory discrimination model. The parameters of the initial trajectory discrimination model can also be adjusted by the stochastic gradient descent method. Among them, the training completion condition is used to judge whether the training of the model is completed. The training completion condition is set in advance as required, and includes at least one of the iteration when the number of training reaches the maximum or the difference calculation result is less than the set value.
上述实施例中,通过真实行驶轨迹和对应的标签,以及虚拟行驶轨迹和对应的标签进行模型训练,当达到训练完成条件时,得到已训练的轨迹判别模型。In the foregoing embodiment, the model training is performed through the real driving trajectory and the corresponding label, and the virtual driving trajectory and the corresponding label, and when the training completion condition is reached, the trained trajectory discrimination model is obtained.
在一个实施例中,如图4所示,步骤S310,也就是当各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果达到预设训练完成条件时,得到已训练的轨迹判别模型,包括:In one embodiment, as shown in FIG. 4, step S310, that is, when the trajectory discrimination result of each group of target real driving trajectory and the trajectory discrimination result of each group of virtual driving trajectory reach the preset training completion condition, obtain the trained The trajectory discrimination model includes:
S402,将各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果输入到第一目标损失函数中计算,得到第一目标损失值。S402: Input the trajectory discrimination results of each group of target real driving trajectories and the trajectory discrimination results of each group of virtual driving trajectories into a first target loss function for calculation to obtain a first target loss value.
S404,当第一目标损失值未超过第一预设阈值时,达到预设训练完成条件,得到已训练的轨迹判别模型。S404: When the first target loss value does not exceed the first preset threshold, the preset training completion condition is reached, and the trained trajectory discrimination model is obtained.
其中,目标损失函数用于衡量模型的轨迹判别训练结果的好坏,通过损失值来体现。通常来说损失值越小,轨迹判别训练结果就越好,训练得到的模型就越准确。Among them, the target loss function is used to measure the trajectory of the model to judge whether the training result is good or bad, which is reflected by the loss value. Generally speaking, the smaller the loss value, the better the trajectory discrimination training result, and the more accurate the trained model.
具体地,第一预设阈值是预先设置好的损失值,是可以根据需要进行设置的。当第一目标损失值超过预设阈值时,可以使用第一目标损失值对初始轨迹判别模型的模型参数进行调整,得到更新的初始轨迹判别模型。然后重新获取到目标真实轨迹大数据和虚拟轨迹大数据对更新的初始轨迹判别模型进行训练。直到模型训练得到的第一目标损失值未超过第一预设阈值时,将最后一次训练时的轨迹判别模型作为已训练的轨迹判别模型。Specifically, the first preset threshold is a preset loss value, which can be set as required. When the first target loss value exceeds the preset threshold, the first target loss value can be used to adjust the model parameters of the initial trajectory discrimination model to obtain an updated initial trajectory discrimination model. Then the target real trajectory big data and virtual trajectory big data are acquired again to train the updated initial trajectory discrimination model. Until the first target loss value obtained by the model training does not exceed the first preset threshold, the trajectory discrimination model at the last training is used as the trained trajectory discrimination model.
在一个实施例中,第一目标损失函数是根据需要设置的损失函数,比如,可以是交叉熵损失函数,该交叉熵损失函数可以如下所示:In an embodiment, the first objective loss function is a loss function set according to needs, for example, it may be a cross-entropy loss function, and the cross-entropy loss function may be as follows:
其中,y
i表示第i个行驶轨迹对应的标签。当第i个行驶轨迹为虚拟行驶轨迹时,第i个行驶轨迹对应的标签为0。当第i个行驶轨迹为目标真实行驶轨迹时,第i个行驶轨迹对应的标签为1。p
i表示第i个行驶轨迹对应的轨迹判别结果。
Among them, y i represents the label corresponding to the i-th driving trajectory. When the i-th driving trajectory is a virtual driving trajectory, the label corresponding to the i-th driving trajectory is 0. When the i-th driving trajectory is the target real driving trajectory, the label corresponding to the i-th driving trajectory is 1. p i represents the trajectory discrimination result corresponding to the i-th driving trajectory.
上述实施例中,通过第一目标损失函数的目标值来判读是否符合训练完成条件,当第一目标损失值未超过第一预设阈值时,达到预设训练完成条件,能够提高训练得到的轨迹判别模型的准确性。In the above embodiment, the target value of the first target loss function is used to determine whether the training completion condition is met. When the first target loss value does not exceed the first preset threshold, the preset training completion condition is reached, which can improve the training track. The accuracy of the discriminant model.
在一个实施例中,还包括:逐步调整初始轨迹生成模型的参数,将各个多维训练数组输入到每次调整后的初始轨迹生成模型,将每次调整后的初始轨迹模型的输出数据输入到已训练的轨迹判别模型,输出各个多维训练数组对应的轨迹判别结果;将各个多维训练数组对应的轨迹判别结果输入到第二目标损失函数中计算,得到第二目标损失值;当第二目标损失值未超过第二预设阈值时,将最后一次调整后的参数作为轨迹生成模型的目标参数,得到已训练的轨迹判别模型。具体地,当训练好轨迹判别模型后,可以根据已训练的轨迹判别模型训练初始轨迹生成模型。可以通过随机梯度下降法对初始轨迹判别模型的参数进行调整。将各个多维训练数组输入到每次调整后的初始轨迹生成模型,将每次调整后的初始轨迹模型的输出数据输入到已训练的轨迹判别模型,输出各个多维训练数组对应的轨迹判别结果;将各个多维训练数组对应的轨迹判别结果输入到第二目标损失函数中计算,得到第二目标损失值。当第二目标损失值超过第二预设阈值时,可以使用第二目标损失值对初始轨迹生成模型的模型参数进行调整,得到更新的初始轨迹生成模型。然后重新获取到多维训练数组对更新的初始轨迹生成模型进行训练。直到模型训练得到的第二目标损失值未超过第二预设阈值时,将最后一次训练时调整后的参数作为轨迹生成模型的目标参数,得到已训练的轨迹判别模型。In one embodiment, it further includes: gradually adjusting the parameters of the initial trajectory generation model, inputting each multi-dimensional training array to the initial trajectory generation model after each adjustment, and inputting the output data of the initial trajectory model after each adjustment to the The trained trajectory discrimination model outputs the trajectory discrimination results corresponding to each multi-dimensional training array; the trajectory discrimination results corresponding to each multi-dimensional training array are input into the second target loss function to calculate, and the second target loss value is obtained; when the second target loss value When the second preset threshold is not exceeded, the last adjusted parameter is used as the target parameter of the trajectory generation model to obtain the trained trajectory discrimination model. Specifically, after the trajectory discrimination model is trained, the initial trajectory generation model can be trained based on the trained trajectory discrimination model. The parameters of the initial trajectory discrimination model can be adjusted by the stochastic gradient descent method. Input each multi-dimensional training array to the initial trajectory generation model after each adjustment, input the output data of the initial trajectory model after each adjustment to the trained trajectory discrimination model, and output the trajectory discrimination results corresponding to each multi-dimensional training array; The trajectory discrimination result corresponding to each multi-dimensional training array is input into the second target loss function for calculation, and the second target loss value is obtained. When the second target loss value exceeds the second preset threshold, the second target loss value may be used to adjust the model parameters of the initial trajectory generation model to obtain an updated initial trajectory generation model. Then re-acquire the multi-dimensional training array to train the updated initial trajectory generation model. Until the second target loss value obtained by the model training does not exceed the second preset threshold, the parameters adjusted during the last training are used as the target parameters of the trajectory generation model to obtain the trained trajectory discrimination model.
在一个实施例中,第二目标损失函数是根据需要设置的损失函数,比如,可以是交叉熵损失函数,该交叉熵损失函数可以如下所示,它的目的是让多维训练数组对应的虚拟行驶轨迹被判别为真的概率p
j变大:
In one embodiment, the second objective loss function is a loss function set according to needs, for example, it may be a cross-entropy loss function, the cross-entropy loss function may be as shown below, and its purpose is to make the virtual driving corresponding to the multi-dimensional training array The probability that the trajectory is judged to be true p j becomes larger:
其中,M表示多维训练数组的总数目。p
j表示第j个多维训练数组对应的轨迹判别结果。
Among them, M represents the total number of multi-dimensional training arrays. p j represents the trajectory discrimination result corresponding to the j-th multi-dimensional training array.
上述实施例中,根据已训练的轨迹判别模型训练轨迹生成模型,可以让训练得到的轨迹生成模型生成的虚拟行驶轨迹被判别为真实行驶轨迹的概率接近1,以假乱真。In the above embodiment, the trajectory generation model is trained according to the trained trajectory discrimination model, so that the virtual driving trajectory generated by the trained trajectory generation model can be determined as a true driving trajectory with a probability close to 1, which is false.
在一个实施例中,如图5所示,步骤S306,也就是获取多组目标真实行驶轨迹之前,还包括:In one embodiment, as shown in FIG. 5, step S306, that is, before obtaining multiple sets of target real driving trajectories, further includes:
S502,获取行驶数据,对行驶数据进行划分得到多组候选行驶数据。S502: Acquire driving data, and divide the driving data to obtain multiple sets of candidate driving data.
具体地,无人驾驶车辆在进行实际路测时会通过多个不同功能的传感器实时采集记录大量的数据,包括无人驾驶车辆本身的状态以及周围环境的状态,其中无人驾驶车辆本身的状态包括本身的形状、大小、位置、速度,周围环境的状态包括周围环境车辆的形状、大小、位置、速度,周围交通灯的位置等信息。可以将实时采集到的数据根据时间进行整合得到行驶数据,行驶数据包括各个时间点无人驾驶车辆的状态和周围环境的状态。在获取到行驶数据后,需要对行驶数据进行筛选处理,筛选出无人驾驶车辆和周围真实车辆之间存在影响轨迹行为的片段,比如前方真实车辆突然减速导致无人驾驶车辆也不得不跟着减速以防止追尾,又如旁边车道的真实车辆从无人驾驶车辆前方并道导致主车减速。在筛选之前,可以对行驶数据进行预处理,将行驶数据划分为多组候选行驶数据,提高筛选效率。行驶数据划分具体可以是根据时间信息划分,划分为若干组时间长度一致的候选行驶数据,也可以是根据位置信息划分,划分为若干组行驶距离相同的候选行驶数据。划分后,还可以对候选行驶数据进行滤除,进一步提高筛选效率。候选行驶数据滤除具体可以是滤除不存在环境车辆的候选行驶数据。Specifically, an unmanned vehicle will collect and record a large amount of data in real time through multiple sensors with different functions during actual road testing, including the state of the unmanned vehicle itself and the state of the surrounding environment, including the state of the unmanned vehicle itself. Including its own shape, size, location, and speed. The state of the surrounding environment includes information such as the shape, size, location, and speed of the surrounding vehicles, and the location of the surrounding traffic lights. The data collected in real time can be integrated according to time to obtain driving data. The driving data includes the state of the unmanned vehicle at each time point and the state of the surrounding environment. After the driving data is obtained, the driving data needs to be filtered and processed to filter out the fragments that affect the trajectory behavior between the unmanned vehicle and the surrounding real vehicles. For example, the sudden deceleration of the real vehicle in front causes the unmanned vehicle to also decelerate. In order to prevent rear-end collision, another example is that the real vehicle in the side lane merges from the front of the unmanned vehicle to cause the main vehicle to decelerate. Before screening, the driving data can be preprocessed, and the driving data can be divided into multiple groups of candidate driving data to improve the efficiency of screening. The driving data division may specifically be divided into groups of candidate driving data with the same length of time according to time information, or divided into groups of candidate driving data with the same driving distance according to location information. After the division, the candidate driving data can also be filtered out to further improve the screening efficiency. The candidate driving data filtering may specifically be filtering candidate driving data where there is no environmental vehicle.
S504,根据预设条件对多组候选行驶数据进行筛选得到多组目标行驶数据,预设条件是基于真实车辆之间的影响轨迹行为设置的。In S504, multiple sets of candidate driving data are screened according to preset conditions to obtain multiple sets of target driving data, and the preset conditions are set based on behaviors affecting trajectories between real vehicles.
S506,分别从各组目标行驶数据中提取真实车辆的行驶轨迹,根据提取的行驶轨迹确定目标真实行驶轨迹,得到多组目标真实行驶轨迹。S506: Extract the driving trajectory of the real vehicle from each group of target driving data, determine the target real driving trajectory according to the extracted driving trajectory, and obtain multiple sets of target real driving trajectories.
具体地,无人驾驶车辆在进行实际路测时会实时采集记录大量的数据,包括无人驾驶车辆本身的状态以及周围环境的状态,其中周围环境的状态包括周围环境车辆的形状大小、位置、速度,周围交通灯的位置等信息。可以根据需要设置筛选条件,将筛选条件编写成一个返回逻辑判断值的数学函数,只要把候选行驶数据输入进去,如果函数返回为真,那么这个候选行驶数据就是目标行驶数据。可以从目标行驶数据中提取无人驾驶车辆的行驶轨迹和环境车辆的行驶轨迹,根据提取的行驶轨迹确定目标真实行驶轨迹。具体可以是将环境车辆的行驶轨迹的行驶轨迹减去无人驾驶车辆的行驶轨迹得到目标真实行驶轨迹。Specifically, an unmanned vehicle will collect and record a large amount of data in real time during actual road testing, including the state of the unmanned vehicle itself and the state of the surrounding environment. The state of the surrounding environment includes the shape, size, location, and location of the surrounding vehicle. Speed, location of surrounding traffic lights and other information. You can set the filter conditions as needed and write the filter conditions as a mathematical function that returns the logical judgment value. Just input the candidate driving data. If the function returns true, then the candidate driving data is the target driving data. The driving trajectory of the unmanned vehicle and the driving trajectory of the environmental vehicle can be extracted from the target driving data, and the actual driving trajectory of the target can be determined according to the extracted driving trajectory. Specifically, it may be that the driving trajectory of the driving trajectory of the environmental vehicle is subtracted from the driving trajectory of the unmanned vehicle to obtain the target real driving trajectory.
上述实施例中,获取行驶数据,对行驶数据进行划分得到多组候选行驶数据;根据预设条件对对多组候选行驶数据进行筛选得到多组目标行驶数据,预设条件是基于真实车辆之间的影响轨迹行为设置的;分别从各组目标行驶数据中提取真实车辆的行驶轨迹,根据提取的行驶轨迹确定目标真实行驶轨迹,得到多组目标真实行驶轨迹。从行驶数据中得到目标真实行驶轨迹,方便后续将目标真实行驶轨迹作为训练数据训练轨迹生成模型。In the above embodiment, the driving data is obtained, and the driving data is divided to obtain multiple sets of candidate driving data; the multiple sets of candidate driving data are filtered according to preset conditions to obtain multiple sets of target driving data, and the preset conditions are based on the actual vehicle Influencing the trajectory behavior setting; extract the driving trajectory of the real vehicle from each group of target driving data, determine the target real driving trajectory according to the extracted driving trajectory, and obtain multiple sets of target real driving trajectories. Obtain the target's true driving trajectory from the driving data, so that it is convenient to use the target's true driving trajectory as training data to train the trajectory generation model.
在一个实施例中,如图6所示,虚拟场景生成方法还包括:In an embodiment, as shown in FIG. 6, the virtual scene generation method further includes:
S602,获取环境车辆和目标车辆的当前状态。S602: Acquire the current state of the environmental vehicle and the target vehicle.
S604,基于预设算法,根据环境车辆和目标车辆的当前状态确定环境车辆的目标状态。S604: Based on a preset algorithm, determine the target state of the environmental vehicle according to the current state of the environmental vehicle and the target vehicle.
S606,将环境车辆的目标状态更新至初始虚拟场景,得到第二目标虚拟场景。S606: Update the target state of the environmental vehicle to the initial virtual scene to obtain a second target virtual scene.
具体地,利用真实数据来构建初始虚拟场景,可以在真实数据的基础上,给环境车辆添加一些智能行为。例如,真实数据中,某一辆真实环境车辆在无人驾驶车辆左侧车道上匀速向前行驶。但是在目标虚拟环境中,需要改变和调试目标车辆的行驶轨迹规划算法,例如,此时目标车辆开始从环境车辆的右前方并入左侧车道。如果环境车辆完全依照真实数据中的行为驾驶,那么很有可能在并道的过程中,环境车辆会追尾目标车辆。因此,可以给环境车辆加入防止追尾的智能行为,那么目标车辆并道的过程中环境车辆会根据相对位置和速度去主动减速,从而避免追尾的可能。给环境车辆添加智能行为具体可以是基于预设算法,例如自适应巡航算法、防止追尾算法,根据环境车辆的当前状态、目标车辆的当前状态来实时计算出下一个时间点环境车辆的目标状态,将实时计算得到的环境车辆的目标状态更新至初始虚拟场景中,得到另一个目标虚拟场景。这样一来,基于同一份真实数据,技术人员可以灵活调整主车的规划算法,进而大大提高对数据的利用率。Specifically, using real data to construct an initial virtual scene can add some intelligent behaviors to the surrounding vehicles on the basis of real data. For example, in real data, a certain real environment vehicle is driving forward at a constant speed in the left lane of an unmanned vehicle. However, in the target virtual environment, it is necessary to change and debug the driving trajectory planning algorithm of the target vehicle. For example, at this time, the target vehicle starts to merge into the left lane from the front right of the environment vehicle. If the environmental vehicle drives completely according to the behavior in the real data, it is very likely that the environmental vehicle will rear-end the target vehicle during the merging process. Therefore, the intelligent behavior to prevent rear-end collision can be added to the environmental vehicle, so that the environmental vehicle will actively decelerate according to the relative position and speed during the merging of the target vehicle, thereby avoiding the possibility of rear-end collision. Adding intelligent behaviors to environmental vehicles can specifically be based on preset algorithms, such as adaptive cruise algorithm and rear-end collision prevention algorithm. According to the current state of the environmental vehicle and the current state of the target vehicle, the target state of the environmental vehicle at the next time point is calculated in real time. The target state of the environmental vehicle obtained by real-time calculation is updated to the initial virtual scene to obtain another target virtual scene. In this way, based on the same piece of real data, technicians can flexibly adjust the planning algorithm of the main vehicle, thereby greatly improving the utilization of data.
在一个实施例中,如图7所示,还包括:In an embodiment, as shown in FIG. 7, the method further includes:
S702,获取目标车辆基于行驶轨迹规划算法在目标虚拟场景中的目标行驶轨迹,目标虚拟场景包括第一目标虚拟场景和第二目标虚拟场景中的至少一种;S702: Obtain a target driving trajectory of the target vehicle in a target virtual scene based on a driving trajectory planning algorithm, where the target virtual scene includes at least one of a first target virtual scene and a second target virtual scene;
S704,获取环境车辆在目标虚拟场景的目标行驶轨迹。S704: Acquire a target driving trajectory of the environmental vehicle in the target virtual scene.
S706,当目标车辆的目标行驶轨迹和环境车辆的目标行驶轨迹相交时,生成反馈信息发送至预设终端。S706: When the target driving trajectory of the target vehicle intersects the target driving trajectory of the environmental vehicle, generate feedback information and send it to a preset terminal.
S708,接收预设终端发送的调整后的行驶轨迹规划算法。S708: Receive an adjusted driving trajectory planning algorithm sent by a preset terminal.
S710,基于调整后的行驶轨迹规划算法重新规划目标车辆的目标行驶轨迹。S710: Re-plan the target driving trajectory of the target vehicle based on the adjusted driving trajectory planning algorithm.
其中,目标车辆的目标行驶轨迹和环境车辆的目标行驶轨迹相交是指目标车辆的目标行驶轨迹和环境车辆的目标行驶轨迹中同一时间点对应的轨迹点重合。Wherein, the intersection of the target driving trajectory of the target vehicle and the target driving trajectory of the environmental vehicle means that the target driving trajectory of the target vehicle and the target driving trajectory of the environmental vehicle coincide with the trajectory points corresponding to the same time point.
具体地,目标虚拟场景可以用于测试行驶轨迹规划算法。可以获取目标车辆基于行驶轨迹规划算法在第一目标虚拟场景或者第二目标虚拟场景中的目标行驶轨迹,获取环境车辆在第一目标虚拟场景或者第二目标虚拟场景中的目标行驶轨迹。当检测到目标车辆的目标行驶轨迹和环境车辆的目标行驶轨迹在同一目标虚拟场景中相交时,表明目标车辆和环境车辆在第一目标虚拟场景或者第二目标虚拟场景中发送碰撞,显然行驶轨迹规划算法存在漏洞。此时,可以根据相交的目标行驶轨迹生成反馈信息,发送至技术人员对应的终端,以便技术人员及时调试行驶轨迹规划算法。进一步的,可以接收技术人员通过终端发送的调整后的行驶轨迹规划算法,在第一目标虚拟场景或者第二目标虚拟场景中基于调整后的行驶轨迹规划算法重新规划目标车辆的目标行驶轨迹,测试调整后的行驶轨迹规划算法是否解决了先前的漏洞。Specifically, the target virtual scene can be used to test the driving trajectory planning algorithm. The target driving trajectory of the target vehicle in the first target virtual scene or the second target virtual scene based on the driving trajectory planning algorithm can be acquired, and the target driving trajectory of the environmental vehicle in the first target virtual scene or the second target virtual scene can be acquired. When it is detected that the target driving trajectory of the target vehicle and the target driving trajectory of the environmental vehicle intersect in the same target virtual scene, it indicates that the target vehicle and the environmental vehicle send a collision in the first target virtual scene or the second target virtual scene. Obviously the driving trajectory There are loopholes in the planning algorithm. At this time, feedback information can be generated based on the intersecting target driving trajectory and sent to the corresponding terminal of the technician, so that the technician can debug the driving trajectory planning algorithm in time. Further, it is possible to receive the adjusted driving trajectory planning algorithm sent by the technician through the terminal, and re-plan the target driving trajectory of the target vehicle based on the adjusted driving trajectory planning algorithm in the first target virtual scene or the second target virtual scene, and test Whether the adjusted driving trajectory planning algorithm solves the previous loopholes.
应该理解的是,虽然上述流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the above flowchart are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in the above flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The order of execution is not necessarily performed sequentially, but may be performed alternately or alternately with other steps or at least a part of sub-steps or stages of other steps.
图8为一个实施例中虚拟场景生成装置的结构框图。如图8所示,一种虚拟场景生成装置,包括初始虚拟场景建立模块802、行驶轨迹获取模块804和第一目标虚拟场景确定模块806。其中:Fig. 8 is a structural block diagram of an apparatus for generating a virtual scene in an embodiment. As shown in FIG. 8, a virtual scene generating device includes an initial virtual scene establishing module 802, a driving track acquisition module 804, and a first target virtual scene determining module 806. in:
初始虚拟场景建立模块802,用于建立初始虚拟场景,初始虚拟场景包括环境车辆和目标车辆。The initial virtual scene establishment module 802 is used to establish an initial virtual scene, and the initial virtual scene includes an environmental vehicle and a target vehicle.
行驶轨迹获取模块804,用于获取多维数组,将多维数组输入到已训练的轨迹生成模 型中,输出环境车辆的行驶轨迹,轨迹生成模型的参数是基于已训练的轨迹判别模型训练得到,轨迹判别模型的参数是以真实行驶轨迹大数据和虚拟行驶轨迹大数据作为输入,真实行驶轨迹大数据和虚拟行驶轨迹大数据对应的标签作为预期输出,输入轨迹判别模型训练得到。The driving trajectory acquisition module 804 is used to acquire a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle. The parameters of the trajectory generation model are obtained by training based on the trained trajectory discrimination model, and the trajectory discrimination The parameters of the model take the real driving trajectory big data and the virtual driving trajectory big data as input, the labels corresponding to the real driving trajectory big data and the virtual driving trajectory big data as the expected output, and the input trajectory discrimination model is trained.
第一目标虚拟场景确定模块806,用于将环境车辆的行驶轨迹加入初始虚拟场景,得到第一目标虚拟场景,第一目标虚拟场景用于测试目标车辆的行驶轨迹规划算法。The first target virtual scene determination module 806 is configured to add the driving trajectory of the environmental vehicle to the initial virtual scene to obtain the first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
在一个实施例中,虚拟场景生成装置还包括:In an embodiment, the virtual scene generating apparatus further includes:
训练模块,用于获取多个多维训练数组,将各个多维训练数组输入到初始轨迹生成模型,输出各个多维训练数组对应的虚拟行驶轨迹,虚拟行驶轨迹对应第一标签;获取多组目标真实行驶轨迹,目标真实行驶轨迹对应第二标签;将各组目标真实行驶轨迹和各组虚拟行驶轨迹分别输入到初始轨迹判别模型,输出各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果;当各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果达到预设训练完成条件时,得到已训练的轨迹判别模型。The training module is used to obtain multiple multi-dimensional training arrays, input each multi-dimensional training array to the initial trajectory generation model, and output the virtual driving trajectory corresponding to each multi-dimensional training array. The virtual driving trajectory corresponds to the first label; to obtain multiple sets of target real driving trajectories , The target real driving trajectory corresponds to the second label; each group of target real driving trajectory and each group of virtual driving trajectory are respectively input to the initial trajectory discrimination model, and the trajectory discrimination results of each group of target real driving trajectories and the trajectory of each group of virtual driving trajectories are output Discrimination results: When the trajectory discrimination results of each group of target real driving trajectories and the trajectory discrimination results of each group of virtual driving trajectories reach the preset training completion conditions, the trained trajectory discrimination model is obtained.
在一个实施例中,训练模块还用于将各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果输入到第一目标损失函数中计算,得到第一目标损失值;当第一目标损失值未超过预设阈值时,达到预设训练完成条件,得到已训练的轨迹判别模型。In one embodiment, the training module is also used to input the trajectory discrimination results of each group of target real driving trajectories and the trajectory discrimination results of each group of virtual driving trajectories into the first target loss function for calculation to obtain the first target loss value; When the first target loss value does not exceed the preset threshold, the preset training completion condition is reached, and the trained trajectory discrimination model is obtained.
在一个实施例中,虚拟场景生成装置还包括:In an embodiment, the virtual scene generating apparatus further includes:
筛选模块,用于获取路测数据,对路测数据进行划分得到多个路测数据段;根据预设条件对对多个路测数据段进行筛选得到多个目标路测数据段,预设条件是基于真实车辆之间的影响轨迹行为设置的;分别从各个目标路测数据段中提取真实车辆的行驶轨迹,根据提取的行驶轨迹确定目标真实行驶轨迹,得到多组目标真实行驶轨迹。The screening module is used to obtain drive test data, divide the drive test data to obtain multiple drive test data segments; filter multiple drive test data segments according to preset conditions to obtain multiple target drive test data segments, and preset conditions It is set based on the behavior of influencing trajectory between real vehicles; extracting the driving trajectory of the real vehicle from each target drive test data segment, determining the target real driving trajectory according to the extracted driving trajectory, and obtaining multiple sets of target real driving trajectories.
在一个实施例中,虚拟场景生成装置还包括:In an embodiment, the virtual scene generating apparatus further includes:
第二目标虚拟场景确定模块,用于获取环境车辆和目标车辆的当前状态;基于预设算法,根据环境车辆和目标车辆的当前状态确定环境车辆的目标状态;将环境车辆的目标状态更新至初始虚拟场景,得到第二目标虚拟场景。The second target virtual scene determination module is used to obtain the current state of the environmental vehicle and the target vehicle; based on a preset algorithm, determine the target state of the environmental vehicle according to the current state of the environmental vehicle and the target vehicle; update the target state of the environmental vehicle to the initial The virtual scene is obtained, and the second target virtual scene is obtained.
在一个实施例中,虚拟场景生成装置还包括:In an embodiment, the virtual scene generating apparatus further includes:
算法测试模块,用于获取目标车辆基于行驶轨迹规划算法在目标虚拟场景中的目标行驶轨迹,目标虚拟场景包括第一目标虚拟场景和第二目标虚拟场景中的至少一种;获取环境车辆在目标虚拟场景的目标行驶轨迹;当目标车辆的目标行驶轨迹和环境车辆的目标行驶轨迹相交时,生成反馈信息发送至预设终端;接收预设终端发送的调整后的行驶轨迹规 划算法;基于调整后的行驶轨迹规划算法重新规划目标车辆的目标行驶轨迹。The algorithm test module is used to obtain the target driving trajectory of the target vehicle in the target virtual scene based on the driving trajectory planning algorithm. The target virtual scene includes at least one of the first target virtual scene and the second target virtual scene; The target driving trajectory of the virtual scene; when the target driving trajectory of the target vehicle intersects the target driving trajectory of the environmental vehicle, the feedback information is generated and sent to the preset terminal; the adjusted driving trajectory planning algorithm sent by the preset terminal is received; based on the adjusted The proposed driving trajectory planning algorithm re-plans the target driving trajectory of the target vehicle.
关于虚拟场景生成装置的具体限定可以参见上文中对于虚拟场景生成方法的限定,在此不再赘述。上述虚拟场景生成装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。Regarding the specific limitation of the virtual scene generating device, please refer to the above limitation of the virtual scene generating method, which will not be repeated here. Each module in the above virtual scene generating device may be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
在一些实施例中,提供了一种计算机设备,该计算机设备可以是图1中的服务器120,其内部结构图可以如图9所示。该计算机设备包括通过系统总线连接的处理器、存储器和网络接口。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种虚拟场景生成方法。In some embodiments, a computer device is provided. The computer device may be the server 120 in FIG. 1, and its internal structure diagram may be as shown in FIG. 9. The computer equipment includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by the processor to realize a virtual scene generation method.
在一些实施例中,提供了一种计算机设备,该计算机设备可以是图1中的终端110,其内部结构图可以如图10所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和输入设备。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种虚拟场景生成方法。该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In some embodiments, a computer device is provided. The computer device may be the terminal 110 in FIG. 1, and its internal structure diagram may be as shown in FIG. 10. The computer equipment includes a processor, a memory, a network interface, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by the processor to realize a virtual scene generation method. The input device of the computer equipment can be a touch layer covered on the display screen, it can also be a button, a trackball or a touchpad provided on the housing of the computer equipment, and it can also be an external keyboard, a touchpad or a mouse.
本领域技术人员可以理解,图9和图10中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structures shown in FIG. 9 and FIG. 10 are only block diagrams of part of the structure related to the solution of the present application, and do not constitute a limitation on the computer equipment to which the solution of the present application is applied. The computer device may include more or fewer components than shown in the figures, or combine certain components, or have a different component arrangement.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器存储有计算机程序,计算机程序被处理器执行时,使得处理器执行上述虚拟场景生成方法的步骤。此处虚拟场景生成方法的步骤可以是上述各个实施例的虚拟场景生成方法中的步骤。In one embodiment, a computer device is provided, including a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the virtual scene generation method described above. Here, the steps of the method for generating a virtual scene may be the steps in the method for generating a virtual scene in each of the foregoing embodiments.
在一个实施例中,提供了一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行时,使得处理器执行上述虚拟场景生成方法的步骤。此处虚拟场景生成方 法的步骤可以是上述各个实施例的虚拟场景生成方法中的步骤。In one embodiment, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the processor causes the processor to execute the steps of the virtual scene generation method described above. Here, the steps of the method for generating a virtual scene may be the steps in the method for generating a virtual scene in each of the foregoing embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage. In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical storage. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.
Claims (16)
- 一种虚拟场景生成方法,其特征在于,包括:A method for generating a virtual scene, which is characterized in that it includes:建立初始虚拟场景,所述初始虚拟场景包括环境车辆和目标车辆;Establishing an initial virtual scene, the initial virtual scene including an environmental vehicle and a target vehicle;获取多维数组,将所述多维数组输入到已训练的轨迹生成模型中,输出所述环境车辆的行驶轨迹,所述轨迹生成模型的参数是基于已训练的轨迹判别模型训练得到,所述轨迹判别模型的参数是以真实行驶轨迹大数据和虚拟行驶轨迹大数据作为输入,所述真实行驶轨迹大数据和虚拟行驶轨迹大数据对应的标签作为预期输出,输入轨迹判别模型训练得到;Obtain a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle. The parameters of the trajectory generation model are obtained by training based on the trained trajectory discrimination model, and the trajectory discrimination The parameters of the model take the real driving trajectory big data and the virtual driving trajectory big data as input, the labels corresponding to the real driving trajectory big data and the virtual driving trajectory big data are used as the expected output, and the input trajectory discrimination model is trained;将所述环境车辆的行驶轨迹加入所述初始虚拟场景,得到第一目标虚拟场景,所述第一目标虚拟场景用于测试目标车辆的行驶轨迹规划算法。The driving trajectory of the environmental vehicle is added to the initial virtual scene to obtain a first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
- 根据权利要求1所述的方法,其特征在于,所述建立初始虚拟场景之前,所述方法还包括:The method according to claim 1, characterized in that, before the establishment of the initial virtual scene, the method further comprises:建立初始轨迹生成模型,所述轨迹生成模型的输入为多维数组,输出为虚拟行驶轨迹;Establish an initial trajectory generation model, the input of the trajectory generation model is a multi-dimensional array, and the output is a virtual driving trajectory;获取多个多维训练数组,将各个多维训练数组输入到所述初始轨迹生成模型,输出各个多维训练数组对应的虚拟行驶轨迹,所述虚拟行驶轨迹对应第一标签;Acquiring a plurality of multi-dimensional training arrays, inputting each multi-dimensional training array to the initial trajectory generation model, and outputting a virtual driving trajectory corresponding to each multi-dimensional training array, the virtual driving trajectory corresponding to the first label;获取多组目标真实行驶轨迹,所述目标真实行驶轨迹对应第二标签;Acquiring multiple sets of target real driving trajectories, where the target real driving trajectories correspond to the second label;将各组目标真实行驶轨迹和各组虚拟行驶轨迹分别输入到初始轨迹判别模型,输出所述各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果;Each group of target real driving trajectory and each group of virtual driving trajectory are respectively input to the initial trajectory discrimination model, and the trajectory discrimination result of each group of target real driving trajectory and the trajectory discrimination result of each group of virtual driving trajectory are output;当所述各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果达到预设训练完成条件时,得到所述已训练的轨迹判别模型。When the trajectory discrimination results of each group of target real driving trajectories and the trajectory discrimination results of each group of virtual driving trajectories reach a preset training completion condition, the trained trajectory discrimination model is obtained.
- 根据权利要求2所述的方法,其特征在于,所述当所述各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果达到预设训练完成条件时,得到所述已训练的轨迹判别模型,包括:The method according to claim 2, characterized in that, when the trajectory discrimination result of each group of target real driving trajectory and the trajectory discrimination result of each group of virtual driving trajectory reach a preset training completion condition, the obtained The trained trajectory discrimination model includes:将所述各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果输入到第一目标损失函数中计算,得到第一目标损失值;Inputting the trajectory discrimination result of each group of target real driving trajectory and the trajectory discrimination result of each group of virtual driving trajectory into the first target loss function for calculation to obtain the first target loss value;当所述第一目标损失值未超过第一预设阈值时,达到预设训练完成条件,得到所述已训练的轨迹判别模型。When the first target loss value does not exceed the first preset threshold, the preset training completion condition is reached, and the trained trajectory discrimination model is obtained.
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:逐步调整所述初始轨迹生成模型的参数,将各个多维训练数组输入到每次调整后的初始轨迹生成模型,将每次调整后的初始轨迹模型的输出数据输入到所述已训练的轨迹判别 模型,输出各个多维训练数组对应的轨迹判别结果;The parameters of the initial trajectory generation model are gradually adjusted, each multi-dimensional training array is input to the initial trajectory generation model after each adjustment, and the output data of the initial trajectory model after each adjustment is input to the trained trajectory discrimination model , Output the trajectory discrimination result corresponding to each multi-dimensional training array;将所述各个多维训练数组对应的轨迹判别结果输入到第二目标损失函数中计算,得到第二目标损失值;Inputting the trajectory discrimination result corresponding to each of the multi-dimensional training arrays into the second target loss function for calculation to obtain the second target loss value;当第二目标损失值未超过第二预设阈值时,将最后一次调整后的参数作为轨迹生成模型的目标参数,得到已训练的轨迹判别模型。When the second target loss value does not exceed the second preset threshold, the last adjusted parameter is used as the target parameter of the trajectory generation model to obtain the trained trajectory discrimination model.
- 根据权利要求2所述的方法,其特征在于,所述获取多组目标真实行驶轨迹之前,所述方法还包括:The method according to claim 2, characterized in that, before said obtaining the multiple sets of target real driving trajectories, the method further comprises:获取行驶数据,对所述行驶数据进行划分得到多组候选行驶数据;Acquiring driving data, dividing the driving data to obtain multiple sets of candidate driving data;根据预设条件对对所述多组候选行驶数据进行筛选得到多组目标行驶数据,所述预设条件是基于真实车辆之间的影响轨迹行为设置的;Screening the multiple sets of candidate driving data according to preset conditions to obtain multiple sets of target driving data, where the preset conditions are set based on behaviors affecting trajectories between real vehicles;分别从各组目标行驶数据中提取真实车辆的行驶轨迹,根据提取的行驶轨迹确定目标真实行驶轨迹,得到多组目标真实行驶轨迹。The driving trajectory of the real vehicle is extracted from each group of target driving data respectively, and the target real driving trajectory is determined according to the extracted driving trajectory, and multiple sets of target real driving trajectory are obtained.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:获取所述环境车辆和目标车辆的当前状态;Acquiring the current state of the environmental vehicle and the target vehicle;基于预设算法,根据所述环境车辆和目标车辆的当前状态确定所述环境车辆的目标状态;Based on a preset algorithm, determine the target state of the environmental vehicle according to the current state of the environmental vehicle and the target vehicle;将所述环境车辆的目标状态更新至所述初始虚拟场景,得到第二目标虚拟场景。The target state of the environmental vehicle is updated to the initial virtual scene to obtain a second target virtual scene.
- 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-6, wherein the method further comprises:获取所述目标车辆基于行驶轨迹规划算法在目标虚拟场景中的目标行驶轨迹,所述目标虚拟场景包括第一目标虚拟场景和第二目标虚拟场景中的至少一种;Acquiring a target driving trajectory of the target vehicle in a target virtual scene based on a driving trajectory planning algorithm, where the target virtual scene includes at least one of a first target virtual scene and a second target virtual scene;获取所述环境车辆在所述目标虚拟场景的目标行驶轨迹;Acquiring the target driving trajectory of the environmental vehicle in the target virtual scene;当所述目标车辆的目标行驶轨迹和所述环境车辆的目标行驶轨迹相交时,生成反馈信息发送至预设终端;When the target driving trajectory of the target vehicle intersects the target driving trajectory of the environmental vehicle, generate feedback information and send it to a preset terminal;接收所述预设终端发送的调整后的行驶轨迹规划算法;Receiving the adjusted driving trajectory planning algorithm sent by the preset terminal;基于所述调整后的行驶轨迹规划算法重新规划所述目标车辆的目标行驶轨迹。Re-planning the target driving trajectory of the target vehicle based on the adjusted driving trajectory planning algorithm.
- 一种虚拟场景生成装置,其特征在于,包括:A virtual scene generating device, characterized in that it comprises:初始虚拟场景建立模块,用于建立初始虚拟场景,所述初始虚拟场景包括环境车辆和目标车辆;An initial virtual scene establishment module, used to establish an initial virtual scene, the initial virtual scene including an environmental vehicle and a target vehicle;行驶轨迹获取模块,用于获取多维数组,将所述多维数组输入到已训练的轨迹生成模 型中,输出所述环境车辆的行驶轨迹,所述轨迹生成模型的参数是基于已训练的轨迹判别模型训练得到,所述轨迹判别模型的参数是以真实行驶轨迹大数据和虚拟行驶轨迹大数据作为输入,所述真实行驶轨迹大数据和虚拟行驶轨迹大数据对应的标签作为预期输出,输入轨迹判别模型训练得到;The driving trajectory acquisition module is used to acquire a multi-dimensional array, input the multi-dimensional array into the trained trajectory generation model, and output the driving trajectory of the environmental vehicle. The parameters of the trajectory generation model are based on the trained trajectory discrimination model After training, the parameters of the trajectory discrimination model take the real driving trajectory big data and the virtual driving trajectory big data as input, and the labels corresponding to the real driving trajectory big data and the virtual driving trajectory big data are used as the expected output, and the trajectory discrimination model is input Trained第一目标虚拟场景确定模块,用于将所述环境车辆的行驶轨迹加入所述初始虚拟场景,得到第一目标虚拟场景,所述第一目标虚拟场景用于测试目标车辆的行驶轨迹规划算法。The first target virtual scene determination module is configured to add the driving trajectory of the environmental vehicle to the initial virtual scene to obtain a first target virtual scene, and the first target virtual scene is used to test the driving trajectory planning algorithm of the target vehicle.
- 根据权利要求8所述的装置,其特征在于,所述装置还包括:The device according to claim 8, wherein the device further comprises:训练模块,用于建立初始轨迹生成模型,所述轨迹生成模型的输入为多维数组,输出为虚拟行驶轨迹;获取多个多维训练数组,将各个多维训练数组输入到所述初始轨迹生成模型,输出各个多维训练数组对应的虚拟行驶轨迹,所述虚拟行驶轨迹对应第一标签;获取多组目标真实行驶轨迹,所述目标真实行驶轨迹对应第二标签;将各组目标真实行驶轨迹和各组虚拟行驶轨迹分别输入到初始轨迹判别模型,输出所述各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果;当所述各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果达到预设训练完成条件时,得到所述已训练的轨迹判别模型。The training module is used to establish an initial trajectory generation model, the input of the trajectory generation model is a multi-dimensional array, and the output is a virtual driving trajectory; multiple multi-dimensional training arrays are obtained, and each multi-dimensional training array is input to the initial trajectory generation model, and the output is The virtual driving trajectory corresponding to each multi-dimensional training array, the virtual driving trajectory corresponding to the first label; obtaining multiple sets of target real driving trajectories, the target real driving trajectory corresponding to the second label; combining each group of target real driving trajectory with each group of virtual The driving trajectories are respectively input to the initial trajectory discrimination model, and the trajectory discrimination results of the real driving trajectories of each group of targets and the trajectory discrimination results of each group of virtual driving trajectories are output; When the trajectory discrimination result of the virtual driving trajectory reaches the preset training completion condition, the trained trajectory discrimination model is obtained.
- 根据权利要求9所述的装置,其特征在于,所述训练模块还用于将所述各组目标真实行驶轨迹的轨迹判别结果和各组虚拟行驶轨迹的轨迹判别结果输入到第一目标损失函数中计算,得到第一目标损失值;当所述第一目标损失值未超过第一预设阈值时,达到预设训练完成条件,得到所述已训练的轨迹判别模型。The device according to claim 9, wherein the training module is further configured to input the trajectory discrimination results of the respective groups of target real driving trajectories and the trajectory discrimination results of each group of virtual driving trajectories into the first target loss function When the first target loss value does not exceed the first preset threshold, the preset training completion condition is reached, and the trained trajectory discrimination model is obtained.
- 根据权利要求9所述的装置,其特征在于,所述装置还包括:The device according to claim 9, wherein the device further comprises:逐步调整初始轨迹生成模型的参数,将各个多维训练数组输入到每次调整后的初始轨迹生成模型,将每次调整后的初始轨迹模型的输出数据输入到已训练的轨迹判别模型,输出各个多维训练数组对应的轨迹判别结果;Gradually adjust the parameters of the initial trajectory generation model, input each multi-dimensional training array to the initial trajectory generation model after each adjustment, and input the output data of the initial trajectory model after each adjustment to the trained trajectory discrimination model, and output each multi-dimensional The trajectory discrimination result corresponding to the training array;将各个多维训练数组对应的轨迹判别结果输入到第二目标损失函数中计算,得到第二目标损失值;Input the trajectory discrimination result corresponding to each multi-dimensional training array into the second target loss function for calculation to obtain the second target loss value;当第二目标损失值未超过第二预设阈值时,将最后一次调整后的参数作为轨迹生成模型的目标参数,得到已训练的轨迹判别模型。When the second target loss value does not exceed the second preset threshold, the last adjusted parameter is used as the target parameter of the trajectory generation model to obtain the trained trajectory discrimination model.
- 根据权利要求9所述的装置,其特征在于,所述装置还包括:The device according to claim 9, wherein the device further comprises:筛选模块,用于获取行驶数据,对所述行驶数据进行划分得到多组候选行驶数据;根据预设条件对对所述多组候选行驶数据进行筛选得到多组目标行驶数据,所述预设条件是 基于真实车辆之间的影响轨迹行为设置的;分别从各组目标行驶数据中提取真实车辆的行驶轨迹,根据提取的行驶轨迹确定目标真实行驶轨迹,得到多组目标真实行驶轨迹。The screening module is used to obtain driving data, divide the driving data to obtain multiple sets of candidate driving data; filter the multiple sets of candidate driving data according to preset conditions to obtain multiple sets of target driving data, the preset conditions It is set based on the behavior of influencing the trajectory between real vehicles; extracts the driving trajectory of the real vehicle from each group of target driving data, determines the target real driving trajectory according to the extracted driving trajectory, and obtains multiple sets of target real driving trajectories.
- 根据权利要求8所述的装置,其特征在于,所述装置还包括:The device according to claim 8, wherein the device further comprises:第二目标虚拟场景确定模块,用于获取所述环境车辆和目标车辆的当前状态;基于预设算法,根据所述环境车辆和目标车辆的当前状态确定所述环境车辆的目标状态;将所述环境车辆的目标状态更新至所述初始虚拟场景,得到第二目标虚拟场景。The second target virtual scene determination module is used to obtain the current state of the environmental vehicle and the target vehicle; based on a preset algorithm, determine the target state of the environmental vehicle according to the current state of the environmental vehicle and the target vehicle; The target state of the environmental vehicle is updated to the initial virtual scene, and the second target virtual scene is obtained.
- 根据权利要求8-13任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 8-13, wherein the device further comprises:算法测试模块,用于获取所述目标车辆基于行驶轨迹规划算法在目标虚拟场景中的目标行驶轨迹,所述目标虚拟场景包括第一目标虚拟场景和第二目标虚拟场景中的至少一种;获取所述环境车辆在所述目标虚拟场景的目标行驶轨迹;当所述目标车辆的目标行驶轨迹和所述环境车辆的目标行驶轨迹相交时,生成反馈信息发送至预设终端;接收所述预设终端发送的调整后的行驶轨迹规划算法;基于所述调整后的行驶轨迹规划算法重新规划所述目标车辆的目标行驶轨迹。The algorithm test module is used to obtain the target driving trajectory of the target vehicle in a target virtual scene based on a driving trajectory planning algorithm, the target virtual scene including at least one of a first target virtual scene and a second target virtual scene; The target driving trajectory of the environmental vehicle in the target virtual scene; when the target driving trajectory of the target vehicle and the target driving trajectory of the environmental vehicle intersect, feedback information is generated and sent to a preset terminal; the preset is received The adjusted driving trajectory planning algorithm sent by the terminal; and re-planning the target driving trajectory of the target vehicle based on the adjusted driving trajectory planning algorithm.
- 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述的方法的步骤。A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when the computer program is executed by the processor.
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method according to any one of claims 1 to 7 when the computer program is executed by a processor.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/091014 WO2021232229A1 (en) | 2020-05-19 | 2020-05-19 | Virtual scene generation method and apparatus, computer device and storage medium |
CN202080007602.3A CN113272838A (en) | 2020-05-19 | 2020-05-19 | Virtual scene generation method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/091014 WO2021232229A1 (en) | 2020-05-19 | 2020-05-19 | Virtual scene generation method and apparatus, computer device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021232229A1 true WO2021232229A1 (en) | 2021-11-25 |
Family
ID=77227971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/091014 WO2021232229A1 (en) | 2020-05-19 | 2020-05-19 | Virtual scene generation method and apparatus, computer device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113272838A (en) |
WO (1) | WO2021232229A1 (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114079665A (en) * | 2022-01-19 | 2022-02-22 | 浙江吉利控股集团有限公司 | Data acquisition method, device, equipment and storage medium |
CN114371015A (en) * | 2022-01-04 | 2022-04-19 | 一汽解放汽车有限公司 | Automatic driving test method, device, computer equipment and storage medium |
CN114444165A (en) * | 2021-12-20 | 2022-05-06 | 广东三维家信息科技有限公司 | Table top generation method and device, electronic equipment and storage medium |
CN114563014A (en) * | 2021-12-15 | 2022-05-31 | 武汉中海庭数据技术有限公司 | Opendrive map automatic detection method and device based on simulation image |
CN114569775A (en) * | 2022-04-07 | 2022-06-03 | 广州海洁尔医疗设备有限公司 | Sterilization control method and system for operating room |
CN114637882A (en) * | 2022-05-17 | 2022-06-17 | 深圳市华世智能科技有限公司 | Method for generating marked sample based on computer graphics technology |
CN114757355A (en) * | 2022-04-08 | 2022-07-15 | 中国科学技术大学 | Track data set difference measurement method, system, equipment and storage medium |
CN114896303A (en) * | 2022-05-12 | 2022-08-12 | 东软睿驰汽车技术(沈阳)有限公司 | Data mining-based regulation and control method, device, system, equipment and storage medium |
CN115146439A (en) * | 2022-05-19 | 2022-10-04 | 北京掌行通信息技术有限公司 | Unmanned vehicle scene reconstruction method and device, storage medium and terminal |
CN115661338A (en) * | 2022-09-28 | 2023-01-31 | 深圳市东昂科兴技术有限公司 | Virtual disassembly and assembly training method and device for nuclear power major equipment |
CN116650789A (en) * | 2023-08-02 | 2023-08-29 | 深圳市心流科技有限公司 | Concentration training method based on touch data and gyroscope data |
CN117437352A (en) * | 2023-09-27 | 2024-01-23 | 广州汽车集团股份有限公司 | Three-dimensional reconstruction method, three-dimensional reconstruction device, vehicle and storage medium |
CN117456611A (en) * | 2023-12-22 | 2024-01-26 | 拓世科技集团有限公司 | Virtual character training method and system based on artificial intelligence |
CN117610400A (en) * | 2023-10-13 | 2024-02-27 | 广州汽车集团股份有限公司 | Vehicle testing method and device, electronic equipment and storage medium |
CN118509822A (en) * | 2024-07-15 | 2024-08-16 | 广东车卫士信息科技有限公司 | V2X data processing method, device, equipment and storage medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113342704B (en) * | 2021-08-06 | 2021-11-12 | 腾讯科技(深圳)有限公司 | Data processing method, data processing equipment and computer readable storage medium |
CN114162146B (en) * | 2022-02-09 | 2022-04-29 | 苏州浪潮智能科技有限公司 | Driving strategy model training method and automatic driving control method |
CN115601393B (en) * | 2022-09-29 | 2024-05-07 | 清华大学 | Track generation method, track generation device, track generation equipment and storage medium |
CN117237575B (en) * | 2023-11-10 | 2024-02-06 | 光轮智能(北京)科技有限公司 | Indoor scene generation method, control device and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103383567A (en) * | 2012-05-02 | 2013-11-06 | 库卡实验仪器有限公司 | Driverless transport vehicle and method for operating driverless transport vehicle |
CN109557904A (en) * | 2018-12-06 | 2019-04-02 | 百度在线网络技术(北京)有限公司 | A kind of test method, device, equipment and medium |
CN109597317A (en) * | 2018-12-26 | 2019-04-09 | 广州小鹏汽车科技有限公司 | A kind of Vehicular automatic driving method, system and electronic equipment based on self study |
CN110223515A (en) * | 2019-06-17 | 2019-09-10 | 北京航空航天大学 | A kind of track of vehicle generation method |
CN110793784A (en) * | 2019-09-16 | 2020-02-14 | 腾讯科技(深圳)有限公司 | Test method and device for automatic driving vehicle, storage medium and electronic device |
CN110864913A (en) * | 2019-11-28 | 2020-03-06 | 苏州智加科技有限公司 | Vehicle testing method and device, computer equipment and storage medium |
CN110955972A (en) * | 2019-11-28 | 2020-04-03 | 苏州智加科技有限公司 | Virtual scene generation method and device, computer equipment and storage medium |
CN110991095A (en) * | 2020-03-05 | 2020-04-10 | 北京三快在线科技有限公司 | Training method and device for vehicle driving decision model |
-
2020
- 2020-05-19 WO PCT/CN2020/091014 patent/WO2021232229A1/en active Application Filing
- 2020-05-19 CN CN202080007602.3A patent/CN113272838A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103383567A (en) * | 2012-05-02 | 2013-11-06 | 库卡实验仪器有限公司 | Driverless transport vehicle and method for operating driverless transport vehicle |
CN109557904A (en) * | 2018-12-06 | 2019-04-02 | 百度在线网络技术(北京)有限公司 | A kind of test method, device, equipment and medium |
CN109597317A (en) * | 2018-12-26 | 2019-04-09 | 广州小鹏汽车科技有限公司 | A kind of Vehicular automatic driving method, system and electronic equipment based on self study |
CN110223515A (en) * | 2019-06-17 | 2019-09-10 | 北京航空航天大学 | A kind of track of vehicle generation method |
CN110793784A (en) * | 2019-09-16 | 2020-02-14 | 腾讯科技(深圳)有限公司 | Test method and device for automatic driving vehicle, storage medium and electronic device |
CN110864913A (en) * | 2019-11-28 | 2020-03-06 | 苏州智加科技有限公司 | Vehicle testing method and device, computer equipment and storage medium |
CN110955972A (en) * | 2019-11-28 | 2020-04-03 | 苏州智加科技有限公司 | Virtual scene generation method and device, computer equipment and storage medium |
CN110991095A (en) * | 2020-03-05 | 2020-04-10 | 北京三快在线科技有限公司 | Training method and device for vehicle driving decision model |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114563014A (en) * | 2021-12-15 | 2022-05-31 | 武汉中海庭数据技术有限公司 | Opendrive map automatic detection method and device based on simulation image |
CN114563014B (en) * | 2021-12-15 | 2023-08-04 | 武汉中海庭数据技术有限公司 | Opendrive map automatic detection method based on simulation image |
CN114444165A (en) * | 2021-12-20 | 2022-05-06 | 广东三维家信息科技有限公司 | Table top generation method and device, electronic equipment and storage medium |
CN114371015A (en) * | 2022-01-04 | 2022-04-19 | 一汽解放汽车有限公司 | Automatic driving test method, device, computer equipment and storage medium |
CN114371015B (en) * | 2022-01-04 | 2024-06-04 | 一汽解放汽车有限公司 | Automatic driving test method, automatic driving test device, computer equipment and storage medium |
CN114079665A (en) * | 2022-01-19 | 2022-02-22 | 浙江吉利控股集团有限公司 | Data acquisition method, device, equipment and storage medium |
CN114569775A (en) * | 2022-04-07 | 2022-06-03 | 广州海洁尔医疗设备有限公司 | Sterilization control method and system for operating room |
CN114569775B (en) * | 2022-04-07 | 2023-05-23 | 广州海洁尔医疗设备有限公司 | Sterilization control method and system for operating room |
CN114757355A (en) * | 2022-04-08 | 2022-07-15 | 中国科学技术大学 | Track data set difference measurement method, system, equipment and storage medium |
CN114757355B (en) * | 2022-04-08 | 2024-04-02 | 中国科学技术大学 | Track data set variability measurement method, system, equipment and storage medium |
CN114896303A (en) * | 2022-05-12 | 2022-08-12 | 东软睿驰汽车技术(沈阳)有限公司 | Data mining-based regulation and control method, device, system, equipment and storage medium |
CN114637882B (en) * | 2022-05-17 | 2022-08-19 | 深圳市华世智能科技有限公司 | Method for generating marked sample based on computer graphics technology |
CN114637882A (en) * | 2022-05-17 | 2022-06-17 | 深圳市华世智能科技有限公司 | Method for generating marked sample based on computer graphics technology |
CN115146439A (en) * | 2022-05-19 | 2022-10-04 | 北京掌行通信息技术有限公司 | Unmanned vehicle scene reconstruction method and device, storage medium and terminal |
CN115661338A (en) * | 2022-09-28 | 2023-01-31 | 深圳市东昂科兴技术有限公司 | Virtual disassembly and assembly training method and device for nuclear power major equipment |
CN116650789B (en) * | 2023-08-02 | 2023-11-17 | 深圳市心流科技有限公司 | Concentration training method based on touch data and gyroscope data |
CN116650789A (en) * | 2023-08-02 | 2023-08-29 | 深圳市心流科技有限公司 | Concentration training method based on touch data and gyroscope data |
CN117437352A (en) * | 2023-09-27 | 2024-01-23 | 广州汽车集团股份有限公司 | Three-dimensional reconstruction method, three-dimensional reconstruction device, vehicle and storage medium |
CN117610400A (en) * | 2023-10-13 | 2024-02-27 | 广州汽车集团股份有限公司 | Vehicle testing method and device, electronic equipment and storage medium |
CN117456611A (en) * | 2023-12-22 | 2024-01-26 | 拓世科技集团有限公司 | Virtual character training method and system based on artificial intelligence |
CN117456611B (en) * | 2023-12-22 | 2024-03-29 | 拓世科技集团有限公司 | Virtual character training method and system based on artificial intelligence |
CN118509822A (en) * | 2024-07-15 | 2024-08-16 | 广东车卫士信息科技有限公司 | V2X data processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113272838A (en) | 2021-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021232229A1 (en) | Virtual scene generation method and apparatus, computer device and storage medium | |
KR102635987B1 (en) | Method, apparatus, device and storage medium for training an image semantic segmentation network | |
US10460256B2 (en) | Interactive performance visualization of multi-class classifier | |
WO2022078077A1 (en) | Driving risk early warning method and apparatus, and computing device and storage medium | |
WO2019051941A1 (en) | Method, apparatus and device for identifying vehicle type, and computer-readable storage medium | |
KR20170140214A (en) | Filter specificity as training criterion for neural networks | |
CN111667001B (en) | Target re-identification method, device, computer equipment and storage medium | |
CN104217216A (en) | Method and device for generating detection model, method and device for detecting target | |
CN112183166A (en) | Method and device for determining training sample and electronic equipment | |
CN110889421A (en) | Target detection method and device | |
US11544173B1 (en) | Detecting performance regressions in software for controlling autonomous vehicles | |
US10997748B2 (en) | Machine learning model development with unsupervised image selection | |
CN114926791A (en) | Method and device for detecting abnormal lane change of vehicles at intersection, storage medium and electronic equipment | |
CN115830399B (en) | Classification model training method, device, equipment, storage medium and program product | |
CN114996109B (en) | User behavior recognition method, device, equipment and storage medium | |
CN116964588A (en) | Target detection method, target detection model training method and device | |
CN115761599A (en) | Video anomaly detection method and system | |
CN115037790B (en) | Abnormal registration identification method, device, equipment and storage medium | |
US12091051B2 (en) | Generating unknown-unsafe scenarios, improving automated vehicles, and computer system | |
CN116630978A (en) | Long-tail data acquisition method, device, system, equipment and storage medium | |
CN113158803A (en) | Classroom vacant seat query system, real-time video analysis system and method | |
CN112818847A (en) | Vehicle detection method, device, computer equipment and storage medium | |
US20230234603A1 (en) | Information processing system, information processing method, and program | |
KR102599192B1 (en) | Method for object detection, and computer program recorded on record-medium for executing method thereof | |
CN114639164B (en) | Behavior recognition method, device equipment and storage medium based on voting mechanism |
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: 20936669 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 14.04.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20936669 Country of ref document: EP Kind code of ref document: A1 |