Information display method, training method of depth generation model and related device

The deep generation model combines navigation images and weather images to generate target navigation images, which solves the problem of poor weather information display on the navigation interface and improves the user experience and navigation interface effect.

CN118537419APending Publication Date: 2024-08-23BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310166932.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When the existing navigation interface displays weather conditions, text-based interaction is simple but jerky, and the variety of customized visual forms is limited, resulting in poor user experience and high cost, making it difficult to expand on a large scale.

Method used

A deep generation model is used to combine the road environment characteristics of the original navigation image and the weather condition characteristics of the weather reference image to generate the target navigation image and display it in the navigation interface. Weather information is added in a non-customized form to improve the information content and effect of the navigation interface. .

Benefits of technology

The generated target navigation image improves the effect of the navigation interface, provides users with an intelligently optimized travel experience, increases the amount of information on the navigation interface, and solves the problems of poor user experience and high costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537419A
    Figure CN118537419A
Patent Text Reader

Abstract

The invention provides an information display method, a training method of a depth generation model and a related device, and relates to the technical field of artificial intelligence, in particular to the technical field of image processing. According to the specific implementation scheme, in the process that a vehicle runs based on a navigation map, an original navigation image and a weather reference image of the vehicle at the current moment are obtained; inputting the original navigation image and the weather reference image into a depth generation model to obtain a target navigation image; and displaying the target navigation image in an interface of the navigation map. Thus, the weather information can be added to real-time navigation in a non-customized form, the amount of information displayed by the navigation interface is increased, the effect of the generated navigation interface is improved, and intelligent and optimized travel experience is provided for users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, in particular to the field of image processing technology, and specifically to an information display method, a training method for a deep generative model, and related devices. Background Art

[0002] With the rapid growth of people's demand for travel, real-time navigation plays an important role in the field of mobile phones, car computers and smart cockpits. As a key link in human-computer interaction, the information diversification and interaction friendliness of the navigation interface play a direct and vital role in enhancing user stickiness and driving product user growth. Summary of the invention

[0003] The present disclosure provides an information display method, a training method for a deep generative model, and related devices.

[0004] According to one aspect of the present disclosure, there is provided an information display method, the method comprising:

[0005] In the process of the vehicle driving based on the navigation map, an original navigation image and a weather reference image of the vehicle at the current moment are obtained; the original navigation image is used to represent the road environment at the current moment, and the weather reference image is used to represent the weather conditions at the current moment;

[0006] The original navigation image and the weather reference image are input into a deep generation model to obtain a target navigation image; the deep generation model is used to combine the road environment characteristics of the original navigation image and the weather condition characteristics of the weather reference image to perform image generation processing, and the target navigation image is used to represent the road environment and weather conditions at the current moment;

[0007] In the interface of the navigation map, the target navigation image is displayed.

[0008] According to another aspect of the present disclosure, a method for training a deep generative model is provided, the method comprising:

[0009] In any iteration process, the first sample image, the second sample image, and the road network type, geographical climate, and weather type of the sample image are input into the model obtained by the previous iteration training; the road environment and weather conditions represented by the first sample image and the second sample image are different; the road network type is used to indicate whether the road environment belongs to an urban area, the geographical climate is used to indicate the geographical climate of the road environment; and the weather type is used to indicate the type of weather conditions;

[0010] Performing image generation processing through the model to obtain a first training image and a second training image; the first training image includes the road environment represented by the first sample image and the weather condition represented by the second sample image; the second training image includes the road environment represented by the second sample image and the weather condition represented by the first sample image;

[0011] According to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image, the model parameters of the model are adjusted until the model training meets the target conditions, then the training is stopped and the trained model is obtained as the deep generation model.

[0012] According to another aspect of the present disclosure, there is provided an information display device, the device comprising:

[0013] An acquisition module is used to acquire an original navigation image and a weather reference image of the vehicle at a current moment when the vehicle is traveling based on a navigation map; the original navigation image is used to represent the road environment at a current moment, and the weather reference image is used to represent the weather conditions at a current moment;

[0014] A processing module, used for inputting the original navigation image and the weather reference image into a deep generation model to obtain a target navigation image; the deep generation model is used for combining the road environment characteristics of the original navigation image and the weather condition characteristics of the weather reference image to perform image generation processing, and the target navigation image is used for representing the road environment and the weather condition at the current moment;

[0015] The display module is used to display the target navigation image in the interface of the navigation map.

[0016] According to another aspect of the present disclosure, a training device for a deep generative model is provided, the device comprising:

[0017] An input module, used for inputting the first sample image, the second sample image, and the road network type, geographical climate, and weather type of the sample image into the model obtained by the previous iteration training during any iteration process; the road environment and weather conditions represented by the first sample image and the second sample image are different; the road network type is used to indicate whether the road environment belongs to an urban area, the geographical climate is used to indicate the geographical climate of the road environment; and the weather type is used to indicate the type of weather conditions;

[0018] A processing module, used to perform image generation processing through the model to obtain a first training image and a second training image; the first training image includes the road environment represented by the first sample image and the weather condition represented by the second sample image; the second training image includes the road environment represented by the second sample image and the weather condition represented by the first sample image;

[0019] An adjustment module is used to adjust the model parameters of the model according to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image until the model training meets the target conditions, then stop the training and obtain the trained model as the deep generation model.

[0020] According to another aspect of the present disclosure, there is provided an electronic device, comprising:

[0021] at least one processor; and

[0022] a memory communicatively connected to the at least one processor; wherein,

[0023] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the information display method or the deep generative model training method provided by the present disclosure.

[0024] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the information display method or the deep generative model training method provided by the present disclosure.

[0025] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the information display method or the deep generative model training method provided by the present disclosure.

[0026] The technical solution provided by the present disclosure obtains the original navigation image and weather reference image of the vehicle at the current moment while the vehicle is traveling based on a navigation map, and then uses a deep generation model to combine the road environment characteristics of the original navigation image with the weather condition characteristics of the weather reference image to perform image generation processing, so as to obtain a target navigation image that can represent both the road environment at the current moment and the weather condition at the current moment. Then, by displaying the target navigation image, weather information can be added to the real-time navigation in a non-customized form, thereby increasing the amount of information displayed on the navigation interface, improving the effect of the generated navigation interface, and providing users with an intelligently optimized travel experience.

[0027] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0029] Figure 1 is a schematic diagram of an implementation environment of an information display method shown in an embodiment of the present disclosure;

[0030] Figure 2 is a flowchart of an information display method shown in an embodiment of the present disclosure;

[0031] Figure 3 It is a flowchart of a training method of a deep generative model shown in an embodiment of the present disclosure;

[0032] Figure 4 is a flowchart of an information display method shown in an embodiment of the present disclosure;

[0033] Figure 5 is a flow chart of a decoupling mechanism shown in an embodiment of the present disclosure;

[0034] Figure 6 is a flowchart of an image generation process using a deep generative model according to an embodiment of the present disclosure;

[0035] Figure 7 This is a schematic diagram of a solution flow for prompting weather information in a navigation interface shown in an embodiment of the present disclosure;

[0036] Figure 8 This is a schematic diagram showing an effect of prompting weather information in a navigation interface according to an embodiment of the present disclosure;

[0037] Fig. 9 is a structural block diagram of an information display device shown in an embodiment of the present disclosure;

[0038] Fig.10 It is a structural block diagram of a training device for a deep generative model shown in an embodiment of the present disclosure;

[0039] Fig.11 It is a block diagram of an electronic device used to implement the information display method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0040] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0041] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0042] First, the application scenarios involved in the embodiments of the present disclosure are described. The information display method provided by the embodiments of the present disclosure can be applied to vehicle driving scenarios, and specifically to scenarios in which vehicles are driven based on navigation maps.

[0043] In the related art, in order to prompt the driver of the current weather conditions while the vehicle is driving based on a navigation map, the weather conditions are usually prompted in the form of text information displayed in the navigation interface, or a customized weather component is displayed in the navigation interface to prompt the weather conditions.

[0044] However, the text-based display method is simple and awkward in interaction, lacking in user appeal, and only displays text messages to the driver, which makes it difficult for the driver to get all the information at a glance when he or she leaves the front sight to look at the central control screen, causing the user to frequently turn the viewing angle to search for information or spend too much time searching for information, which will cause great safety hazards to the driver's attention and is an irreversible interactive behavior. The customized visual form method often integrates pre-made weather visualization components into the navigation interface, which is limited in diversity and easily causes aesthetic fatigue to users. Secondly, this type of product relies heavily on manual production by designers, which is costly and not conducive to subsequent development and large-scale expansion.

[0045] Based on this, the embodiment of the present disclosure provides an information display method, by obtaining the original navigation image and weather reference image of the vehicle at the current moment while the vehicle is traveling based on a navigation map, and then using a deep generation model to combine the road environment characteristics of the original navigation image with the weather condition characteristics of the weather reference image to perform image generation processing, so as to obtain a target navigation image that can represent both the road environment at the current moment and the weather conditions at the current moment, and then by displaying the target navigation image, the weather information can be added to the real-time navigation in a non-customized form, thereby increasing the amount of information displayed on the navigation interface, improving the effect of the generated navigation interface, and providing users with an intelligently optimized travel experience.

[0046] Figure 1 Schematic diagram of an implementation environment of an information display method shown in an embodiment of the present disclosure. Figure 1 , the implementation environment includes a vehicle device 101 and a server 102 .

[0047] The vehicle device 101 may be at least one of a vehicle-mounted terminal, a smart phone, a smart watch, a desktop computer, a laptop computer, a virtual reality terminal, an augmented reality terminal, a wireless terminal, and a laptop computer. In some embodiments, the vehicle device 101 has a communication function and can access a wired network or a wireless network.

[0048] In the disclosed embodiment, the vehicle device 101 is used to obtain the original navigation image and weather reference image of the vehicle at the current moment while the vehicle is traveling based on a navigation map; input the original navigation image and the weather reference image into a deep generation model to obtain a target navigation image; and display the target navigation image in the interface of the navigation map.

[0049] In some embodiments, the server 102 is an independent physical server, or a server cluster or distributed file system composed of multiple physical servers, or at least one of the cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data or artificial intelligence platforms, etc., which is not limited in the embodiments of the present disclosure. In some embodiments, the number of the above-mentioned servers 102 can be more or less, which is not limited in the embodiments of the present disclosure. Of course, the server 102 can also include other functions to provide more comprehensive and diversified services. In the embodiments of the present disclosure, the server 102 is used to provide background services for the above-mentioned vehicle equipment 101.

[0050] The following is based on Figure 1 The implementation environment shown is used to introduce the method provided by the embodiment of the present disclosure.

[0051] Figure 2 1 is a flow chart of an information display method shown in an embodiment of the present disclosure. In some embodiments, the information display method is executed by an electronic device. For example, the electronic device may be the above-mentioned Figure 1 Vehicle equipment shown. Figure 2 As shown, the method includes the following steps.

[0052] S201. When a vehicle is traveling based on a navigation map, an original navigation image and a weather reference image of the vehicle at a current moment are obtained; the original navigation image is used to represent the road environment at a current moment, and the weather reference image is used to represent the weather conditions at a current moment.

[0053] In some embodiments, the vehicle device can extract the current navigation image from the navigation map during the vehicle's driving based on the navigation map, that is, obtain the above-mentioned original navigation image. In some embodiments, the image content of the original navigation image includes content related to the road environment such as the vehicle's driving road and surrounding buildings at the current moment.

[0054] Before implementing this solution, the technicians provide a wealth of weather reference images in advance, including but not limited to weather reference images related to natural climate change, such as rain, snow, wind, fog, frost, air quality, high temperature, etc., and weather reference images related to extreme weather, such as sandstorms, heat waves, heavy precipitation, drought, etc. In some embodiments, the weather reference image can be an image taken in advance by a technician, or an image designed or drawn by a designer. Of course, in other embodiments, the weather reference image can also be obtained in other ways. The disclosed embodiment does not limit the source of the weather reference image.

[0055] S202. The original navigation image and the weather reference image are input into a deep generation model to obtain a target navigation image; the deep generation model is used to combine the road environment characteristics of the original navigation image with the weather condition characteristics of the weather reference image to perform image generation processing, and the target navigation image is used to represent the road environment at a current moment and the weather conditions at a current moment.

[0056] S203: Displaying the target navigation image in the interface of the navigation map.

[0057] The technical solution provided by the disclosed embodiment obtains the original navigation image and weather reference image of the vehicle at the current moment while the vehicle is traveling based on a navigation map, and then uses a deep generation model to combine the road environment characteristics of the original navigation image with the weather condition characteristics of the weather reference image to perform image generation processing, so as to obtain a target navigation image that can represent both the road environment at the current moment and the weather condition at the current moment. Then, by displaying the target navigation image, weather information can be added to the real-time navigation in a non-customized form, thereby increasing the amount of information displayed on the navigation interface, improving the effect of the generated navigation interface, and providing users with an intelligently optimized travel experience.

[0058] Figure 3 1 is a flow chart of a method for training a deep generative model shown in an embodiment of the present disclosure. In some embodiments, the method for training a deep generative model is performed by an electronic device. For example, the electronic device may be the above-mentioned Figure 1 Vehicle equipment shown. Figure 3 As shown, the method includes the following steps.

[0059] S301. During any iteration process, the first sample image, the second sample image, and the road network type, geographical climate, and weather type of the sample images are input into the model obtained by the previous iteration training; the road environment and weather conditions represented by the first sample image and the second sample image are different; the road network type is used to indicate whether the road environment belongs to an urban area, and the geographical climate is used to indicate the geographical climate of the road environment; the weather type is used to indicate the type of weather conditions.

[0060] S302. Perform image generation processing through the model to obtain a first training image and a second training image; the first training image includes the road environment represented by the first sample image and the weather conditions represented by the second sample image; the second training image includes the road environment represented by the second sample image and the weather conditions represented by the first sample image.

[0061] S303. According to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image, the model parameters of the model are adjusted until the model training meets the target conditions, then the training is stopped and the trained model is obtained as the deep generative model.

[0062] The technical solution provided by the embodiments of the present disclosure utilizes a first sample image and a second sample image having different road environments and weather conditions, as well as the road network type, geographical climate, and weather type of the sample images to perform model training, so that the trained deep generative model can have the function of combining the road environment characteristics of one image with the weather condition characteristics of another image to perform image generation and processing, and can thereby generate an image that can characterize both the road environment and the weather conditions, thereby achieving efficient training of the deep generative model.

[0063] Above Figures 2 to 3 This is a simple embodiment of the present disclosure. The information display method and the training method of the deep generative model provided by the present disclosure are described below based on a specific embodiment. Figure 4 1 is a flow chart of an information display method shown in an embodiment of the present disclosure. In some embodiments, the information display method is executed by an electronic device. For example, the electronic device may be the above-mentioned Figure 1 Vehicle equipment shown. Figure 4 As shown, with the vehicle equipment as the execution subject, the method includes the following steps.

[0064] S401. When the vehicle is traveling based on a navigation map, the vehicle equipment obtains an original navigation image and a weather reference image of the vehicle at the current moment; the original navigation image is used to represent the road environment at the current moment, and the weather reference image is used to represent the weather conditions at the current moment.

[0065] In the embodiments of the present disclosure, the original navigation image refers to a navigation image that does not include weather information. In some embodiments, when the vehicle is traveling based on a navigation map, the vehicle device can extract the navigation image at the current moment from the navigation map, that is, obtain the original navigation image. In some embodiments, the image content of the original navigation image includes content related to the road environment such as the vehicle's driving road and surrounding buildings at the current moment.

[0066] In the disclosed embodiments, the weather reference image may be an image including road environment information or an image not including road environment information. Before implementing this solution, the technicians provide a wealth of weather reference images in advance, including but not limited to weather reference images related to natural climate change, such as rain, snow, wind, fog, frost, air quality, high temperature, etc., as well as weather reference images related to extreme weather, such as sandstorms, heat waves, heavy precipitation, drought, etc. In some embodiments, the weather reference image may be an image pre-taken by a technician, or an image obtained by a designer performing image design or image drawing. Of course, in other embodiments, the weather reference image may also be obtained in other ways. The disclosed embodiments do not limit the method for obtaining the weather reference image.

[0067] In some embodiments, the vehicle device is associated with a weather information library, which is used to store multiple different types of weather and reference images corresponding to different types of weather. Accordingly, when the vehicle is driving based on the navigation map, the vehicle device determines a reference image matching the weather conditions at the current moment in the weather information library according to the weather conditions at the current moment, that is, obtains the above-mentioned weather reference image.

[0068] S402, the vehicle equipment obtains the road network type, geographical climate and weather type of the vehicle at the current moment; the road network type is used to indicate whether the location of the vehicle belongs to an urban area, the geographical climate is used to indicate the geographical climate of the location of the vehicle; the weather type is used to indicate the type of weather conditions at the current moment.

[0069] In the disclosed embodiment, the road network type is used to indicate whether the location of the vehicle belongs to an urban area or a non-urban area. The geographical climate may include a plateau mountain climate, a temperate continental climate, a temperate monsoon climate, a subtropical monsoon climate, and a tropical monsoon climate. Of course, in other embodiments, the geographical climate may also be set to other types of geographical climates. The disclosed embodiment does not limit the setting of the geographical climate. Weather conditions may include rain, snow, wind, fog, frost, air quality, high temperature, sandstorms, heat waves, heavy precipitation, and drought. Of course, in other embodiments, weather conditions may also be set to other types of weather conditions. The disclosed embodiment does not limit the setting of weather conditions.

[0070] In the above embodiment, the subsequent image generation and processing process is performed with reference to the road network type, geographical climate and weather type of the vehicle at the current moment, which can effectively improve the accuracy of image generation, thereby improving the effect of subsequent real-time display of weather information in the navigation interface.

[0071] S403. The vehicle equipment inputs the original navigation image, the weather reference image, the road network type, the geographical climate, and the weather type into the deep generation model, and uses the road network type, the geographical climate, and the weather type as conditional features to perform image generation processing on the road environment features of the original navigation image and the weather condition features of the weather reference image to obtain a target navigation image; the target navigation image is used to represent the road environment at the current moment and the weather conditions at the current moment.

[0072] In the disclosed embodiment, the deep generative model is used to combine the road environment characteristics of the original navigation image with the weather condition characteristics of the weather reference image to perform image generation processing. In this embodiment, the vehicle equipment uses the deep generative model to perform the image generation processing process, so that the original navigation image and the weather reference image can be quickly and accurately synthesized to obtain the target navigation image, which improves the efficiency of image generation while also improving the accuracy of image generation.

[0073] In some embodiments, the process of using a deep generative model to perform image generation processing can be seen in the following (1-1) to (1-3).

[0074] (1-1) The road environment features of the original navigation image are extracted through the scene encoder of the deep generative model, and the weather condition features of the weather reference image are extracted through the weather encoder of the deep generative model.

[0075] The scene encoder may be composed of a first preset number (such as m, where m is an integer greater than 1) of downsampling modules, and each layer of the downsampling modules may be composed of a convolutional layer and a residual module.

[0076] In some embodiments, for the input original navigation image, the scene encoder downsamples the original navigation image according to a preset step size (such as 2) to obtain a scene representation of the original navigation image, that is, to obtain the road environment characteristics of the original navigation image.

[0077] In the disclosed embodiment, the architecture of the weather encoder is the same as that of the scene encoder. Accordingly, the weather encoder may also be composed of a first preset number of downsampling modules, and each layer of downsampling modules may be composed of a convolutional layer and a residual module.

[0078] In some embodiments, for the input weather reference image, the weather encoder downsamples the weather reference image according to a preset step size (such as 2) to obtain a weather representation of the weather reference image, that is, to obtain the weather condition characteristics of the above weather reference image.

[0079] In this way, by setting the scene encoder and the weather encoder respectively, the road environment characteristics of the original navigation image and the weather condition characteristics of the weather reference image can be extracted respectively, that is, the decoupling of the road environment dimension and the weather condition dimension is achieved, and the free control of these two variables can be achieved, which helps to improve the refined control of the two, and then generate high-quality images with specified scenes and weather conditions.

[0080] (1-2) Generate target condition features through the feature processing layer of the deep generative model according to the road network type, the geographical climate and the weather type; perform feature splicing on the road environment features and the weather condition features to obtain target comprehensive features.

[0081] In some embodiments, the above process of generating target condition characteristics can be: through the feature processing layer of the deep generation model, feature encoding processing is performed on the road network type, the geographical climate and the weather type to obtain the road network characteristics corresponding to the road network type, the climate characteristics corresponding to the geographical climate and the weather characteristics corresponding to the weather type; feature splicing is performed on the road network characteristics corresponding to the road network type, the climate characteristics corresponding to the geographical climate and the weather characteristics corresponding to the weather type to obtain the target condition characteristics.

[0082] Among them, the road network characteristics corresponding to the road network type can be a one-dimensional characteristic. For example, 0 can indicate that the location of the vehicle belongs to an urban area, and 1 can indicate that the location of the vehicle belongs to a non-urban area. Based on the five types of geographical climates shown in S402 above, the climate characteristics corresponding to the geographical climates can be 5-dimensional One-Hot (one-bit effective coding) characteristics. Based on the various weather conditions shown in S402 above, the weather characteristics corresponding to the weather type can be n-dimensional One-Hot characteristics. Among them, n is an integer greater than 1, and the value of n is the same as the number of enumerated weather conditions.

[0083] In some embodiments, the feature processing layer may include a feature encoder, and accordingly, the feature encoding process may be performed by the feature encoder. The corresponding process includes: performing feature encoding processing on the road network type, the geographical climate and the weather type through the feature encoder to obtain the road network features corresponding to the road network type, the climate features corresponding to the geographical climate and the weather features corresponding to the weather type.

[0084] For example, using F road To refer to the road network characteristics corresponding to the road network type, F gps To refer to the climate characteristics corresponding to the geographical climate, F weather To refer to the weather characteristics corresponding to the weather type. Correspondingly, the concatenated target condition characteristics can be expressed as F condition = <F weather , F gps , F road >.

[0085] In this way, through the above-mentioned feature encoding and feature splicing methods, the target condition features can be obtained simply and effectively, which improves the efficiency of obtaining target condition features. At the same time, through the feature splicing method, the feature splicing of road environment features and weather condition features can be quickly realized to obtain the target comprehensive features, thereby improving the processing efficiency of the deep generation model.

[0086] (1-3) The image generator of the deep generative model performs image generation processing according to the target condition characteristics and the target comprehensive characteristics to obtain the target navigation image.

[0087] The image generator may be composed of a second preset number (such as m-1) of upsampling modules, and each layer of upsampling modules may be composed of a deconvolution layer and a residual module.

[0088] In some embodiments, the image generator upsamples the input target condition features and the target comprehensive features according to a preset step size (such as 2), thereby generating a new image that is consistent with the size of the input image, that is, obtaining the above-mentioned target navigation image.

[0089] In the above embodiment, by respectively setting a scene encoder and a weather encoder in the deep generation model, the road environment characteristics of the original navigation image and the weather condition characteristics of the weather reference image can be extracted respectively, that is, the decoupling of the road environment dimension and the weather condition dimension is realized, and the free control of these two variables can be realized, which helps to improve the refined control of the two. Moreover, by setting a feature processing layer in the deep generation model, the target condition characteristics can be generated according to the road network type, the geographical climate and the weather type, and the target comprehensive characteristics can be obtained by feature splicing. In addition, by setting an image generation layer in the deep generation model, image generation processing can be performed according to the target condition characteristics and the target comprehensive characteristics, so as to obtain a target navigation image that can represent both the road environment at the current moment and the weather conditions at the current moment.

[0090] In some embodiments, the deep generative model is obtained by training a generative model based on the first sample image, the second sample image, and the road network type, geographical climate, and weather type corresponding to the sample images.

[0091] The first sample image, the second sample image, and the road network type, geographical climate, and weather type corresponding to the sample image are used as training data for the deep generative model. In some embodiments, the road environment and weather conditions represented by the first sample image and the second sample image are different. It should be noted that both the first sample image and the second sample image are images that contain both road environment information and weather information.

[0092] The road network type corresponding to the sample image is used to indicate whether the road environment belongs to an urban area. The geographical climate corresponding to the sample image is used to indicate the geographical climate of the road environment. The weather type corresponding to the sample image is used to indicate the type of weather conditions.

[0093] In some embodiments, the generative model can be a generative adversarial network (GAN), a variational autoencoder, or a diffusion model, etc.

[0094] Specifically, the training process of the deep generative model can be seen from (2-1) to (2-3) below:

[0095] (2-1) During any iteration, the first sample image, the second sample image, and the road network type, geographical climate, and weather type of the sample image are input into the model obtained by the previous iteration training.

[0096] (2-2) Image generation processing is performed through the model to obtain a first training image and a second training image; the first training image includes the road environment represented by the first sample image and the weather conditions represented by the second sample image; the second training image includes the road environment represented by the second sample image and the weather conditions represented by the first sample image.

[0097] In some embodiments, the road environment features of the first sample image and the second sample image are respectively extracted through the scene encoder of the model, and the weather condition features of the first sample image and the second sample image are respectively extracted through the weather encoder of the model; through the feature processing layer of the model, any one of the road environment features and weather condition features of the first sample image and the second sample image is exchanged with each other to obtain the exchanged first comprehensive feature and the second comprehensive feature; according to the first comprehensive feature, the second comprehensive feature and the road network type, geographical climate and weather type of the sample image, a first conditional feature corresponding to the first comprehensive feature and a second conditional feature corresponding to the second comprehensive feature are generated; through the image generator of the model, image generation processing is performed according to the first comprehensive feature, the second comprehensive feature, the first conditional feature and the second conditional feature to obtain the first training image and the second training image.

[0098] Among them, the first comprehensive feature includes the road environment feature of the first sample image and the weather condition feature of the second sample image. The second comprehensive feature includes the road environment feature of the second sample image and the weather condition feature of the first sample image. In this way, the decoupling of the road environment dimension and the weather condition dimension is achieved through the decoupling mechanism, and then after the features of the first sample image and the second sample image are exchanged with each other, the exchanged features are further spliced ​​together to obtain the first comprehensive feature and the second comprehensive feature.

[0099] For example, Figure 5 is a flow chart of a decoupling mechanism shown in an embodiment of the present disclosure. Figure 5 , using I X To refer to the first sample image, I Y To refer to the second sample image, use E s To refer to the scene encoder, use E w Let G be the weather encoder and G be the image generator. First, we select a pair of images I with different road environments and weather conditions. X and image I Y , and send them to the scene encoder E s and Weather Coder E w , get image I X and image I YThe road environment feature of the first sample image can be expressed as z s X =E s (I X ), the weather condition feature of the first sample image can be expressed as z w X =E w (I X ). The road environment feature of the second sample image can be expressed as z s Y =E s (I Y ), the weather condition feature of the second sample image can be expressed as z w Y =E w (I Y ).

[0100] Then, any one of the road environment features and weather condition features obtained in the above process is exchanged with each other and then connected together along the feature dimension to obtain the first comprehensive feature and the second comprehensive feature. Furthermore, the conditional features corresponding to the first comprehensive feature and the second comprehensive feature are feature spliced ​​along the channel dimension to obtain the combined feature. Then, the combined feature is input into the image generator G to generate a new image after the weather and the scene are exchanged, that is, the first training image and the second training image are obtained.

[0101] Accordingly, the process of generating the first training image can be expressed as ^Y =G(z s X , z w Y , F Y condition ). Among them, I ^Y represents a newly generated image including the road environment represented by the first sample image and the weather condition represented by the second sample image, F Y condition = <F Y weather , F X road , F X gps > represents the road network features corresponding to the road environment represented by the first sample image, the climate features corresponding to the road environment represented by the first sample image, and the weather features of the weather conditions represented by the second sample image. The process of generating the second training image can be expressed as: ^X =G(z s Y , z w X , FX condition ). Among them, I ^X represents a newly generated image including the road environment represented by the second sample image and the weather condition represented by the first sample image, F X condition = <F X weather , F Y road , F Y gps > represents the road network characteristics corresponding to the road environment represented by the second sample image, the climate characteristics corresponding to the road environment represented by the second sample image, and the weather characteristics of the weather conditions represented by the first sample image.

[0102] (2-3) According to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image, the model parameters of the model are adjusted until the model training meets the target conditions, then the training is stopped and the trained model is obtained as the deep generative model.

[0103] The real image corresponding to the first training image refers to an image with the same road environment and weather conditions as the first training image. The real image corresponding to the second training image refers to an image with the same road environment and weather conditions as the second training image. The target condition is a pre-set condition, such as a model loss value less than or equal to a preset threshold, such as 0.01.

[0104] In some embodiments, a model loss value is determined based on the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image; based on the model loss value, the model parameters of the model are adjusted until the model loss value is less than or equal to a preset threshold, then the training is stopped and the trained model is acquired as the deep generative model.

[0105] In some embodiments, the above (2-3) can be performed by a discriminator, which is used to achieve a game with the image generator by judging whether the input image comes from a real data distribution or a generated data distribution, thereby prompting the image generator to further generate a sharper and more realistic image. For example, see Figure 5 , D is used to refer to the discriminator. It should be understood that the real image corresponding to the first training image and the real image corresponding to the second training image are images from the real data distribution, which serve as positive samples for model training to prompt the image generator to further generate sharper and more realistic images. In some embodiments, the discriminator can be a patch-GAN architecture, that is, composed of a series of downsampling layers, and finally achieves discrimination in the feature space.

[0106] In some embodiments, the above-mentioned model loss value is determined based on a pixel-level loss function and an adversarial loss function. The corresponding process is: according to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image, respectively determine the pixel-level loss value and the adversarial loss value; according to the pixel-level loss value, the adversarial loss value, and the weight coefficient corresponding to the pixel-level loss value, and the weight coefficient corresponding to the adversarial loss value, perform weighted summation to obtain the model loss value. In this way, the model loss value is determined by combining the pixel-level loss function and the adversarial loss function. While adjusting the parameters of the image generator using the pixel-level loss function, the adversarial loss function can also be used to adjust the parameters of the judge itself, thereby improving the effect of model training and being able to train a deep generation model with better capabilities.

[0107] The pixel-level loss function is used to constrain the consistency of the generated content. In some embodiments, the pixel-level loss function may be determined by: determining the pixel-level loss function based on the first training image, the second training image, the real image corresponding to the first training image, the real image corresponding to the second training image, and the following formula (1).

[0108] L pixel =‖I ^X -I ref X ‖2+‖I ^Y -I ref Y ‖twenty one)

[0109] Where, L pixel represents the pixel-level loss function; I ^X I represents the second training image; ref X I represents the real image corresponding to the second training image; ^Y I represents the first training image; ref Y Represents the real image corresponding to the first training image.

[0110] The adversarial loss function is used to further generate a sharper and more realistic image. In some embodiments, the adversarial loss function may be determined by: determining the adversarial loss function based on the first training image, the second training image, the real image corresponding to the first training image, the real image corresponding to the second training image, and the following formula (2).

[0111] L GAN =E(I X ,I ref Y ,I Y ,Iref X )~P data [logD( X ,I ref Y >)+logD( Y ,I ref X >)]

[0112] +E(I X ,I ^Y ,I Y ,I ^X )~P data [log(1-D( X ,I ^Y >))+log(1-D( Y ,I ^X >))] (2)

[0114] Where, L GAN represents the adversarial loss function; I X I represents the first sample image; Y I represents the second sample image; ref Y I represents the real image corresponding to the first training image; ref X I represents the real image corresponding to the second training image; ^Y I represents the first training image; ^X represents the second training image; for the discriminator D, X ,I ref Y >With Y ,I ref X > is a positive sample, X ,I ^Y >With Y ,I ^X > is a negative sample. Where <> indicates connection along the channel dimension.

[0115] In some embodiments, after obtaining the pixel-level loss function based on the above formula (1) and the adversarial loss function based on the formula (2), the model loss value is determined according to the pixel-level loss function, the adversarial loss function and the formula (3).

[0116] L=λ1L pixel +λ2L GAN (3)

[0117] In the formula, L represents the model loss value; L pixel ​​​​​​​​represents the pixel-level loss function; λ1 represents the weight coefficient corresponding to the pixel-level loss function; L GAN represents the adversarial loss function; λ2 represents the weight coefficient corresponding to the adversarial loss function. It should be noted that, in some embodiments, during the model training process, the above weight coefficient will be adjusted in real time according to the training effect of the model.

[0118] In the above embodiment, through the deep generative model, it is possible to synthesize the target navigation image with weather conditions in an end-to-end manner. Among them, the deep generative model uses the generative model as the framework, the original navigation image as the input, the road network type, geographical climate and weather type as conditional features, and image generation as the training goal. It should be noted that by using the decoupling mechanism to train the model, by decoupling the scene content of the image (fixed scenes such as road environment) and the weather conditions, these two variables can be freely controlled, which helps to improve the refined control of the two, and then generate high-quality images with specified scenes and weather conditions.

[0119] For example, Figure 6 FIG. 1 is a flow chart showing a method of implementing image generation processing by using a deep generative model according to an embodiment of the present disclosure. Figure 6 First, the input image (i.e., the original navigation image) that does not include weather information, the reference image (i.e., the weather reference image), and the corresponding road network type, geographical climate, and weather type and other condition information are input into the deep generative model. The deep generative model is used to generate images, and a new image that retains the scene content of the input image and matches the weather conditions of the reference image can be directly output in an end-to-end manner. For the input image, the scene encoder E in the deep generative model is used. s To extract the road environment features of the input image; for the reference image, the weather encoder E in the deep generation model is used w to extract the weather condition features of the reference image; for the condition information, the deep generative model is used to encode the condition features to obtain the condition features corresponding to the condition information; then, the road environment features of the input image, the weather condition features of the reference image and the condition features corresponding to the condition information are input into the image generator G in the deep generative model, so that the image generator G can combine the road environment features of the input image with the weather condition features of the reference image to perform image generation processing, thereby generating a new image.

[0120] S404: The vehicle equipment displays the target navigation image in the interface of the navigation map.

[0121] In some embodiments, the target navigation image is used to present the current weather conditions in a global display manner, so as to achieve the effect of displaying the real weather conditions, improve the effect of the generated navigation interface, and provide users with an intelligent and optimized travel experience.

[0122] In some embodiments, the vehicle device outputs a weather prompt message in response to the current weather condition belonging to the target weather condition, and the weather prompt message is used to prompt that the current weather condition belongs to the target weather condition. In some embodiments, the weather prompt message can be in the form of a voice message or a text message. In this way, for special weather such as sandstorms, humanized services such as intelligent reminders for safe driving can be provided, thereby improving the efficiency of human-computer interaction.

[0123] For example, Figure 7 1 is a schematic diagram of a solution flow for prompting weather information in a navigation interface according to an embodiment of the present disclosure. Figure 7 In the process of driving based on the navigation map, the original navigation image and weather reference image of the vehicle at the current moment are obtained in real time, as well as the road network type, geographical climate and weather type of the vehicle at the current moment; then, the deep generative model is used to perform image generation processing to obtain a newly generated target navigation image; and then the target navigation image is displayed in real time in the interface of the navigation map. In this way, based on the original navigation image and the weather reference image, combined with the road network type, geographical climate and weather type, it is possible to embed weather information into real-time navigation in a non-customized dynamic form, realize the visualization and dynamic display of weather information, improve the information diversity and emotional expression of the navigation interface, and further improve user stickiness, thereby driving the increase of new users. In addition, a model architecture based on a deep generative model and a training strategy based on a decoupling mechanism are proposed, so as to generate high-quality images that can match the specified scene and weather end-to-end, which can meet the dual experience of basic travel services and emotional humanized visual services for users.

[0124] The technical solution provided by the disclosed embodiment obtains the original navigation image and weather reference image of the vehicle at the current moment while the vehicle is traveling based on a navigation map, and then uses a deep generation model to combine the road environment characteristics of the original navigation image with the weather condition characteristics of the weather reference image to perform image generation processing, so as to obtain a target navigation image that can represent both the road environment at the current moment and the weather condition at the current moment. Then, by displaying the target navigation image, weather information can be added to the real-time navigation in a non-customized form, thereby increasing the amount of information displayed on the navigation interface, improving the effect of the generated navigation interface, and providing users with an intelligently optimized travel experience.

[0125] For example, Figure 8 is a schematic diagram showing an effect of prompting weather information in a navigation interface according to an embodiment of the present disclosure. Figure 8 ,exist Figure 8 The original navigation image is shown on the right. Figure 8 The left side in the middle shows a target navigation image generated based on an embodiment of the present disclosure. It can be seen that the target navigation image can present the weather conditions at the current moment in a global display manner.

[0126] The disclosed embodiments take into account the compatibility and scalability of the solution. Horizontally, by encoding external information (i.e., road network type, geographical climate, and weather type, etc.) into feature groups, it will be possible to add more information in the form of feature encoding in the future to further improve the generation effect. Vertically, this end-to-end generation solution can not only be applied to scenarios where weather information is embedded into the navigation system, but can also be applied to integrating other types of information (such as dynamic events, traffic control, etc.) into the navigation system.

[0127] Fig. 9 is a structural block diagram of an information display device shown in an embodiment of the present disclosure. Fig. 9 The device includes an acquisition module 901, a processing module 902 and a display module 903. Among them:

[0128] The acquisition module 901 is used to acquire the original navigation image and the weather reference image of the vehicle at the current moment when the vehicle is traveling based on the navigation map; the original navigation image is used to represent the road environment at the current moment, and the weather reference image is used to represent the weather conditions at the current moment;

[0129] The processing module 902 is used to input the original navigation image and the weather reference image into a deep generation model to obtain a target navigation image; the deep generation model is used to combine the road environment characteristics of the original navigation image and the weather condition characteristics of the weather reference image to perform image generation processing, and the target navigation image is used to represent the road environment and weather conditions at the current moment;

[0130] The display module 903 is used to display the target navigation image in the interface of the navigation map.

[0131] The technical solution provided by the disclosed embodiment obtains the original navigation image and weather reference image of the vehicle at the current moment while the vehicle is traveling based on a navigation map, and then uses a deep generation model to combine the road environment characteristics of the original navigation image with the weather condition characteristics of the weather reference image to perform image generation processing, so as to obtain a target navigation image that can represent both the road environment at the current moment and the weather condition at the current moment. Then, by displaying the target navigation image, weather information can be added to the real-time navigation in a non-customized form, thereby increasing the amount of information displayed on the navigation interface, improving the effect of the generated navigation interface, and providing users with an intelligently optimized travel experience.

[0132] In some embodiments, the acquisition module 901 is further used to:

[0133] Obtain the road network type, geographical climate and weather type of the vehicle at the current moment; the road network type is used to indicate whether the location of the vehicle belongs to an urban area, the geographical climate is used to indicate the geographical climate of the location of the vehicle; the weather type is used to indicate the type of weather conditions at the current moment;

[0134] The processing module 902 is used to:

[0135] The original navigation image, the weather reference image, the road network type, the geographical climate, and the weather type are input into the deep generation model. The deep generation model uses the road network type, the geographical climate, and the weather type as conditional features to perform image generation processing on the road environment features of the original navigation image and the weather condition features of the weather reference image to obtain the target navigation image.

[0136] In some embodiments, the processing module 902 includes:

[0137] An extraction submodule, configured to extract road environment features of the original navigation image through a scene encoder of the deep generative model, and to extract weather condition features of the weather reference image through a weather encoder of the deep generative model;

[0138] A generation submodule is used to generate target condition features according to the road network type, the geographical climate and the weather type through the feature processing layer of the deep generation model; perform feature splicing on the road environment features and the weather condition features to obtain target comprehensive features;

[0139] The processing submodule is used to perform image generation processing according to the target condition characteristics and the target comprehensive characteristics through the image generator of the deep generation model to obtain the target navigation image.

[0140] In some embodiments, the device further comprises a model training module, comprising:

[0141] An input submodule, used for inputting the first sample image, the second sample image, and the road network type, geographical climate, and weather type of the sample image into the model obtained by the previous iteration training during any iteration process; the road environment and weather conditions represented by the first sample image and the second sample image are different;

[0142] A processing submodule, configured to perform image generation processing through the model to obtain a first training image and a second training image; the first training image includes a road environment represented by the first sample image and a weather condition represented by the second sample image; the second training image includes a road environment represented by the second sample image and a weather condition represented by the first sample image;

[0143] The adjustment submodule is used to adjust the model parameters of the model according to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image until the model training meets the target conditions, then stop the training and obtain the trained model as the deep generation model.

[0144] In some embodiments, the processing submodule is used to:

[0145] The road environment features of the first sample image and the second sample image are extracted respectively through the scene encoder of the model, and the weather condition features of the first sample image and the second sample image are extracted respectively through the weather encoder of the model;

[0146] Through the feature processing layer of the model, any one of the road environment features and weather condition features of the first sample image and the second sample image is exchanged with each other to obtain the exchanged first comprehensive feature and the second comprehensive feature; the first comprehensive feature includes the road environment feature of the first sample image and the weather condition feature of the second sample image, and the second comprehensive feature includes the road environment feature of the second sample image and the weather condition feature of the first sample image; according to the first comprehensive feature, the second comprehensive feature and the road network type, geographical climate and weather type of the sample image, a first conditional feature corresponding to the first comprehensive feature and a second conditional feature corresponding to the second comprehensive feature are generated;

[0147] The image generator of the model performs image generation processing according to the first comprehensive feature, the second comprehensive feature, the first conditional feature and the second conditional feature to obtain the first training image and the second training image.

[0148] In some embodiments, the adjustment submodule is used to:

[0149] Determine a model loss value according to the first training image, the second training image, a real image corresponding to the first training image, and a real image corresponding to the second training image; the model loss value is determined based on a pixel-level loss function and an adversarial loss function;

[0150] According to the model loss value, the model parameters of the model are adjusted until the model loss value is less than or equal to a preset threshold, then the training is stopped and the trained model is obtained as the deep generation model.

[0151] In some embodiments, the target navigation image is used to present the current weather conditions in a global display manner.

[0152] In some embodiments, it also includes:

[0153] The output module is used to output a weather prompt message in response to the weather condition at the current moment belonging to the target weather condition, wherein the weather prompt message is used to prompt that the weather condition at the current moment belongs to the target weather condition.

[0154] Fig.10 is a structural block diagram of a training device for a deep generative model shown in an embodiment of the present disclosure. Fig.10 The device includes an input module 1001, a processing module 1002 and an adjustment module 1003. Wherein:

[0155] The input module 1001 is used to input the first sample image, the second sample image, and the road network type, geographical climate and weather type of the sample image into the model obtained by the previous iteration training in any iteration process; the road environment and weather conditions represented by the first sample image and the second sample image are different; the road network type is used to indicate whether the road environment belongs to an urban area, the geographical climate is used to indicate the geographical climate of the road environment; and the weather type is used to indicate the type of weather conditions;

[0156] The processing module 1002 is used to perform image generation processing through the model to obtain a first training image and a second training image; the first training image includes the road environment represented by the first sample image and the weather condition represented by the second sample image; the second training image includes the road environment represented by the second sample image and the weather condition represented by the first sample image;

[0157] The adjustment module 1003 is used to adjust the model parameters of the model according to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image until the model training meets the target conditions, then stop the training and obtain the trained model as the deep generation model.

[0158] The technical solution provided by the embodiments of the present disclosure utilizes a first sample image and a second sample image having different road environments and weather conditions, as well as the road network type, geographical climate, and weather type of the sample images to perform model training, so that the trained deep generative model can have the function of combining the road environment characteristics of one image with the weather condition characteristics of another image to perform image generation and processing, and can thereby generate an image that can characterize both the road environment and the weather conditions, thereby achieving efficient training of the deep generative model.

[0159] In some embodiments, the processing module 1002 includes:

[0160] An extraction submodule, used to extract the road environment features of the first sample image and the second sample image respectively through the scene encoder of the model, and to extract the weather condition features of the first sample image and the second sample image respectively through the weather encoder of the model;

[0161] A processing submodule, for exchanging any one of the road environment features and weather condition features of the first sample image and the second sample image through the feature processing layer of the model to obtain a first comprehensive feature and a second comprehensive feature after the exchange; the first comprehensive feature includes the road environment features of the first sample image and the weather condition features of the second sample image, and the second comprehensive feature includes the road environment features of the second sample image and the weather condition features of the first sample image; and generating a first conditional feature corresponding to the first comprehensive feature and a second conditional feature corresponding to the second comprehensive feature according to the first comprehensive feature, the second comprehensive feature, and the road network type, geographical climate, and weather type of the sample image;

[0162] The adjustment submodule is used to perform image generation processing according to the first comprehensive feature, the second comprehensive feature, the first conditional feature and the second conditional feature through the image generator of the model to obtain the first training image and the second training image.

[0163] In some embodiments, the adjustment submodule is used to:

[0164] Determine a model loss value according to the first training image, the second training image, a real image corresponding to the first training image, and a real image corresponding to the second training image; the model loss value is determined based on a pixel-level loss function and an adversarial loss function;

[0165] According to the model loss value, the model parameters of the model are adjusted until the model loss value is less than or equal to a preset threshold, then the training is stopped and the trained model is obtained as the deep generation model.

[0166] In some embodiments, it also includes:

[0167] An acquisition module is used to acquire an original navigation image and a weather reference image of the vehicle at a current moment when the vehicle is traveling based on a navigation map; the original navigation image is used to represent the road environment at a current moment, and the weather reference image is used to represent the weather conditions at a current moment;

[0168] A generation module, used for inputting the original navigation image and the weather reference image into the deep generation model, and performing image generation processing by combining the road environment characteristics of the original navigation image and the weather condition characteristics of the weather reference image through the deep generation model to obtain a target navigation image; the target navigation image is used to represent the road environment and the weather condition at the current moment;

[0169] The display module is used to display the target navigation image in the interface of the navigation map.

[0170] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the information display method provided by the present disclosure.

[0171] According to an embodiment of the present disclosure, the present disclosure further provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable an electronic device to execute the information display method provided by the present disclosure.

[0172] According to an embodiment of the present disclosure, the present disclosure further provides a computer program product, including a computer program, which implements the information display method provided by the present disclosure when executed by a processor.

[0173] In some embodiments, the electronic device may be the above Figure 1 The vehicle equipment shown in FIG. Fig.11 A schematic block diagram of an example electronic device 1100 that can be used to implement an embodiment of the present disclosure is shown. The electronic device 1100 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 1100 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0174] like Fig.11As shown, the electronic device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 to a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the electronic device 1100 can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0175] Multiple components in the electronic device 1100 are connected to the I / O interface 1105, including: an input unit 1106, such as a keyboard, a mouse, etc.; an output unit 1107, such as various types of displays, speakers, etc.; a storage unit 1108, such as a disk, an optical disk, etc.; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the electronic device 1100 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0176] The computing unit 1101 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSP), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above, such as the information display method. For example, in some embodiments, the information display method may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, one or more steps of the information display method described above may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to execute the information display method in any other appropriate manner (eg, by means of firmware).

[0177] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard parts (ASSPs), system on chip systems (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0178] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0179] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0180] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user, such as a cathode ray tube (CRT) or a liquid crystal display (LCD) monitor; and a keyboard and a pointing device (e.g., a mouse or a trackball), through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and the input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0181] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.

[0182] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0183] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of this disclosure can be achieved, and this document is not limited here.

[0184] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. An information display method, comprising: During the process of the vehicle traveling based on the navigation map, obtaining an original navigation image and a weather reference image of the vehicle at a current moment; The original navigation image is used to represent the road environment at the current moment, and the weather reference image is used to represent the weather conditions at the current moment; The original navigation image and the weather reference image are input into a deep generation model to obtain a target navigation image; the deep generation model is used to combine the road environment characteristics of the original navigation image and the weather condition characteristics of the weather reference image to perform image generation processing, and the target navigation image is used to represent the road environment and weather conditions at the current moment; In the interface of the navigation map, the target navigation image is displayed.

2. The method according to claim 1, further comprising: Obtaining the road network type, geographical climate and weather type of the vehicle at the current moment; the road network type is used to indicate whether the location of the vehicle belongs to an urban area, the geographical climate is used to indicate the geographical climate of the location of the vehicle; the weather type is used to indicate the type of weather conditions at the current moment; The step of inputting the original navigation image and the weather reference image into a depth generation model to obtain a target navigation image includes: The original navigation image, the weather reference image, the road network type, the geographical climate, and the weather type are input into the deep generation model. The deep generation model uses the road network type, the geographical climate, and the weather type as conditional features to perform image generation processing on the road environment features of the original navigation image and the weather condition features of the weather reference image to obtain the target navigation image.

3. The method according to claim 2, wherein: The method of performing image generation processing on the road environment features of the original navigation image and the weather condition features of the weather reference image using the deep generation model with the road network type, the geographical climate and the weather type as conditional features to obtain the target navigation image includes: Extracting road environment features of the original navigation image through a scene encoder of the deep generative model, and extracting weather condition features of the weather reference image through a weather encoder of the deep generative model; Generate target condition features according to the road network type, the geographical climate and the weather type through the feature processing layer of the deep generative model; perform feature splicing on the road environment features and the weather condition features to obtain target comprehensive features; The image generator of the deep generative model performs image generation processing according to the target condition features and the target comprehensive features to obtain the target navigation image.

4. The method according to claim 2 or 3, wherein: The training process of the deep generative model includes: In any iteration process, the first sample image, the second sample image, and the road network type, geographical climate, and weather type of the sample image are input into the model obtained by the previous iteration training; the road environment and weather conditions represented by the first sample image and the second sample image are different; Performing image generation processing through the model to obtain a first training image and a second training image; the first training image includes a road environment represented by the first sample image and a weather condition represented by the second sample image; the second training image includes a road environment represented by the second sample image and a weather condition represented by the first sample image; According to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image, the model parameters of the model are adjusted until the model training meets the target conditions, then the training is stopped and the trained model is obtained as the deep generative model.

5. The method according to claim 4, wherein: The step of performing image generation processing by the model to obtain a first training image and a second training image includes: Extracting the road environment features of the first sample image and the second sample image respectively through the scene encoder of the model, and extracting the weather condition features of the first sample image and the second sample image respectively through the weather encoder of the model; Through the feature processing layer of the model, any one of the road environment features and weather condition features of the first sample image and the second sample image is exchanged with each other to obtain the exchanged first comprehensive feature and the second comprehensive feature; the first comprehensive feature includes the road environment feature of the first sample image and the weather condition feature of the second sample image, and the second comprehensive feature includes the road environment feature of the second sample image and the weather condition feature of the first sample image; based on the first comprehensive feature, the second comprehensive feature and the road network type, geographical climate and weather type of the sample image, a first conditional feature corresponding to the first comprehensive feature and a second conditional feature corresponding to the second comprehensive feature are generated; The image generator of the model performs image generation processing according to the first comprehensive feature, the second comprehensive feature, the first conditional feature and the second conditional feature to obtain the first training image and the second training image.

6. The method according to claim 4, wherein: The method further comprises: adjusting the model parameters of the model according to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image until the model training meets the target condition, then stopping the training and obtaining the trained model as the deep generative model, including: Determine a model loss value according to the first training image, the second training image, a real image corresponding to the first training image, and a real image corresponding to the second training image; the model loss value is determined based on a pixel-level loss function and an adversarial loss function; According to the model loss value, the model parameters of the model are adjusted until the model loss value is less than or equal to a preset threshold, then the training is stopped and the trained model is obtained as the deep generation model.

7. The method according to any one of claims 1 to 6, wherein: The target navigation image is used to present the weather conditions at the current moment in a global display manner.

8. The method according to any one of claims 1 to 7, further comprising: In response to the weather condition at the current moment belonging to the target weather condition, a weather prompt message is output, wherein the weather prompt message is used to prompt that the weather condition at the current moment belongs to the target weather condition.

9. A method for training a deep generative model, comprising: In any iteration process, the first sample image, the second sample image, and the road network type, geographical climate, and weather type of the sample image are input into the model obtained by the previous iteration training; the road environment and weather conditions represented by the first sample image and the second sample image are different; the road network type is used to indicate whether the road environment belongs to an urban area, the geographical climate is used to indicate the geographical climate of the road environment; the weather type is used to indicate the type of weather conditions; Performing image generation processing through the model to obtain a first training image and a second training image; the first training image includes a road environment represented by the first sample image and a weather condition represented by the second sample image; the second training image includes a road environment represented by the second sample image and a weather condition represented by the first sample image; According to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image, the model parameters of the model are adjusted until the model training meets the target conditions, then the training is stopped and the trained model is obtained as the deep generative model.

10. The method according to claim 9, wherein: The step of performing image generation processing by the model to obtain a first training image and a second training image includes: Extracting the road environment features of the first sample image and the second sample image respectively through the scene encoder of the model, and extracting the weather condition features of the first sample image and the second sample image respectively through the weather encoder of the model; Through the feature processing layer of the model, any one of the road environment features and weather condition features of the first sample image and the second sample image is exchanged with each other to obtain the exchanged first comprehensive feature and the second comprehensive feature; the first comprehensive feature includes the road environment feature of the first sample image and the weather condition feature of the second sample image, and the second comprehensive feature includes the road environment feature of the second sample image and the weather condition feature of the first sample image; based on the first comprehensive feature, the second comprehensive feature and the road network type, geographical climate and weather type of the sample image, a first conditional feature corresponding to the first comprehensive feature and a second conditional feature corresponding to the second comprehensive feature are generated; The image generator of the model performs image generation processing according to the first comprehensive feature, the second comprehensive feature, the first conditional feature and the second conditional feature to obtain the first training image and the second training image.

11. The method according to claim 9, wherein: The method further comprises: adjusting the model parameters of the model according to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image until the model training meets the target condition, then stopping the training and obtaining the trained model as the deep generative model, including: Determine a model loss value according to the first training image, the second training image, a real image corresponding to the first training image, and a real image corresponding to the second training image; the model loss value is determined based on a pixel-level loss function and an adversarial loss function; According to the model loss value, the model parameters of the model are adjusted until the model loss value is less than or equal to a preset threshold, then the training is stopped and the trained model is obtained as the deep generation model.

12. The method according to claim 9, further comprising: During the process of the vehicle traveling based on the navigation map, obtaining an original navigation image and a weather reference image of the vehicle at a current moment; The original navigation image is used to represent the road environment at the current moment, and the weather reference image is used to represent the weather conditions at the current moment; The original navigation image and the weather reference image are input into the deep generation model, and the deep generation model is used to combine the road environment characteristics of the original navigation image and the weather condition characteristics of the weather reference image to perform image generation processing to obtain a target navigation image; the target navigation image is used to represent the road environment and weather conditions at the current moment; In the interface of the navigation map, the target navigation image is displayed.

13. An information display device, comprising: An acquisition module, used to acquire an original navigation image and a weather reference image of the vehicle at a current moment when the vehicle is traveling based on the navigation map; The original navigation image is used to represent the road environment at the current moment, and the weather reference image is used to represent the weather conditions at the current moment; A processing module, configured to input the original navigation image and the weather reference image into a deep generation model to obtain a target navigation image; the deep generation model is configured to combine the road environment characteristics of the original navigation image and the weather condition characteristics of the weather reference image to perform image generation processing, and the target navigation image is configured to represent the road environment and weather condition at the current moment; The display module is used to display the target navigation image in the interface of the navigation map.

14. The device according to claim 13, wherein the acquisition module is further configured to: Obtaining the road network type, geographical climate and weather type of the vehicle at the current moment; the road network type is used to indicate whether the location of the vehicle belongs to an urban area, the geographical climate is used to indicate the geographical climate of the location of the vehicle; the weather type is used to indicate the type of weather conditions at the current moment; The processing module is used for: The original navigation image, the weather reference image, the road network type, the geographical climate, and the weather type are input into the deep generation model. The deep generation model uses the road network type, the geographical climate, and the weather type as conditional features to perform image generation processing on the road environment features of the original navigation image and the weather condition features of the weather reference image to obtain the target navigation image.

15. The device according to claim 14, wherein: The processing module comprises: An extraction submodule, configured to extract road environment features of the original navigation image through a scene encoder of the deep generative model, and to extract weather condition features of the weather reference image through a weather encoder of the deep generative model; A generation submodule is used to generate target condition features according to the road network type, the geographical climate and the weather type through the feature processing layer of the deep generation model; perform feature splicing on the road environment features and the weather condition features to obtain target comprehensive features; The processing submodule is used to perform image generation processing according to the target condition characteristics and the target comprehensive characteristics through the image generator of the deep generation model to obtain the target navigation image.

16. A training device for a deep generative model, comprising: An input module, used for inputting the first sample image, the second sample image, and the road network type, geographical climate, and weather type of the sample images into the model obtained by the previous iteration training during any iteration process; the road environment and weather conditions represented by the first sample image and the second sample image are different; the road network type is used to indicate whether the road environment belongs to an urban area, the geographical climate is used to indicate the geographical climate of the road environment; and the weather type is used to indicate the type of weather conditions; a processing module, configured to perform image generation processing through the model to obtain a first training image and a second training image; the first training image includes a road environment represented by the first sample image and a weather condition represented by the second sample image; the second training image includes a road environment represented by the second sample image and a weather condition represented by the first sample image; An adjustment module is used to adjust the model parameters of the model according to the first training image, the second training image, the real image corresponding to the first training image, and the real image corresponding to the second training image until the model training meets the target conditions, then stop the training and obtain the trained model as the deep generation model.

17. The device according to claim 16, wherein: The processing module is used to: Extracting the road environment features of the first sample image and the second sample image respectively through the scene encoder of the model, and extracting the weather condition features of the first sample image and the second sample image respectively through the weather encoder of the model; Through the feature processing layer of the model, any one of the road environment features and the weather condition features of the first sample image and the second sample image is exchanged with each other to obtain a first comprehensive feature and a second comprehensive feature after the exchange; the first comprehensive feature includes the road environment feature of the first sample image and the weather condition feature of the second sample image, and the second comprehensive feature includes the road environment feature of the second sample image and the weather condition feature of the first sample image; Generate a first conditional feature corresponding to the first comprehensive feature and a second conditional feature corresponding to the second comprehensive feature according to the first comprehensive feature, the second comprehensive feature, and the road network type, geographical climate, and weather type of the sample image; The image generator of the model performs image generation processing according to the first comprehensive feature, the second comprehensive feature, the first conditional feature and the second conditional feature to obtain the first training image and the second training image.

18. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 8 or 9 to 12.

19. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause an electronic device to execute the method according to any one of claims 1 to 8 or 9 to 12.

20. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8 or 9 to 12.