Remote sensing image processing model training method, electronic device and storage medium
By using sample annotation and model training instructions on the user interface, combined with self-supervised and semi-supervised learning, the problem of low training efficiency of remote sensing image processing models is solved, realizing a no-code autonomous training chain, which improves training efficiency and reduces costs.
Patent Information
- Application Number
- CN202310281449.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-03-17
AI Technical Summary
The training of remote sensing image processing models requires the intervention of professional deep learning algorithm engineers, resulting in low training efficiency and high costs.
This paper presents a training method for remote sensing image processing models. By combining sample annotation and model training instructions on the user interface with self-supervised and semi-supervised learning, a no-code autonomous training chain is achieved, reducing reliance on professional personnel.
It improves the training efficiency of remote sensing image processing models, shortens the development cycle and reduces manpower costs, and realizes a low-threshold full-chain function for data annotation, sample management and model training.
Smart Images

Figure CN116189009B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of model training, and more specifically, to a training method, electronic device, and storage medium for a remote sensing image processing model. Background Technology
[0002] Currently, with the development of deep learning technology, artificial intelligence is constantly combining with traditional industries to form new interdisciplinary fields. Remote sensing image processing models are a product of the application of artificial intelligence technology in the traditional remote sensing industry. However, in the current training scenarios for remote sensing image processing models, it is necessary to first annotate the images, then create a sample set, and finally train the model. The whole process requires the intervention and support of professional deep learning algorithm engineers, and the development cycle and manpower investment costs are relatively large, resulting in low training efficiency of the model.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This application provides a training method, electronic device, and storage medium for a remote sensing image processing model, in order to at least solve the technical problem of low training efficiency of models in related technologies.
[0005] According to one aspect of the embodiments of this application, a training method for a remote sensing image processing model is provided, comprising: responding to a sample annotation command applied to an operation interface, displaying an annotation interface on the operation interface, wherein the annotation interface displays a first remote sensing image and annotation controls, the first remote sensing image being used to train the remote sensing image processing model, and the annotation controls being used to annotate the first remote sensing image; responding to a first annotation command applied to the annotation controls, displaying a first annotation result on the first remote sensing image, wherein the first annotation result is a result obtained by annotating the first remote sensing image based on the first annotation command; and responding to a model training command applied to the operation interface, displaying a first training result of the remote sensing image processing model on the operation interface, wherein the first training result is a result obtained by training the remote sensing image processing model based on the first remote sensing image and the first annotation result.
[0006] According to another aspect of the embodiments of this application, a training method for a remote sensing image processing model is also provided, comprising: acquiring a first remote sensing image and a first annotation instruction by calling a first interface, wherein the first interface includes a first parameter, the parameter value of the first parameter being the first remote sensing image and the first annotation instruction; annotating the first remote sensing image based on the first annotation instruction to obtain a first annotation result; training the remote sensing image processing model based on the first remote sensing image and the first annotation result to obtain a first training result of the remote sensing image processing model; and outputting the first training result by calling a second interface, wherein the second interface includes a second parameter, the parameter value of the second parameter being the first training result.
[0007] According to another aspect of the embodiments of this application, an electronic device is also provided, including: a memory storing an executable program; and a processor for running the program, wherein the program executes the method of any one of the above embodiments when it runs.
[0008] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the computer-readable storage medium is located to perform any of the methods described in the above embodiments.
[0009] In this embodiment, firstly, in response to a sample annotation command applied to the operation interface, an annotation interface is displayed on the operation interface. The annotation interface displays a first remote sensing image and annotation controls. The first remote sensing image is used to train the remote sensing image processing model, and the annotation controls are used to annotate the first remote sensing image. In response to a first annotation command applied to the annotation controls, a first annotation result is displayed on the first remote sensing image. The first annotation result is obtained by annotating the first remote sensing image based on the first annotation command. In response to a model training command applied to the operation interface, a first training result of the remote sensing image processing model is displayed on the operation interface. The first training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the first annotation result. By setting up the operation interface, users can easily annotate on the interface, thereby improving the annotation efficiency of the first remote sensing image. Furthermore, model training commands can be generated based on the first remote sensing image and the first annotation result, thereby quickly training the remote sensing image processing model. This achieves the goal of improving the training efficiency of the remote sensing image processing model, thus solving the technical problem of low model training efficiency in related technologies.
[0010] It is worth noting that the general description above and the detailed description that follow are merely for illustrative purposes and do not constitute a limitation on this application. Attached Figure Description
[0011] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0012] Figure 1 This is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a training method for a remote sensing image processing model according to an embodiment of this application.
[0013] Figure 2 This is a flowchart of the training method for the remote sensing image processing model according to Embodiment 1 of this application;
[0014] Figure 3 This is a schematic diagram of an operation interface for model training according to an embodiment of this application;
[0015] Figure 4 This is a schematic diagram of a list of labeled items according to an embodiment of this application;
[0016] Figure 5 This is a schematic diagram of a newly created annotation item according to an embodiment of this application;
[0017] Figure 6 This is a schematic diagram illustrating the annotation of item details according to an embodiment of this application;
[0018] Figure 7 This is a schematic diagram of a newly created annotation task according to an embodiment of this application;
[0019] Figure 8 This is a schematic diagram of a task setting according to an embodiment of this application;
[0020] Figure 9 This is a schematic diagram of a pre-annotated structure according to an embodiment of this application;
[0021] Figure 10 This is a schematic diagram of a labeling result according to an embodiment of this application;
[0022] Figure 11 This is a schematic diagram of a slice confirmation according to an embodiment of this application;
[0023] Figure 12 This is a schematic diagram illustrating the details of a labeling task according to an embodiment of this application;
[0024] Figure 13 This is a schematic diagram illustrating the execution of an annotation task according to an embodiment of this application;
[0025] Figure 14 This is a flowchart of a method for determining a predicted patch according to an embodiment of this application;
[0026] Figure 15 This is an interactive annotation diagram according to an embodiment of this application;
[0027] Figure 16 This is a schematic diagram of a sample set list according to an embodiment of this application;
[0028] Figure 17 This is a schematic diagram showing the details of a sample set according to this very light embodiment;
[0029] Figure 18 This is a schematic diagram illustrating a sample set view according to an embodiment of this application;
[0030] Figure 19 This is a schematic diagram of a self-built sample dataset according to an embodiment of this application;
[0031] Figure 20 This is a schematic diagram illustrating importing from a labeled item according to an embodiment of this application;
[0032] Figure 21 This is a schematic diagram illustrating the creation of a dataset according to an embodiment of this application;
[0033] Figure 22 This is a schematic diagram illustrating a batch upload based on a template according to an embodiment of this application;
[0034] Figure 23 This is a schematic diagram of uploading a sample set according to an embodiment of this application;
[0035] Figure 24 This is a schematic diagram illustrating a batch upload on a server according to an embodiment of this application;
[0036] Figure 25 This is a schematic diagram confirming a download format according to an embodiment of this application;
[0037] Figure 26 This is a schematic diagram of a preset sample data according to an embodiment of this application;
[0038] Figure 27 This is a schematic diagram of a model training project list according to an embodiment of this application;
[0039] Figure 28 This is a schematic diagram of a newly created training project according to an embodiment of this application;
[0040] Figure 29 This is a schematic diagram illustrating the details of a training program according to an embodiment of this application;
[0041] Figure 30 This is a schematic diagram illustrating a model version setting according to an embodiment of this application;
[0042] Figure 31This is a schematic diagram of a training data setting according to an embodiment of this application;
[0043] Figure 32 This is a schematic diagram illustrating a detailed data enhancement setup according to an embodiment of this application;
[0044] Figure 33 This is a schematic diagram of a training parameter setting according to an embodiment of this application;
[0045] Figure 34 This is a schematic diagram of a model version list according to an embodiment of this application;
[0046] Figure 35 This is a schematic diagram illustrating model information details according to an embodiment of this application;
[0047] Figure 36 This is a schematic diagram of a model test according to an embodiment of this application;
[0048] Figure 37 This is a schematic diagram of a test task according to an embodiment of this application;
[0049] Figure 38 This is a schematic diagram illustrating a test result according to an embodiment of this application;
[0050] Figure 39 This is a training parameter setting page for semi-supervised learning according to an embodiment of this application;
[0051] Figure 40 This is a schematic diagram of a newly created model version according to an embodiment of this application;
[0052] Figure 41 This is a schematic diagram of a newly created model version according to an embodiment of this application;
[0053] Figure 42 This is a structural diagram of a model training method according to an embodiment of this application;
[0054] Figure 43 This is a schematic diagram of network structure information according to an embodiment of this application;
[0055] Figure 44 This is a schematic diagram of a pre-built model training according to an embodiment of this application;
[0056] Figure 45 This is a schematic diagram of a model management system according to an embodiment of this application;
[0057] Figure 46 This is a schematic diagram illustrating the interpretation of a system call according to an embodiment of this application;
[0058] Figure 47 This is a schematic diagram of a published model according to an embodiment of this application;
[0059] Figure 48 This is a flowchart of a training method for a remote sensing image processing model according to Embodiment 2 of this application;
[0060] Figure 49 It is a training device for a remote sensing image processing model according to an embodiment of this application;
[0061] Figure 50 This is a structural block diagram of a computer terminal according to an embodiment of this application. Detailed Implementation
[0062] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0063] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0064] First, some nouns or terms that appear in the description of the embodiments of this application shall be interpreted as follows:
[0065] Target extraction: By intelligently interpreting remote sensing images, various typical characteristic targets or areas such as buildings, roads, water bodies, greenhouses, farmland, and construction sites can be extracted, providing innovative directions for achieving dynamic, precise, and efficient management in various industries.
[0066] Change detection: By comparing two images of the same area at different times, and eliminating interference factors such as seasonal changes, the location and extent of changes in land, water and other elements are extracted, thereby obtaining information on land use changes in forests, farmland, cities and other areas.
[0067] Land feature classification: Pixel-level land feature type analysis and precise segmentation are performed across the entire image area to obtain the corresponding land cover attributes for different locations, covering cultivated land, forest land, grassland, buildings, roads, structures, artificial excavated land, bare land, water bodies, unknown or cloud and snow cover, etc., providing technical support for land resource distribution and land use surveys.
[0068] Remote sensing satellite imagery: Image data of the Earth taken by satellites.
[0069] Raster data: Raster data is a data form that divides space into regular grids, each grid being called a cell, and assigns corresponding attribute values to each cell to represent entities.
[0070] Vector data: Vector data is data that uses x and y coordinates to represent the location and shape of map graphics or geographic entities in a rectangular coordinate system. Vector data generally uses coordinate recording to accurately represent the spatial location of geographic entities. The clarity of vector data does not change with map zooming in or out. In remote sensing data annotation, vector data is represented as patches with attribute information.
[0071] Interactive annotation: Semi-automatic data annotation is achieved through auxiliary annotation tools such as intelligent selection and automatic image cutout. The tools are based on a remote sensing data-specific foreground and background segmentation model.
[0072] Self-supervised learning: Training an unsupervised representation learning model on unlabeled data to obtain a general representation of the data or a representation for a specific task, and then fine-tuning it for downstream tasks.
[0073] Semi-supervised learning: By constructing a loss function for semi-supervised learning, it can make full use of limited labeled knowledge and a large amount of unlabeled data. The model needs to make self-inference on unlabeled data and further constrain optimization based on the results. It also needs to use labeled data for a certain degree of supervision to guide the self-supervised pre-training process, while avoiding the model parameters from getting stuck in trivial solutions.
[0074] This application innovatively designs a no-code autonomous training pipeline for remote sensing AI algorithm models by combining the characteristics of artificial intelligence and remote sensing data. It achieves a low-barrier end-to-end functionality encompassing data annotation, sample management, model training, and deployment, enabling the integration of AI and remote sensing to unlock greater application value. Through this autonomous remote sensing model training platform, no professional deep learning algorithm engineers are required, significantly shortening the customized development cycle and reducing manpower costs for remote sensing models, and quickly obtaining algorithm models that meet the needs of different functional scenarios.
[0075] Example 1
[0076] According to an embodiment of this application, an embodiment of a training method for a remote sensing image processing model is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0077] The method embodiment provided in Embodiment 1 of this application can be executed on a mobile terminal, computer terminal, or similar computing device. Figure 1 This is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a training method for a remote sensing image processing model according to an embodiment of this application. Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more processors 102 (shown as 102a, 102b, ..., 102n in the figure) 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0078] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 10 (or mobile device). As involved in the embodiments of this application, the data processing circuits serve as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).
[0079] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the training method of the remote sensing image processing model in this embodiment. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby realizing the aforementioned training method of the remote sensing image processing model. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0080] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0081] The display can be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10 (or mobile device).
[0082] It should be noted here that, in some embodiments, the above... Figure 1 The computer device (or mobile device) shown has a touch display (also referred to as a "touchscreen" or "touch display screen"). In some embodiments, the above... Figure 1 The computer device (or mobile device) shown has a graphical user interface (GUI), through which users can interact with the GUI by touching and / or gesturing on a touch-sensitive surface. The human-computer interaction functions here may include the following interactions: creating web pages, drawing, word processing, creating electronic documents, playing games, video conferencing, instant messaging, sending and receiving emails, call interface, playing digital video, playing digital music, and / or web browsing, etc. Executable instructions for performing the above human-computer interaction functions are configured / stored in one or more processor-executable computer program products or readable storage media.
[0083] Under the aforementioned operating environment, this application provides the following: Figure 2 The training method for the remote sensing image processing model is shown. Figure 2 This is a flowchart of the training method for the remote sensing image processing model according to Embodiment 1 of this application. Figure 2 As shown, the method may include the following steps:
[0084] Step S202: In response to the sample annotation command applied to the operation interface, the annotation interface is displayed on the operation interface.
[0085] The annotation interface displays a first remote sensing image and annotation controls. The first remote sensing image is used to train the remote sensing image processing model, and the annotation controls are used to annotate the first remote sensing image.
[0086] The above-mentioned user interface can be operated by the user. The user interface can display controls with sample annotations. By clicking the control, a sample annotation instruction can be generated. According to the sample annotation instruction, the annotation interface can be displayed on the user interface.
[0087] The first remote sensing image mentioned above can be a remote sensing image to be labeled, and the labeling control mentioned above can be a labeling tool in the toolbar. The labeling tool can be used to label the first remote sensing image.
[0088] Figure 3 This is a schematic diagram of an operation interface for model training according to an embodiment of this application, such as... Figure 3 The interface shown leads to the model training interface. The model training page, which implements the entire model training process, includes various function entry points and related data statistics. The left side of the interface displays controls for overview, sample annotation, sample management, model training, and model management. Clicking the overview provides quick start controls for sample annotation, sample management, model training, and model management, and also displays brief descriptions of different functions. The right side of the interface displays relevant data statistics, including the number of labeled projects, the number of samples, the number of model training iterations, and the total number of models.
[0089] The overview section on sample annotation allows users to create annotation projects and related tasks to annotate samples using algorithms such as target extraction, land cover classification, and change detection. It supports custom labeling systems, and annotation projects can be directly imported into the sample library to generate a database.
[0090] The overview of sample management allows users to create various sample datasets by importing from labeled projects and the My Data list. Datasets can be viewed, edited, exported, or downloaded online. The platform provides some pre-built sample datasets for pre-built model updates and training.
[0091] The overview of model training allows you to create an algorithm model training project based on a deep learning network, selecting a platform sample dataset. It supports real-time viewing of the training status and online evaluation. The trained model can be tested and updated using semi-supervised learning.
[0092] The overview of model management allows for multi-version management of published algorithm models after training. It supports one-click deployment of models to online AI interpretation tools, allowing users to select the corresponding version in the workspace to submit analysis tasks and realize online application of the model.
[0093] It should be noted that the descriptions of each function in the above usage overview are not limited to the descriptions above, and may also include other descriptions. The specific descriptions can be changed according to the actual situation.
[0094] Step S204: In response to the first annotation instruction applied to the annotation control, display the first annotation result on the first remote sensing image.
[0095] The first annotation result is obtained by annotating the first remote sensing image based on the first annotation instruction.
[0096] The annotation controls described above can be used to manipulate annotation tools, which include, but are not limited to, moving, selecting, and box-selecting. This is merely an example; you can adaptively add, delete, and adjust the annotation tools and their corresponding annotation controls.
[0097] In one optional embodiment, the user can manipulate the annotation control to annotate the first remote sensing image using the annotation tool, thereby obtaining the aforementioned first annotation result. Optionally, the annotation control can be used to move the first remote sensing image up, down, left, and right, and can be used to select multiple patches in the remote sensing image, but it is not limited to these functions.
[0098] Step S206: In response to the model training command applied to the operation interface, the first training result of the remote sensing image processing model is displayed on the operation interface.
[0099] The first training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the first annotation result.
[0100] In one optional embodiment, after the first remote sensing image is labeled, the user can return to the operation interface and click the control corresponding to model training on the operation interface to generate a model training instruction. The remote sensing image processing model can then be trained based on the first remote sensing image and the first labeling result according to the model training instruction to obtain the first training result.
[0101] This application innovatively designs a no-code autonomous training pipeline for remote sensing artificial intelligence (AI) algorithm models, combining artificial intelligence technology with the characteristics of remote sensing data. This achieves a low-barrier end-to-end functionality encompassing data annotation, sample management, AI model training, and deployment, enabling the integration of AI and remote sensing to unlock greater application value. Remote sensing has diverse functional scenarios, requiring different remote sensing image interpretation rules in various sub-scenarios such as natural resources, water conservancy, ecological protection, housing and urban planning, emergency response, and agriculture. Through the autonomous training platform for remote sensing AI models, no professional deep learning algorithm engineers are needed, significantly shortening the customized development cycle and reducing manpower costs for remote sensing AI models. Algorithm models that meet the needs of different functional scenarios can be quickly obtained.
[0102] This application enables users to independently train remote sensing AI models without code throughout the entire process, from data annotation, sample set preparation, model training, and deployment, based on dedicated remote sensing data annotation tools and innovative model training technologies such as self-supervised learning and semi-supervised learning. The results obtained from the deployed model submission for interpretation tasks are then fed back to the annotation stage, solving problems such as high annotation costs, large professional labor input, and long model training cycles in the customized production of remote sensing AI models.
[0103] Through the above steps, firstly, in response to the sample annotation command applied to the operation interface, an annotation interface is displayed on the operation interface. This annotation interface displays a first remote sensing image and annotation controls. The first remote sensing image is used to train the remote sensing image processing model, and the annotation controls are used to annotate the first remote sensing image. Secondly, in response to the first annotation command applied to the annotation controls, a first annotation result is displayed on the first remote sensing image. This first annotation result is obtained by annotating the first remote sensing image based on the first annotation command. Thirdly, in response to the model training command applied to the operation interface, a first training result of the remote sensing image processing model is displayed on the operation interface. This first training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the first annotation result. This achieves the goal of improving the training efficiency of the remote sensing image processing model. By setting up the operation interface, users can easily annotate on the interface, thereby improving the annotation efficiency of the first remote sensing image. Furthermore, model training commands can be generated based on the first remote sensing image and the first annotation result, thus quickly training the remote sensing image processing model and achieving the goal of improving the training efficiency of the remote sensing image processing model. This solves the technical problem of low model training efficiency in related technologies.
[0104] In the above embodiments of this application, in response to a first annotation instruction applied to the annotation control, the method further includes: determining the current state corresponding to the annotation control based on the first annotation instruction, wherein the current state includes one of the following: adding an annotation, deleting an annotation; in response to a touch instruction applied to the first remote sensing image, generating a first annotation result based on the current state and the recognition result corresponding to the touch instruction, wherein the recognition result is obtained by image recognition of the target image corresponding to the touch instruction, and the target image is an image in the first remote sensing image located within a preset range corresponding to the touch instruction.
[0105] The touch commands mentioned above can be left-click or right-click; there are no restrictions here, and the method of generating touch commands can be set according to the actual situation.
[0106] The above annotations can be presented in the form of labels, but are not limited to this. Adding an annotation can be done by adding a label, and deleting an annotation can be done by deleting a label.
[0107] When the annotation control is currently set to add an annotation, an annotation can be added to the first remote sensing image based on touch commands. When the annotation control is currently set to delete an annotation, an annotation can be deleted from the first remote sensing image based on touch commands.
[0108] The aforementioned preset range can be the image area in the first remote sensing image that needs to be labeled.
[0109] In the above embodiments of this application, a first annotation result is generated based on the recognition result corresponding to the current state and the touch command, including: adding the recognition result to the first annotation result when the current state includes adding annotation; and deleting the recognition result from the first annotation result when the current state includes deleting annotation.
[0110] If the current state includes adding annotations, and it is determined that the image within a preset range in the first remote sensing image needs to be annotated, then the recognition result can be added to the first annotation result.
[0111] If the current state includes deleting annotations, and it is determined that it is not necessary to annotate the image within the preset range in the first remote sensing image, then the recognition result can be deleted from the first annotation result.
[0112] In the above embodiments of this application, after determining whether the first annotation result contains the recognition result corresponding to the touch command based on the current state, the method further includes: in response to a removal command applied to the first remote sensing image, removing the recognition result corresponding to the removal command from the first annotation result; in response to a confirmation command applied to the first annotation result, displaying an adjustment control on at least one recognition result included in the first annotation result; and in response to an adjustment command applied to the adjustment control, displaying a second annotation result on the annotation interface, wherein the second annotation result is obtained by adjusting the first annotation result based on the adjustment command.
[0113] The above recognition results can be identifiers on the first remote sensing image, which can be distinguished by identifiers of different shapes or by identifiers of the same shape but different colors.
[0114] The removal command mentioned above can be executed using the Ctrl key, but is not limited to this. The removal command can be used to remove the identifier corresponding to the recognition result.
[0115] The confirmation command mentioned above can be a space bar, but is not limited to this. The confirmation command confirms the processing of the first remote sensing image and initiates the manual adjustment phase.
[0116] The aforementioned adjustment controls can be used to automatically generate corner points at the edges of the patch, allowing for further manual fine-tuning of the edges.
[0117] In the above embodiments of this application, in response to a sample annotation command applied to the operation interface, the method further includes: displaying a list of annotation items on the operation interface, wherein the list of annotation items includes already created annotation items; in response to a project viewing command applied to the annotation items, displaying a list of annotation tasks on the operation interface, wherein the list of annotation tasks includes already created annotation tasks; and in response to an execution command applied to the annotation tasks, displaying an annotation interface on the operation interface.
[0118] In one optional embodiment, a list of labeled items can be displayed on the user interface. This list allows for the management of labeled items, including viewing item details, modifying item names, deleting items, and creating new labeling tasks for those items. Labeled items can be filtered by item name, label type, and creation time. Labeled items and related labeling tasks within each item can be created. The system's labeling, sample set, and training modules support six types of algorithms: object detection and instance segmentation, ground feature recognition, ground feature classification, general change detection, and multi-class change detection. Custom labeling systems are supported, and labeled items can be directly imported into the sample library to generate datasets. Figure 4 This is a schematic diagram of a labeled item list according to an embodiment of this application, such as... Figure 4As shown, you can start creating a new annotation project by clicking the "Create Annotation Project" button in the upper right corner of the annotation project list. When creating the project, you need to confirm the project name, annotation type, label system, and data slice size.
[0119] The system has a built-in tag system that matches the pre-deployed model, and also supports custom tag systems and their color codes. For target extraction, a custom tag can be created. For target detection, land cover classification and multi-class change detection, the number of custom tags can be limited to 30. The number of custom tags can also be determined according to the actual situation, and is not limited to this.
[0120] In one alternative embodiment, the annotation types include, but are not limited to, object detection, instance segmentation, land cover recognition, land cover classification, general change detection, and multi-class change detection.
[0121] Object detection supports setting single or multiple labels, and allows selection and labeling of targets by rotating a rectangle, which is suitable for training object detection algorithms.
[0122] Instance segmentation supports setting single or multiple labels, and uses polygons to annotate along the edge of the target to classify and label the attributes of ground features. Ground features with the same label attributes can be distinguished as different instances, which is suitable for training instance segmentation algorithms.
[0123] Land feature recognition can include a label, which is suitable for training semantic segmentation algorithms for single land feature recognition.
[0124] The feature classification function supports setting single or multiple labels to classify and label features by attributes, which is suitable for training semantic segmentation algorithms.
[0125] General change detection can label changed regions with a single label, making it suitable for training semantic segmentation algorithms.
[0126] Multi-class change detection can classify and label changed regions using multiple labels, making it suitable for training semantic segmentation algorithms.
[0127] Figure 5 This is a schematic diagram of a newly created annotation item according to an embodiment of this application, such as... Figure 5 As shown, you can click on "Create New Annotation Project" in the annotation task list to enter the settings page for the new annotation project. On this page, you can add a project name, select the annotation type, select the label system through label settings, and set the data slice size. For example, you can set the slice size to 1024 pixels × 1024 pixels, but it is not limited to this. The specific slice size can be adjusted according to the actual situation.
[0128] Figure 6 This is a schematic diagram illustrating the annotation of item details according to an embodiment of this application, such as... Figure 6As shown, it is possible to Figure 4 In the list of labeled items shown, clicking the labeled item details button will bring up the labeled item details page, where you can view information such as project name, labeled type, label settings, category name and label color in the default labels, data slice size, creator, creation time, etc. You can also modify the project name.
[0129] For annotation projects with a custom tagging system, it is supported to modify the tagging system, adjust tag names, or add / delete tag categories. Optionally, modifying the tagging system will update the annotation task / tile after the tag is modified, and completed annotation tasks / tiles will be set to in progress again, allowing you to reconfirm the tile annotation status. In addition, deleting a tag will simultaneously remove the corresponding labeled polygons in the annotation project task.
[0130] It is important to note that during the system model training phase, the required training data for different versions of the same model can maintain the same slice size and label system (label name, label order, label color number). Typically, after modifying the label system, the created dataset can be used for training new self-built models or for iterative training of existing models.
[0131] For land cover classification and multi-class change detection, the labeling system includes two default labels: background and pending. The background label does not need to be labeled (unlabeled areas of the tile can be automatically regarded as background and participate in model training), while the pending label is for areas of doubt (they can be labeled, but labeled areas will not participate in model training). These two default labels cannot be deleted. In addition, a custom class label must be retained.
[0132] In the above embodiments of this application, after displaying the annotation task list on the operation interface, the method further includes: responding to a task creation instruction applied to the annotation task list, displaying a task creation page on the operation interface, wherein the task creation page at least includes a pre-annotation setting control; responding to a pre-annotation instruction applied to the pre-annotation setting control, displaying pre-annotated vector data corresponding to the pre-annotation instruction on the task creation page, wherein the pre-annotated vector data is obtained by processing a second remote sensing image using a remote sensing image processing model; responding to a second annotation instruction applied to the task creation page, displaying a third annotation result on the first remote sensing image, wherein the third annotation result is obtained by annotating the first remote sensing image based on the pre-annotated vector data; and responding to a model training instruction applied to the operation interface, displaying a second training result of the first remote sensing image processing model on the operation interface, wherein the second training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the third annotation result.
[0133] In one optional embodiment, users can click on a labeling project card in the labeling task list to access the labeling task list within that project. Labeling tasks can be managed, including performing labeling, modifying task names, and deleting tasks. Labeling tasks can be filtered by task name, task status, and creation time.
[0134] The labeling task status includes creating, creation error, not started, labeling (A / B / C), and completed (A / B / C), where (A / B / C) values represent A: the number of slices that have been labeled, B: the number of slices that are being labeled, and C: the number of slices that have not been labeled.
[0135] Figure 7 This is a schematic diagram of a newly created annotation task according to an embodiment of this application, such as... Figure 7 As shown, you can click the "Create New Annotation Task" button in the upper right corner of the annotation task list page to start creating a new annotation task. Figure 8 This is a schematic diagram of a task setting according to an embodiment of this application, such as... Figure 8 As shown, when creating the task, you can confirm the task name, the assignment to others for annotation, the data to be annotated, the number of slices for this annotation task, and whether to upload pre-annotated files.
[0136] The above-mentioned budget annotation settings control allows you to select pre-annotated vector data for auxiliary annotation as needed. For annotation tasks with multiple category labels, you can select the vector category field in the vector file that contains label values, and at the same time select the vector label value corresponding to the annotation task label to confirm the matching relationship of each label value.
[0137] The aforementioned pre-labeled vector data can be labeled vectors that are displayed on the second remote sensing image data after the second remote sensing image data has been labeled.
[0138] Figure 9 This is a pre-annotated structural diagram according to an embodiment of this application, such as... Figure 9As shown, after starting, the data annotation stage begins. In this stage, remote sensing data can be uploaded and imported, data to be annotated can be selected, and pre-annotated files can be chosen to execute the annotation task. If annotation is not completed, the task continues. If annotation is completed, the process moves to the sample management stage, where sample sets can be imported and managed. In the model training stage, the model type, network structure, and pre-trained model (self-supervised learning) can be selected. The training sample set can be selected and training parameters configured through sample set management. Semi-supervised learning can be enabled. If enabled successfully, a semi-supervised training sample set can be selected, semi-supervised training parameters configured, and model training executed. If semi-supervised learning is not enabled, model training can proceed directly. If training is successful, the process moves to the deployment and application stage. In the deployment and application stage, model release, deployment, interpretation and analysis, and data feedback can be performed. If data feedback is successful, pre-annotated files can be selected; if data feedback is unsuccessful, the process ends. If training is unsuccessful, the process also ends. By setting up model training and pre-labeling, data flow channels can be opened up, forming a closed loop of data feedback from labeling, sample set preparation, model training, interpretation results, and labeling.
[0139] In one optional embodiment, a second annotation instruction can be generated by clicking the pre-annotation settings on the task creation page. The first remote sensing image can be annotated according to the pre-annotated vector data based on the second annotation instruction to obtain a third annotation result. Figure 10 This is a schematic diagram of a labeling result according to an embodiment of this application, such as... Figure 10 As shown, after entering the pre-annotation settings, buildings in the remote sensing image can be annotated using vectors to obtain the building extraction results.
[0140] In the above embodiments of this application, the task creation page further includes an image to be labeled control and a slice quantity control. After the task creation page is displayed on the operation interface, the method further includes: responding to an image upload command applied to the image to be labeled control, displaying the original remote sensing image on the task creation page; responding to an input command applied to the slice quantity control, displaying the target slice quantity corresponding to the slice quantity upload command on the task creation page, wherein the target slice quantity is used to slice the original remote sensing image to obtain a first remote sensing image.
[0141] The image upload command mentioned above can be used to upload remote sensing images in the input box.
[0142] The above input instructions can be used to enter the number of slices in the input box, such as 50, but are not limited to this.
[0143] The aforementioned original remote sensing image can be a relatively large, originally acquired remote sensing image. The aforementioned first remote sensing image can be the portion of the original remote sensing image that needs to be labeled.
[0144] The target number of slices mentioned above can be an estimated number of slices or a pre-set number of slices.
[0145] In one optional embodiment, the user can operate the image to be labeled control to generate an image upload command. The original remote sensing image can be displayed on the task creation page. The user can input the number of slices required in the slice quantity control as needed, and the target slice quantity corresponding to the slice quantity upload command can be displayed on the task creation page so that the original remote sensing image can be sliced according to the target slice quantity to obtain the first remote sensing image.
[0146] In the above embodiments of this application, after displaying the target number of slices corresponding to the slice upload instruction on the task creation page, the method further includes: displaying multiple image slices on the task creation page, wherein the multiple image slices are obtained by slicing the original remote sensing image based on preset image slice parameters; when the number of multiple image slices is greater than the target number of slices, in response to the slice selection instruction acting on the multiple image slices, displaying the first remote sensing image corresponding to the slice selection instruction on the task creation page.
[0147] The preset image slicing parameters mentioned above can be preset image slicing methods.
[0148] The model settings page described above is used to configure the model version.
[0149] The image preprocessing parameters mentioned above include, but are not limited to, image mean, image variance, and data augmentation.
[0150] In one optional embodiment, clicking the slice confirmation control can display multiple image slices on the task creation page. If the number of multiple image slices is greater than the target number of slices, it indicates that the number of slices meets the requirements. At this time, the first remote sensing image to be labeled can be determined from the multiple image slices, and a slice selection instruction can be generated. The first remote sensing image corresponding to the slice selection instruction can be displayed on the task creation page.
[0151] In another optional embodiment, if the number of selected image slices is less than the target number of slices, you can click "Change to Another" to randomly switch and adjust the slices. The unselected slices will be used as a pure image dataset for subsequent export; for example, for application in semi-supervised learning. If a pre-labeled first remote sensing image is used, you can turn on the "Show Pre-labels" switch to view the details of the pre-labeled patches in the first remote sensing image.
[0152] Figure 11 This is a schematic diagram of a slice confirmation according to an embodiment of this application, such as... Figure 11As shown, the first remote sensing image corresponding to the slice selection command can be displayed on the left side of the task creation page, and multiple image slices can be displayed on the right side. The number of slices to be labeled is displayed above the multiple image slices, and a pre-labeling switch is displayed on the right side. By clicking the pre-labeling switch, you can view the details of the pre-labeled patches.
[0153] Figure 12 This is a schematic diagram illustrating the details of a labeling task according to an embodiment of this application, such as... Figure 12 As shown, on the annotation task list page, clicking the annotation task details button will bring up the annotation task details page, where you can view information such as annotation type, label system, annotation data, pre-annotated files, slice size, number of slices, creator and time, and you can also modify the task name.
[0154] Figure 13 This is a schematic diagram illustrating the execution of an annotation task according to an embodiment of this application, such as... Figure 13 As shown, click the annotation task card to enter the annotation interface and start the annotation task. The annotation interface is divided into four main areas: toolbar, task bar, tab bar, and annotation area. The toolbar provides various annotation tools according to different annotation task types. The tools support keyboard shortcuts; click the keyboard icon in the lower right corner to view the shortcut instructions.
[0155] Taskbar: Displays different slice statuses of the current task, supports manual filtering of slice status, including unlabeled, in progress, and labeled, and supports quick clicking on different slice thumbnails to switch between display and label.
[0156] Label bar: After selecting a label category, you can start annotating the data. Labels containing multiple patches can be expanded or collapsed, and labeled patches can be quickly located and viewed in the label bar.
[0157] Annotation Area: The main annotation interface, displaying real-time annotation status. If you confirm that the current slice is complete, you can click the "Set Current Slice to Complete" button to start annotating the next slice. If you determine that this slice does not need annotation, you can click the "Hide Current Slice" button; hidden slices will not be used for data export. The icons in the lower right corner of the annotation area are, in order: Set icon transparency, Show current zoom area placeholder, Zoom in on slice, Zoom out on slice, Reset slice zoom, Full screen, Shortcut key explanation, and Help / Guide introduction. The shortcut keys and explanations for the annotation tools are shown in Tables 1 and 2:
[0158] Table 1
[0159]
[0160] Table 2
[0161]
[0162] Figure 14 This is a flowchart of determining a predicted patch according to an embodiment of this application, such as... Figure 14 As shown:
[0163] Step S1402: Select the AI intelligent selection tool;
[0164] Step S1404: Click anywhere on the slice;
[0165] Step S1406: Blue positive sample points / red negative sample points appear simultaneously, and the predicted patch is displayed.
[0166] Step S1408: Is the prediction correct? If correct, proceed to step S1410; if incorrect, proceed to step S1414.
[0167] Step S1410: Press the space bar to confirm the predicted patch;
[0168] Step S1412: The corner points of the image are automatically generated and can be edited again;
[0169] Step S1414: Continue to correct the predicted patches by establishing sample points.
[0170] Figure 15 This is an interactive annotation diagram according to an embodiment of this application, such as... Figure 15 As shown, an interactive annotation design based on remote sensing foreground and background segmentation can be implemented: left-clicking on a pixel location within a slice will display a blue positive sample point, i.e. Figure 15 The pure white dots in the image automatically generate predicted patches based on the surrounding pixel feature attributes. Positive dots can be added by clicking the left mouse button multiple times, dynamically acquiring the latest predicted patches. By toggling the addition of negative sample points, clicking a location will display red negative sample points. Figure 15 The pure black dots in the image remove pixels surrounding the red dots, correcting the predicted patches. Hold down Ctrl and click on the blue / red dots to remove them, and the predicted patches will be updated accordingly. After confirming the predicted patches, press the space bar (selection confirmation button) to complete. Corner points are automatically generated at the edges of the patches, allowing for further manual fine-tuning of the edges.
[0171] It should be noted that the patches described above can be remote sensing images.
[0172] When managing sample data, it supports importing and creating sample datasets from multiple sources such as system annotation projects, local files, or servers. The datasets support visual management and editing and can be applied to subsequent model training. Some deployment systems may pre-configure sample sets for user testing.
[0173] Figure 16 This is a schematic diagram of a sample set list according to an embodiment of this application, such as... Figure 16The sample dataset list allows users to manage their datasets, including viewing details, renaming, downloading, deleting, and creating new datasets. Users can filter datasets by name, type, number of labels, number of samples, and creation time.
[0174] Figure 17 This is a schematic diagram illustrating the details of a sample set according to a very simple embodiment, such as... Figure 17 As shown, after a sample is created, the system needs some time to prepare the sample. Once the preparation is complete, it can be viewed in the sample set list. Clicking the sample set details button will bring up the sample set details page, where you can view information such as sample type, label system, number of samples, slice size, and creation date. You can also modify the sample set name.
[0175] Figure 18 This is a schematic diagram illustrating a sample set viewing according to an embodiment of this application, such as... Figure 18 As shown, on the sample set list page, clicking the sample set card allows you to view sample slice details online. Clicking the "Show Annotations" button in the upper right corner allows you to view overlaid patch information. Clicking on a specific slice displays its detailed information. For individual sample slices, if verification shows they do not need to be retained as training data, they can be selected and deleted; batch deletion of sample sets is supported.
[0176] Figure 19 This is a schematic diagram of a self-built sample dataset according to an embodiment of this application, such as... Figure 19 As shown, you can create a new sample set. Click the "Create Sample Set" button in the upper right corner of the sample set list page to start creating a new sample set. You can then confirm the sample set name, select the sample set type, and determine the method for importing the sample data.
[0177] Sample sets are categorized into the following six types:
[0178] Object detection: Supports single-label / multi-label, labeled patches are rotated rectangles, suitable for training object detection algorithms.
[0179] Instance segmentation: Supports single-label / multi-label, labeled patches are closed polygon patches, ground objects with the same label attributes are distinguished from different individual patches, suitable for training instance segmentation algorithms.
[0180] Land feature recognition: Supports single label, labeled patches are single-type map polygon closed patches, suitable for training semantic segmentation algorithms for single land feature recognition.
[0181] Land feature classification: Supports single-label / multi-label, labeled patches are land feature attribute classification patches, suitable for semantic segmentation algorithm training.
[0182] General change detection: Supports single label, labeled patches are closed polygon patches of the changed area, suitable for semantic segmentation algorithm training.
[0183] Multi-class change detection: Supports multiple labels, and the labeled patches are closed polygon patches of multiple types of change regions, which is suitable for training semantic segmentation algorithms.
[0184] There are three import methods:
[0185] Import from labeled items: Figure 20 This is a schematic diagram illustrating importing from a labeled item according to an embodiment of this application, such as... Figure 20 As shown, select a completed task from the annotation projects in the system's annotation module to create a dataset. If the selected annotation project's task contains unlabeled tiles, you can choose whether to simultaneously create a pure image dataset. If you select annotation tasks from different annotation projects, you need to ensure that the labeling system of the selected annotation tasks is consistent.
[0186] Local upload: a. Create a dataset by uploading local files in groups: Figure 21 This is a schematic diagram illustrating the creation of a dataset according to an embodiment of this application, such as... Figure 21 As shown, the slice size needs to be confirmed during import. Image data supports 3-spectral-channel (RGB band order) format data, but is not limited to this. For vector files, please upload a compressed package containing five file formats (.cpg, .dbf, prj, .shp, .shx) with the same name in the root directory. After uploading the vector files, a labeling system needs to be set. Please select the vector category field containing label values, then set the sample set label names as needed, and simultaneously select the corresponding original label field values in the vector files for mapping. Please confirm the mapping matching relationship of each label value.
[0187] b. Batch upload using template: Figure 22 This is a schematic diagram illustrating batch uploading according to a template based on an embodiment of this application, such as... Figure 22 As shown, you need to download the template comma-separated values (CSV) file, fill in the local paths of the relevant image and vector files and their matching relationships, and then upload them to the system. You also need to upload the data files in the list to the system. During import, you can choose whether to slice the data. The image and vector format requirements are the same as above. After uploading the vector files, you need to set up a label system, including selecting label fields, confirming label names and color codes (you need to manually fill in the original field values in the vector file category field and their correspondence with the labels displayed in the sample set to be created; multiple original field values can be entered, separated by commas).
[0188] c. Sample set upload: Figure 23 This is a schematic diagram of an uploaded sample set according to an embodiment of this application, such as... Figure 23As shown, different format sample sets are uploaded from the local machine as a compressed package to create a sample set. When importing, you need to set the dataset name, but you do not need to set the slice size. You can upload the image by clicking or dragging and dropping it to the specified area.
[0189] Batch upload to server: Figure 24 This is a schematic diagram of a server batch upload according to an embodiment of this application, such as... Figure 24 As shown, you need to download the template CSV file as required, fill in the relevant image and vector file server paths and their matching relationships, and then upload it to the system. During import, you can choose whether to slice the image. The image data format requirements are the same as above. For vector files, you need to unzip the relevant compressed package, and the paths in the CSV file need to be filled in. After uploading the vector files, you need to set up a label system, including selecting label fields, confirming label names and color codes (you need to manually fill in the original field values in the vector file category field and their correspondence with the labels displayed in the sample set to be created; multiple original field values can be entered, separated by commas).
[0190] It should be noted that during the system model training phase, for different versions of the same model, the required training data must maintain the same slice size and label system (label name, label order, label color code). Care should be taken when setting the label system for custom-built sample sets. When creating sample sets via local upload or batch import from the server, automatic filtering of slices without data is supported.
[0191] For land cover classification and multi-class change detection, the labeling system by default includes two categories: background and pending. The background label does not need to be labeled (unlabeled areas in the tile will be automatically considered as background and participate in model training). The pending label represents areas of concern (these can be labeled, but labeled areas will not participate in model training). These two default labels cannot be deleted. In addition, at least one custom category label must be retained. The specific settings can be customized according to requirements.
[0192] Description of abnormal conditions:
[0193] Figure 25 This is a schematic diagram confirming a download format according to an embodiment of this application, such as... Figure 25 As shown, for sample sets imported in batches, due to limited disk space, incorrect CSV file entries, incorrect file formats, etc., some sample preparation may occasionally fail. You need to check the specific reasons for the anomaly according to the on-screen prompts. The system supports ignoring the abnormal data and continuing to create sample sets. For datasets imported from sample annotations, you can download and export them in sample management. You need to select to export the data in the form of a compressed package of grouped slices in the preset format, which also includes attribute information such as label system and slice size.
[0194] Figure 26This is a schematic diagram of preset sample data according to an embodiment of this application, such as... Figure 26 As shown, some deployment versions of the system provide pre-built sample data, and you can view details such as the labels of the pre-built samples. Usually, the pre-built sample sets can be directly used for the optimization training of pre-built model projects.
[0195] In the above embodiments of this application, in response to a model training command applied to the operation interface, the method further includes: displaying a model settings page on the operation interface, the model settings page including at least the network structure, backbone network, and pre-trained model of the remote sensing image processing model; in response to a model confirmation command applied to the model settings page, displaying a training data settings page on the operation interface, wherein the training data settings page includes at least the training data corresponding to the remote sensing image processing model, the allocation ratio of the training set and validation set, and image preprocessing parameters, the image preprocessing parameters being used to preprocess the training data, the training data including a first remote sensing image and a first annotation result; in response to a data confirmation command applied to the training data settings page, displaying a training parameter settings page on the operation interface, wherein the training data settings page includes at least the training parameters corresponding to the remote sensing image processing model; and in response to a parameter confirmation command applied to the training parameter settings page, displaying a first training result on the operation interface, wherein the first training result is obtained by training the remote sensing image processing model based on the training data, image preprocessing parameters, and the training parameter settings page.
[0196] In one optional embodiment, based on training data, users can quickly configure network structure, backbone, pre-trained models, and other information to create remote sensing AI model training projects for tasks such as target extraction, land cover classification, and change detection. Within each training project, multiple model version training tasks can also be created. Additionally, some versions of the system provide multiple pre-built model training projects, allowing users to conduct efficient training based on these pre-built model versions.
[0197] Figure 27 This is a schematic diagram of a model training item list according to an embodiment of this application, such as... Figure 27 As shown, training projects can be managed in the training project list, including viewing details, modifying model training project names, deleting projects, and creating new training versions within projects. Filtering can be done by model name, model type, creation time, and other criteria. Figure 28 This is a schematic diagram of a newly created training project according to an embodiment of this application, such as... Figure 28 As shown, you can click the "Create New Model Training" button in the upper right corner of the model training project list page to start creating a new training project. When creating the project, you need to confirm the project name (i.e., model name), model description, model type, network structure, backbone, and whether to enable pre-trained models.
[0198] Model types include, but are not limited to, object detection instance segmentation, land cover recognition, land cover classification, general change detection, and multi-class change detection.
[0199] Object detection is suitable for training multi-object extraction algorithms, and the training sample set can contain multiple labels.
[0200] Ground feature recognition is suitable for training single-target extraction algorithms, and the training sample set contains one label.
[0201] Instance segmentation is suitable for training multi-object extraction algorithms, where the training sample set contains a single label.
[0202] Land cover classification is suitable for training land cover classification algorithms, and the training sample set can contain multiple labels.
[0203] General change detection is applicable to the training of binary change detection algorithms, where the training sample set contains one label.
[0204] Multi-class change detection is suitable for training multi-class change detection algorithms, and the training sample set can contain multiple labels.
[0205] The network structure described above is used for deep learning model training. The system provides pre-configured network structures for different model types, and the default configuration can be used.
[0206] The aforementioned backbone network is used for feature extraction during model training. The system provides pre-configured backbones for different model types, which can be configured using the default values.
[0207] The pre-trained model mentioned above can be enabled by default. Transfer learning can be performed using the pre-trained base model, which usually improves the training effect and training speed compared to when the pre-trained model is not enabled.
[0208] Figure 29 This is a schematic diagram illustrating the details of a training program according to an embodiment of this application, such as... Figure 29 As shown, on the training project list page, clicking the training project details button will bring up the training project details page, where you can view information such as the model project name and description, model type, creation time, network structure, backbone, and pre-trained model. You can also modify the project name and description.
[0209] In one alternative embodiment, when performing a model training task, an initial version can be created first, and then the model version can be set.
[0210] When setting the model version, such as Figure 27 As shown, you can click on the model training project list, or click the "Create New Model Version" button in the upper right corner to start creating a new initial version training task. Figure 30This is a schematic diagram illustrating a model version setting according to an embodiment of this application. For a self-built model training project, the initial version number can be 1.0.0, but is not limited to this. Figure 30 You can set it according to your actual needs. When creating the project, you can fill in the version description information. The network structure, backbone, and pre-trained model information are determined when creating the project, and the versions need to be consistent.
[0211] When setting training data according to the model confirmation instructions on the model settings page, you can select training datasets from the system sample management module. Multiple selections are supported. In the case of multiple selections, the label system and slice size of different datasets must be consistent, and the total number of samples (number of slices) of the training dataset must be greater than 100. It should be noted that different versions under the same model training project must be consistent with the label system (label name, label order, label color number) set in the initial version.
[0212] Figure 31 This is a schematic diagram illustrating a training data setup according to an embodiment of this application, such as... Figure 31 As shown, after selecting the training dataset, you can view the label system information of the selected training dataset, and then set parameters such as the ratio of training set to validation set, image mean, image variance, and data augmentation.
[0213] The above-mentioned training and validation set allocation ratio can be used to divide the selected training dataset into training and validation parts. You can click to enter the details settings to view the training / validation data slice details. Please adjust the random allocation ratio of the slices as needed to improve training efficiency and the rationality of the validation evaluation metrics.
[0214] The image mean mentioned above is used to represent the preprocessing parameters for the training data image mean, and the parameter values for the three channels RBG (Red, Blue, Green) are set respectively.
[0215] The image variance mentioned above is used to represent the preprocessing parameters of the training data image variance, and the parameter values of the three channels of RBG are set respectively.
[0216] The data augmentation settings described above represent various image augmentation parameters for the training data. It is recommended to enable these settings. The crop size value for the training data can be confirmed below; it defaults to the same as the slice size. A detailed settings page for data augmentation allows adjustment of the on / off status, processing parameters, and order of different data augmentation operators. The default augmentation operators differ for different algorithm types; you can use the recommended default values, but are not limited to these.
[0217] Figure 32 This is a schematic diagram illustrating a detailed data enhancement setup according to an embodiment of this application, such as... Figure 32In this system, data augmentation processing categories can include random scaling, random image cropping, random horizontal flipping, random vertical flipping, random 90-degree rotation, and image distortion removal. The parameters for random scaling can be adjusted to a scaling range, random image cropping to the maximum category ratio, random horizontal flipping to the probability of horizontal flipping, and random vertical flipping to the probability of horizontal flipping. The processing status for different categories can be controlled via buttons. The "Adjust Processing Order" button in the upper right corner can be used to adjust the execution order of different processing categories.
[0218] Configure training parameters for various models, supporting some advanced parameter configurations. Submit your settings to initiate a training task. (Instructions are required.) Model training will consume significant computing resources; therefore, avoid submitting system AI interpretation and analysis tasks during training, as submitted AI interpretation and analysis tasks may fail unexpectedly due to resource bottlenecks.
[0219] Figure 33 This is a schematic diagram of a training parameter setting according to an embodiment of this application, such as... Figure 33 As shown, it can include a single Graphics Processing Unit (GPU), default learning rate, validation and evaluation system, model iteration parameters, model validation / save interval, number of GPUs used, and advanced training parameters. Among them, advanced training parameters include training loss function, learning rate descent method, optimizer selection, log printing interval, and half-precision calculation.
[0220] The batch size of a single graphics processor can be the number of samples (Batch size) used for training a model at one time. It is evaluated based on the model version and hardware computing power. The larger the parameter, the more stable the training will be, but the more GPU / memory resources will be consumed.
[0221] The default learning rate can be the initial learning rate for model optimization. The initial learning rate can be set to a value less than 0.1, but is not limited to this.
[0222] The validation evaluation system is a set of evaluation metrics used to verify the training effect of a model. After setting it, the change curves of the selected metrics can be viewed in the training details to help judge the training effect. The evaluation metrics may differ for different model types.
[0223] Model iteration parameters (iters) represent the number of training iterations. These parameters are set based on the training data; larger parameters result in longer training times. The number of iterations represents the number of times training is performed using batch size samples, and the epoch represents the number of times training is performed using samples from the training set. Iters = epoch * total number of samples / (Batch size * number of GPUs).
[0224] The model validation / save interval can be used to indicate how many times the iterators perform iterative model validation and save, determining how many iteration results will be generated after training. It can be combined with model testing to select the better results for publication.
[0225] The number of GPUs used can be set according to the machine's hardware resources to determine the number of GPUs required for model training.
[0226] Default recommended values can be provided for advanced training parameters, and custom adjustments are also supported.
[0227] The degree of inconsistency between the model's predictions and the true values can be evaluated by training the loss function. Setting the loss function can help the model reach convergence and reduce prediction errors. The learning rate descent method minimizes the cost function at different steps, thereby controlling the model's learning progress in different iterations. Different optimizers can be used to minimize the loss function. The log printing interval (iters) can be set to specify the interval for printing training logs. Half-precision FP16 computation can be enabled or disabled to reduce data transfer and storage costs.
[0228] Figure 34 This is a schematic diagram of a model version list according to an embodiment of this application, such as... Figure 34 As shown, you can view the list of model versions. After submitting a training task, you can view the training progress of this model version in the task list. The model version status includes waiting, training in progress, training paused, waiting for release, training failed, and release completed.
[0229] Waiting: The model training task is in a waiting state due to computational resource queue limitations.
[0230] Training in progress: The model training task is in progress. You can click the stop button to stop training, or click the view button to learn more about the model training details.
[0231] Training paused: The model training task has stopped. Clicking Retry will allow you to restart the training.
[0232] Awaiting Release: Once the model has been successfully trained, its status will be "Awaiting Release." Clicking the "Release" button allows you to select a suitable number of iterations for training results and release the model. The system will recommend a number of iterations based on comprehensive evaluation for reference. Model versions in the "Awaiting Release" status can click the "More" button to select model testing and perform metric validation on a specified test set.
[0233] Training failed: Model training failed. Click the "View" button to learn more about the model training details. On the details page, click the "View Log" button to learn about the specific reasons for the failure based on the training logs.
[0234] Release Complete: This indicates the status of the released model. The released model version will appear on the model management page in the left navigation bar. For released model versions, clicking the "More" button allows you to initiate semi-supervised learning training tasks.
[0235] Figure 35 This is a schematic diagram illustrating model information details according to an embodiment of this application, such as... Figure 35 As shown, on the training task list page, clicking the "View" button allows you to view detailed model information and training status. The model information details page includes three sections: model version, training data, and training parameters. These sections display the version information used when the training task was created, the training data and data augmentation information, and the training parameter settings, respectively.
[0236] By navigating to the training status details page via the left-hand navigation, you can view the training progress of this model version, current metrics, and detailed metric comparison curves for different iteration cycles. During training, it's essential to monitor the training status in real-time to understand the convergence of relevant metrics. Different metric curves can be viewed using different label values selected from the dropdown menus on the right side of the curve.
[0237] Loss function value: A decrease in the loss function value indicates that the training is gradually converging. Usually, the loss curve can reflect the dynamic trend of network training. By observing the loss curve, we can obtain information such as whether the model has converged and whether it is overfitting.
[0238] Learning rate: The learning rate represents the speed at which information accumulates in a neural network over time. The learning rate curve reflects the learning rate at different iterations during model training, and the rate of decrease is related to the learning rate descent method set when the model training task is submitted.
[0239] Mean Intersection over Union (mIoU): The ratio of the intersection to the union of the predicted pixel value and the corresponding labeled pixel value in the validation set for a given class. 'm' represents the weighted average across multiple classes. Generally, a higher mIoU indicates better training performance.
[0240] Evaluation metric (mFscore): The Fscore is calculated as the harmonic mean of precision and recall, where Fscore = 2 * precision * recall / (precision + recall), and m represents the weighted average across multiple classes. Generally, a higher metric indicates better training performance.
[0241] Mean Accuracy (mAcc): Accuracy represents the proportion of correctly predicted pixels for a given class to the total number of correctly labeled pixels for that class. 'm' represents the weighted average across multiple classes. Generally, a higher metric indicates better training performance.
[0242] Accuracy: The proportion of correctly predicted pixels for a particular category out of the total number of predicted pixels for that category. Generally, a higher metric indicates better training performance.
[0243] Recall: The proportion of correctly predicted pixels in a given category out of the total number of correctly labeled pixels in that category. Recall is generally inversely proportional to precision.
[0244] Smoothing: When the smoothing parameter value is 0, it is the true value. The smaller the parameter, the closer it is to the true value. The larger the parameter, the smoother it is.
[0245] On the model version training task management page, for a completed model version, clicking the "More" button allows you to initiate a model testing task. For training tasks on versions that have not yet been released, you need to select a specific number of iterations (iters) for testing to evaluate the results of this iteration. It's important to note that the selected test dataset must have the same slice size and labeling system as the training dataset.
[0246] Figure 36 This is a schematic diagram of a model test according to an embodiment of this application, such as... Figure 36 As shown, you can set the test data and the number of model iterations / rounds in this interface. When you don't need to set the test data and the number of model iterations / rounds, you can click as shown... Figure 36 The cancel control shown can be clicked after confirming the set test data and model iteration count / rounds. Figure 36 The submit test control shown.
[0247] Figure 37 This is a schematic diagram of a test task according to an embodiment of this application, such as... Figure 37 As shown, after submitting a test task, you can return to the test task list to view the test sample, start time, and test status. You can submit test tasks multiple times. Completed test tasks support online viewing of test data, downloading of test results, and deletion of test records. Figure 38 This is a schematic diagram of a test effect according to an embodiment of this application. You can click on it as shown below. Figure 37 The "View" button shown in the image allows you to see detailed test progress, such as... Figure 38 As shown, the test will end and provide corresponding effect diagrams and evaluation index parameter values. The evaluation index parameter values may include, but are not limited to, test samples, start time, test duration, model name, model version, number of rounds / episodes, average accuracy, and average intersection-over-union ratio.
[0248] In the above embodiments of this application, the model settings page further includes a semi-supervised training control. The method further includes: displaying a training data settings page on the operation interface in response to an activation command applied to the semi-supervised training control; displaying a semi-supervised training settings page on the operation interface in response to a data confirmation command applied to the training data settings page, wherein the semi-supervised training settings page includes at least a target dataset and semi-supervised training parameters; displaying a training parameter settings page on the operation interface in response to a semi-supervised confirmation command applied to the semi-supervised training settings page; and displaying a third training result on the operation interface in response to a parameter confirmation command applied to the training parameter settings page, wherein the third training result is obtained by training the remote sensing image processing model based on the training data, image preprocessing parameters, target dataset, semi-supervised training parameters, and the training parameter settings page.
[0249] In one optional embodiment, on the model version training task management page, for a released model version, clicking the "More" button supports initiating a semi-supervised learning training task. This semi-supervised learning task can use unlabeled image datasets for model self-training, significantly reducing data annotation costs. When creating a sample set using system-labeled items, the system will automatically prompt whether to automatically create an image dataset from unlabeled regions, which can then be used for semi-supervised learning.
[0250] Creating a semi-supervised learning task is essentially creating a new model version training task. It requires setting the version, selecting training data and training parameters. After submission, the training task can be viewed on the model version training task management page.
[0251] It should be noted that when submitting a semi-supervised learning training task, you need to select a training dataset suitable for semi-supervision. In addition to an unlabeled image dataset with the same slice size as the training dataset, you can also select other labeled datasets with the same slice size as the training data of the current model's initial version. The system can automatically ignore label information, but it is generally necessary to maintain the homogeneity of the training data.
[0252] Figure 39 This is a training parameter setting page for semi-supervised learning according to an embodiment of this application, such as... Figure 39As shown, the training parameters of a semi-supervised learning model may include: model iteration parameters, model validation / save interval, number of image processors used, whether a teacher model is used, confidence interval, and advanced training parameters.
[0253] Explanation of special training parameters in semi-supervised training:
[0254] Teacher Model: It is recommended to enable this feature. Loading the teacher model allows the model to continue learning based on its existing knowledge.
[0255] Confidence interval: Select the range of confidence levels.
[0256] For target extraction / general change detection model types, pixels with probability values less than the minimum confidence level are identified as background values, while those with probability values greater than the maximum confidence level are identified as correct targets.
[0257] For land cover classification / multi-class change detection models, a pixel probability value greater than this confidence level will be considered a correct target detection.
[0258] In the above embodiments of this application, after displaying the first training result of the remote sensing image processing model on the operation interface, the method further includes: responding to a semi-supervised training instruction applied to the remote sensing image processing model, displaying a semi-supervised training page on the operation interface, wherein the semi-supervised training page includes at least a target dataset and semi-supervised training parameters; and responding to a second training instruction applied to the semi-supervised training page, displaying a fourth training result of the remote sensing image processing model on the operation interface, wherein the fourth training result is the result obtained by training the remote sensing image processing model based on the target dataset and semi-supervised training parameters.
[0259] The semi-supervised training instructions mentioned above can be generated by clicking the "More" button on the page. On the model version training task management page, for a completed model version, clicking the "More" button allows you to initiate a model testing task. For training tasks on versions that have not yet been released, you need to select a specific number of iterations (iters) for testing, and evaluate the results of this iteration. It should be noted that the selected test dataset must maintain the same slice size and label system as the training dataset.
[0260] Figure 40 This is a schematic diagram of a newly created model version according to an embodiment of this application, such as... Figure 40 As shown, you can create an updated version of the training task based on the published model version. When creating the task, you need to select the model version on which the training is based in the model version settings. After selection, the relevant training parameters and model basics for this training will be based on this version.
[0261] In one optional embodiment, end-to-end semi-supervised learning supports simultaneously enabling semi-supervised learning, selecting semi-supervised training data, setting relevant parameters, and submitting the overall training task when the model is first trained or when the training task is selected as "not based on any version" in the "Model version on which training is based" setting, thus reducing the cost of training data labeling.
[0262] Figure 41 This is a schematic diagram of a newly created model version according to an embodiment of this application. The newly created model version includes model version settings, supervised training data settings, semi-supervised training data settings, and training parameter settings. The model version settings include model version, version description, network structure, backbone network, pre-trained model, and simultaneous activation of semi-supervised training.
[0263] Figure 42 This is a structural diagram of a model training method according to an embodiment of this application. After starting, the system enters the data annotation stage. In this stage, remote sensing data can be uploaded and imported, data to be annotated can be selected, and pre-annotated files can be selected to execute the annotation task. If annotation is not completed, the annotation task continues. If annotation is completed, the system enters the sample management stage, where sample sets can be imported and managed. In the model training stage, the system first selects the model type, then the network structure, selects the pre-trained model (self-supervised learning), and selects the training sample set and configures the training parameters through sample set management. Semi-supervised learning can be enabled. If semi-supervised learning is successfully enabled, a semi-supervised training sample set can be selected, semi-supervised training parameters can be configured, and model training can be executed. If semi-supervised learning is not successfully enabled, model training can be executed directly. If training is successful, the system enters the deployment and application stage. In the deployment and application stage, model release, model deployment, interpretation and analysis, and data feedback can be performed. If data feedback is successful, it can be used to select pre-annotated files; if data feedback is unsuccessful, the system terminates directly. If training is unsuccessful, the system terminates directly.
[0264] Figure 43 This is a schematic diagram of network structure information according to an embodiment of this application. On the model training management page, it is also possible to click the "View Network Structure" button in the upper right corner, such as... Figure 43 As shown, you can access the network structure information page to learn about the preset network structure framework information of the local machine. It is distinguished by general change detection (binary classification), multi-class change detection, land cover classification, target extraction (general), and target extraction (preset building extraction model). Figure 43 The page information shown is for reference only.
[0265] Figure 44 This is a schematic diagram of a pre-built model training according to an embodiment of this application, such as... Figure 44As shown, some deployment versions of the system come pre-installed with certain model training projects, which can be used for iterative optimization training based on these pre-installed model versions. It should be noted that the labeling system used for the training data in the updated version must be consistent with the labeling system of the initial model version.
[0266] Figure 45 This is a schematic diagram of model management according to an embodiment of this application, such as... Figure 45 As shown, you can select "Model Management" in the left navigation bar to view published model versions. This supports online deployment, cancellation, and detailed viewing of multiple model versions. It's important to note that if the training project or task to which a published model version belongs is deleted, the published model version record here will also be deleted, making it unusable for deployment or application. Exercise caution when using this feature.
[0267] Figure 46 This is a schematic diagram of interpreting a system call according to an embodiment of this application, such as... Figure 46 As shown, after one-click deployment of the model, you can return to the system task creation page to initiate an interpretation task based on the new model version. The processing and analysis page includes AI interpretation and basic processing. AI interpretation includes, but is not limited to, land feature classification, water body extraction, general change detection, multi-class change detection, building change detection, farmland change detection, building extraction, greenhouse extraction, plot extraction, photovoltaic power plant extraction, dam extraction, defogging processing, self-built models, land feature classification models, and self-built land feature classification. You can create a new processing and analysis project by clicking the "New Processing and Analysis Project" control in the upper right corner.
[0268] Figure 47 This is a schematic diagram of a published model according to an embodiment of this application, such as... Figure 47 As shown, it allows for custom target extraction, selection of model version, and setting of filtering thresholds, confidence levels, and result names.
[0269] This application addresses the challenges of remote sensing data annotation. Remote sensing data differs from natural images using various color channel (RGB) formats commonly used in computer vision; it possesses characteristics such as multi-band and multi-scale characteristics. A single remote sensing image may contain dozens of bands, covering multiple spectral information including RGB visible light, infrared, near-infrared, and microwave, and its visualized tile data is further divided into more than ten resolution levels. These differences in attributes lead to annotation methods for remote sensing data that differ from those for ordinary natural images. Furthermore, remote sensing models are categorized into various types, such as target detection, land cover recognition, land cover classification, and change detection. This application addresses these annotation challenges by designing a specialized remote sensing data annotation tool.
[0270] This application can also solve the problem of limited training samples. Traditional algorithm models require massive samples for supervised learning, while remote sensing data annotation rules are complex, difficult to annotate, time-consuming, and the overall sample preparation cost is very high. By using the interpretation results after model deployment as a continuous source of coarse sample data, importing it into the annotation task in the form of pre-annotated files, and then using annotation tools to fine-tune and modify it, it can be transformed into training samples, thus opening up the overall data flow of the system.
[0271] This application can also solve the problem of training remote sensing AI models. Remote sensing has a wide variety of functional scenarios, which puts forward strict requirements for the personalized training and production of remote sensing AI models. By designing no-code, low-threshold training hyperparameter configurations and introducing training strategies such as self-supervised learning and semi-supervised learning that are suitable for the characteristics of remote sensing data, the dependence of model training on labeled data and professional algorithm development engineers is reduced, thereby improving model production efficiency.
[0272] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.
[0273] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0274] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0275] Example 2
[0276] According to an embodiment of this application, a training method embodiment for a remote sensing image processing model is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0277] Figure 48 This is a flowchart of a training method for a remote sensing image processing model according to Embodiment 2 of this application, as shown below. Figure 48 As shown, the method may include the following steps:
[0278] Step S4802: Obtain the first remote sensing image and the first annotation instruction by calling the first interface.
[0279] The first interface includes a first parameter, the value of which is a first remote sensing image and a first annotation instruction.
[0280] The aforementioned first interface can be an interface for data interaction between the server and the client. The client can pass the first remote sensing image into the interface function as the first parameter of the interface function to achieve the purpose of uploading the first remote sensing image to the cloud server.
[0281] Step S4804: Annotate the first remote sensing image based on the first annotation instruction to obtain the first annotation result.
[0282] Step S4806: Train the remote sensing image processing model based on the first remote sensing image and the first annotation result to obtain the first training result of the remote sensing image processing model.
[0283] Step S4808: Output the first training result by calling the second interface.
[0284] The second interface includes a second parameter, the value of which is the first training result.
[0285] The aforementioned second interface can be an interface for data interaction between the cloud server and the client. The cloud server can pass the first training result into the interface function as the second parameter of the interface function, thereby achieving the purpose of sending the first training result to the client.
[0286] Through the above steps, firstly, a first remote sensing image and a first annotation instruction are obtained by calling a first interface, wherein the first interface includes a first parameter, the value of which is the first remote sensing image and the first annotation instruction; the first remote sensing image is annotated based on the first annotation instruction to obtain a first annotation result; the remote sensing image processing model is trained based on the first remote sensing image and the first annotation result to obtain a first training result of the remote sensing image processing model; the first training result is output by calling a second interface, wherein the second interface includes a second parameter, the value of which is the first training result. This achieves the goal of improving the training efficiency of the remote sensing image processing model. By setting up an operation interface, users can easily annotate on the operation interface, thereby improving the annotation efficiency of the first remote sensing image. Furthermore, model training instructions can be generated based on the first remote sensing image and the first annotation result, thereby quickly realizing the training of the remote sensing image processing model and achieving the goal of improving the training efficiency of the remote sensing image processing model. This solves the technical problem of low training efficiency of models in related technologies.
[0287] Example 3
[0288] According to an embodiment of this application, a training apparatus for a remote sensing image processing model for implementing the training method of the above-described remote sensing image processing model is also provided. Figure 49 This is a training device for a remote sensing image processing model according to an embodiment of this application, such as... Figure 49 As shown, the device 4900 includes: a first display module 4902, a second display module 4904, and a third display module 4906.
[0289] The first display module responds to a sample annotation command applied to the operation interface and displays an annotation interface on the operation interface. The annotation interface displays a first remote sensing image and annotation controls. The first remote sensing image is used to train the remote sensing image processing model, and the annotation controls are used to annotate the first remote sensing image. The second display module responds to a first annotation command applied to the annotation controls and displays a first annotation result on the first remote sensing image. The first annotation result is obtained by annotating the first remote sensing image based on the first annotation command. The third display module responds to a model training command applied to the operation interface and displays a first training result of the remote sensing image processing model on the operation interface. The first training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the first annotation result.
[0290] It should be noted that the first display module 4902, the second display module 4904, and the third display module 4906 correspond to steps S202 to S206 in Embodiment 1. The three modules and their corresponding steps implement the same instances and application scenarios, but are not limited to the content disclosed in Embodiment 1. It should also be noted that the modules or units described above can be hardware or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n). These modules can also run as part of a device in the computer terminal 10 provided in Embodiment 1.
[0291] In the above embodiments of this application, the device is further configured to determine the current state corresponding to the annotation control based on the first annotation instruction, wherein the current state includes one of the following: adding annotation, deleting annotation, responding to a touch instruction applied to the first remote sensing image, and generating a first annotation result based on the current state and the recognition result corresponding to the touch instruction, wherein the recognition result is obtained by image recognition of the target image corresponding to the touch instruction, and the target image is an image in the first remote sensing image located within a preset range corresponding to the touch instruction.
[0292] In the above embodiments of this application, the device is further configured to add the recognition result to the first annotation result when the current state includes adding annotations; and to delete the recognition result from the first annotation result when the current state includes deleting annotations.
[0293] In the above embodiments of this application, the device is further configured to, in response to a removal command applied to a first remote sensing image, remove the identification result corresponding to the removal command from the first annotation result; in response to a confirmation command applied to the first annotation result, display an adjustment control on at least one identification result included in the first annotation result; and in response to an adjustment command applied to the adjustment control, display a second annotation result on the annotation interface, wherein the second annotation result is obtained by adjusting the first annotation result based on the adjustment command.
[0294] In the above embodiments of this application, the device is further configured to respond to a sample annotation command applied to the operation interface, display an annotation item list on the operation interface, wherein the annotation item list includes already created annotation items; respond to an item viewing command applied to the annotation items, display an annotation task list on the operation interface, wherein the annotation task list includes already created annotation tasks; and respond to an execution command applied to the annotation tasks, display an annotation interface on the operation interface.
[0295] In the above embodiments of this application, the device is further configured to respond to a task creation instruction applied to the annotation task list, display a task creation page on the operation interface, wherein the task creation page includes at least a pre-annotation setting control; respond to a pre-annotation instruction applied to the pre-annotation setting control, display pre-annotated vector data corresponding to the pre-annotation instruction on the task creation page, wherein the pre-annotated vector data is obtained by processing a second remote sensing image using a remote sensing image processing model; respond to a second annotation instruction applied to the task creation page, display a third annotation result on the first remote sensing image, wherein the third annotation result is obtained by annotating the first remote sensing image based on the pre-annotated vector data; and respond to a model training instruction applied to the operation interface, display a second training result of the first remote sensing image processing model on the operation interface, wherein the second training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the third annotation result.
[0296] In the above embodiments of this application, the task creation page further includes an image control to be labeled and a slice quantity control. The device is also used to display the task creation page on the operation interface, and in response to an image upload command applied to the image control to be labeled, display the original remote sensing image on the task creation page. In response to an input command applied to the slice quantity control, display the target slice quantity corresponding to the slice quantity upload command on the task creation page. The target slice quantity is used to slice the original remote sensing image to obtain a first remote sensing image.
[0297] In the above embodiments of this application, the device is further configured to display multiple image slices on the task creation page after displaying the target number of slices corresponding to the slice upload command on the task creation page. The multiple image slices are obtained by slicing the original remote sensing image based on preset image slice parameters. When the number of multiple image slices is greater than the target number of slices, the device responds to the slice selection command applied to the multiple image slices and displays the first remote sensing image corresponding to the slice selection command on the task creation page.
[0298] In the above embodiments of this application, the device is further configured to respond to a model training command applied to the operation interface, display a model settings page on the operation interface, the model settings page including at least the network structure, backbone network, and pre-trained model of the remote sensing image processing model; respond to a model confirmation command applied to the model settings page, display a training data settings page on the operation interface, wherein the training data settings page includes at least the training data corresponding to the remote sensing image processing model, the allocation ratio of the training set and validation set, and image preprocessing parameters, the image preprocessing parameters being used to preprocess the training data, the training data including a first remote sensing image and a first annotation result; respond to a data confirmation command applied to the training data settings page, display a training parameter settings page on the operation interface, wherein the training data settings page includes at least the training parameters corresponding to the remote sensing image processing model; and respond to a parameter confirmation command applied to the training parameter settings page, display a first training result on the operation interface, wherein the first training result is obtained by training the remote sensing image processing model based on the training data, image preprocessing parameters, and the training parameter settings page.
[0299] In the above embodiments of this application, the model settings page further includes a semi-supervised training control. The device is further configured to display a training data settings page on the operation interface in response to an activation command applied to the semi-supervised training control; display a semi-supervised training settings page on the operation interface in response to a data confirmation command applied to the training data settings page, wherein the semi-supervised training settings page includes at least a target dataset and semi-supervised training parameters; display a training parameter settings page on the operation interface in response to a semi-supervised confirmation command applied to the semi-supervised training settings page; and display a third training result on the operation interface in response to a parameter confirmation command applied to the training parameter settings page. The third training result is obtained by training the remote sensing image processing model based on the training data, image preprocessing parameters, target dataset, semi-supervised training parameters, and the training parameter settings page.
[0300] In the above embodiments of this application, the device is further configured to, after displaying the first training result of the remote sensing image processing model on the operation interface, respond to a semi-supervised training instruction applied to the remote sensing image processing model, display a semi-supervised training page on the operation interface, wherein the semi-supervised training page includes at least a target dataset and semi-supervised training parameters, and respond to a second training instruction applied to the semi-supervised training page, display a fourth training result of the remote sensing image processing model on the operation interface, wherein the fourth training result is the result obtained by training the remote sensing image processing model based on the target dataset and semi-supervised training parameters.
[0301] It should be noted that the preferred implementation schemes involved in the above embodiments of this application are the same as the schemes, application scenarios and implementation processes provided in Embodiment 1, but are not limited to the schemes provided in Embodiment 1.
[0302] Example 4
[0303] Embodiments of this application may provide a computer terminal, which may be any computer terminal device in a group of computer terminals. Optionally, in this embodiment, the aforementioned computer terminal may also be replaced by a mobile terminal or other terminal device.
[0304] Optionally, in this embodiment, the computer terminal may be located in at least one of a plurality of network devices in a computer network.
[0305] In this embodiment, the computer terminal described above can execute the program code for the following steps in the training method of the remote sensing image processing model: responding to a sample annotation command applied to the operation interface, displaying an annotation interface on the operation interface, wherein the annotation interface displays a first remote sensing image and annotation controls, the first remote sensing image being used to train the remote sensing image processing model, and the annotation controls being used to annotate the first remote sensing image; responding to a first annotation command applied to the annotation controls, displaying a first annotation result on the first remote sensing image, wherein the first annotation result is the result obtained by annotating the first remote sensing image based on the first annotation command; responding to a model training command applied to the operation interface, displaying a first training result of the remote sensing image processing model on the operation interface, wherein the first training result is the result obtained by training the remote sensing image processing model based on the first remote sensing image and the first annotation result.
[0306] Optionally, Figure 50 This is a structural block diagram of a computer terminal according to an embodiment of this application. Figure 50 As shown, the computer terminal A may include: one or more (only one is shown in the figure) processors 102, memory 104, memory controller, and peripheral interfaces, wherein the peripheral interfaces are connected to a radio frequency module, an audio module, and a display.
[0307] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the training method and apparatus for the remote sensing image processing model in this embodiment. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby realizing the aforementioned training method for the remote sensing image processing model. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to terminal A via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0308] The processor can invoke information and application programs stored in the memory via a transmission device to perform the following steps: In response to a sample annotation command applied to the operation interface, displaying an annotation interface on the operation interface, wherein the annotation interface displays a first remote sensing image and annotation controls, the first remote sensing image being used to train the remote sensing image processing model, and the annotation controls being used to annotate the first remote sensing image; In response to a first annotation command applied to the annotation controls, displaying a first annotation result on the first remote sensing image, wherein the first annotation result is the result obtained by annotating the first remote sensing image based on the first annotation command; In response to a model training command applied to the operation interface, displaying a first training result of the remote sensing image processing model on the operation interface, wherein the first training result is the result obtained by training the remote sensing image processing model based on the first remote sensing image and the first annotation result.
[0309] Optionally, the processor may also execute program code for the following steps: determining the current state of the annotation control based on the first annotation instruction, wherein the current state includes one of the following: adding an annotation, deleting an annotation; responding to a touch instruction applied to the first remote sensing image, generating a first annotation result based on the current state and the recognition result corresponding to the touch instruction, wherein the recognition result is obtained by image recognition of the target image corresponding to the touch instruction, and the target image is an image in the first remote sensing image located within a preset range corresponding to the touch instruction.
[0310] Optionally, the processor may also execute program code that performs the following steps: if the current state includes adding annotations, add the recognition result to the first annotation result; if the current state includes deleting annotations, delete the recognition result from the first annotation result.
[0311] Optionally, the processor may also execute program code that performs the following steps: in response to a removal command applied to the first remote sensing image, remove the recognition result corresponding to the removal command from the first annotation result; in response to a confirmation command applied to the first annotation result, display an adjustment control on at least one recognition result included in the first annotation result; in response to an adjustment command applied to the adjustment control, display a second annotation result on the annotation interface, wherein the second annotation result is obtained by adjusting the first annotation result based on the adjustment command.
[0312] Optionally, the processor may also execute program code that performs the following steps: displays a list of annotation items on the operation interface, wherein the list of annotation items contains the annotation items that have been created; in response to an instruction to view the annotation items, displays a list of annotation tasks on the operation interface, wherein the list of annotation tasks contains the annotation tasks that have been created; and in response to an instruction to execute the annotation tasks, displays an annotation interface on the operation interface.
[0313] Optionally, the processor may also execute program code that performs the following steps: responding to a task creation command applied to the annotation task list, displaying a task creation page on the operation interface, wherein the task creation page includes at least a pre-annotation setting control; responding to a pre-annotation command applied to the pre-annotation setting control, displaying pre-annotated vector data corresponding to the pre-annotation command on the task creation page, wherein the pre-annotated vector data is obtained by processing a second remote sensing image using a remote sensing image processing model; responding to a second annotation command applied to the task creation page, displaying a third annotation result on the first remote sensing image, wherein the third annotation result is obtained by annotating the first remote sensing image based on the pre-annotated vector data; responding to a model training command applied to the operation interface, displaying a second training result of the first remote sensing image processing model on the operation interface, wherein the second training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the third annotation result.
[0314] Optionally, the processor may also execute program code that performs the following steps: in response to an image upload command applied to the image to be labeled control, displays the original remote sensing image on the task creation page; in response to an input command applied to the slice quantity control, displays the target slice quantity corresponding to the slice quantity upload command on the task creation page, wherein the target slice quantity is used to slice the original remote sensing image to obtain the first remote sensing image.
[0315] Optionally, the processor may also execute program code that performs the following steps: displaying multiple image slices on the task creation page, wherein the multiple image slices are obtained by slicing the original remote sensing image based on preset image slice parameters; and, if the number of multiple image slices is greater than the target number of slices, responding to the slice selection command applied to the multiple image slices, displaying the first remote sensing image corresponding to the slice selection command on the task creation page.
[0316] Optionally, the processor may also execute program code for the following steps: displaying a model settings page on the operation interface, the model settings page including at least the network structure, backbone network, and pre-trained model of the remote sensing image processing model; responding to a model confirmation command applied to the model settings page, displaying a training data settings page on the operation interface, wherein the training data settings page includes at least the training data corresponding to the remote sensing image processing model, the allocation ratio of the training set and validation set, and image preprocessing parameters, the image preprocessing parameters being used to preprocess the training data, the training data including a first remote sensing image and a first annotation result; responding to a data confirmation command applied to the training data settings page, displaying a training parameter settings page on the operation interface, wherein the training data settings page includes at least the training parameters corresponding to the remote sensing image processing model; responding to a parameter confirmation command applied to the training parameter settings page, displaying a first training result on the operation interface, wherein the first training result is obtained by training the remote sensing image processing model based on the training data, image preprocessing parameters, and the training parameter settings page.
[0317] Optionally, the processor may also execute program code with the following steps: In response to an enable command applied to the semi-supervised training control, display a training data setting page on the operation interface; in response to a data confirmation command applied to the training data setting page, display a semi-supervised training setting page on the operation interface, wherein the semi-supervised training setting page includes at least the target dataset and semi-supervised training parameters; in response to a semi-supervised confirmation command applied to the semi-supervised training setting page, display a training parameter setting page on the operation interface; in response to a parameter confirmation command applied to the training parameter setting page, display a third training result on the operation interface, wherein the third training result is obtained by training the remote sensing image processing model based on the training data, image preprocessing parameters, target dataset, semi-supervised training parameters, and the training parameter setting page.
[0318] Optionally, the processor may also execute program code that performs the following steps: in response to a semi-supervised training instruction applied to the remote sensing image processing model, displays a semi-supervised training page on the operation interface, wherein the semi-supervised training page contains at least the target dataset and semi-supervised training parameters; in response to a second training instruction applied to the semi-supervised training page, displays a fourth training result of the remote sensing image processing model on the operation interface, wherein the fourth training result is the result obtained by training the remote sensing image processing model based on the target dataset and the semi-supervised training parameters.
[0319] The processor can invoke information and application programs stored in the memory via a transmission device to perform the following steps: acquiring a first remote sensing image and a first annotation instruction by calling a first interface, wherein the first interface includes a first parameter, the value of which is the first remote sensing image and the first annotation instruction; annotating the first remote sensing image based on the first annotation instruction to obtain a first annotation result; training a remote sensing image processing model based on the first remote sensing image and the first annotation result to obtain a first training result of the remote sensing image processing model; and outputting the first training result by calling a second interface, wherein the second interface includes a second parameter, the value of which is the first training result.
[0320] In this embodiment, in response to a sample annotation command applied to the operation interface, an annotation interface is displayed on the operation interface. The annotation interface displays a first remote sensing image and annotation controls. The first remote sensing image is used to train the remote sensing image processing model, and the annotation controls are used to annotate the first remote sensing image. In response to a first annotation command applied to the annotation controls, a first annotation result is displayed on the first remote sensing image. The first annotation result is obtained by annotating the first remote sensing image based on the first annotation command. In response to a model training command applied to the operation interface, a first training result of the remote sensing image processing model is displayed on the operation interface. The first training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the first annotation result. This achieves the goal of improving the training efficiency of the remote sensing image processing model. By setting up the operation interface, users can easily annotate on the interface, thereby improving the annotation efficiency of the first remote sensing image. Furthermore, model training commands can be generated based on the first remote sensing image and the first annotation result, thereby quickly training the remote sensing image processing model and achieving the goal of improving the training efficiency of the remote sensing image processing model. This solves the technical problem of low model training efficiency in related technologies.
[0321] Those skilled in the art will understand that Figure 50 The structure shown is for illustrative purposes only. The computer terminal can also be a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, and other terminal devices. Figure 50 This does not limit the structure of the aforementioned electronic device. For example, computer terminal A may also include components that are more... Figure 50 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 50 The different configurations shown.
[0322] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0323] Example 4
[0324] Embodiments of this application also provide a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the training method of the remote sensing image processing model provided in Embodiment 1.
[0325] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.
[0326] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: In response to a sample annotation command applied to the operation interface, displaying an annotation interface on the operation interface, wherein the annotation interface displays a first remote sensing image and annotation controls, the first remote sensing image being used to train the remote sensing image processing model, and the annotation controls being used to annotate the first remote sensing image; In response to a first annotation command applied to the annotation controls, displaying a first annotation result on the first remote sensing image, wherein the first annotation result is the result obtained by annotating the first remote sensing image based on the first annotation command; In response to a model training command applied to the operation interface, displaying a first training result of the remote sensing image processing model on the operation interface, wherein the first training result is the result obtained by training the remote sensing image processing model based on the first remote sensing image and the first annotation result.
[0327] Optionally, the storage medium is further configured to store program code for performing the following steps: determining the current state of the annotation control based on the first annotation instruction, wherein the current state includes one of the following: adding an annotation, deleting an annotation; responding to a touch instruction applied to the first remote sensing image, generating a first annotation result based on the current state and the recognition result corresponding to the touch instruction, wherein the recognition result is obtained by image recognition of the target image corresponding to the touch instruction, and the target image is an image in the first remote sensing image located within a preset range corresponding to the touch instruction.
[0328] Optionally, the storage medium is further configured to store program code for performing the following steps: adding the recognition result to the first annotation result when the current state includes adding annotations; and deleting the recognition result from the first annotation result when the current state includes deleting annotations.
[0329] Optionally, the storage medium is further configured to store program code for performing the following steps: in response to a removal command applied to the first remote sensing image, removing the recognition result corresponding to the removal command from the first annotation result; in response to a confirmation command applied to the first annotation result, displaying adjustment controls on at least one recognition result included in the first annotation result; and in response to an adjustment command applied to the adjustment controls, displaying a second annotation result on the annotation interface, wherein the second annotation result is obtained by adjusting the first annotation result based on the adjustment command.
[0330] Optionally, the storage medium is further configured to store program code for performing the following steps: displaying a list of annotation items on the operation interface, wherein the list of annotation items contains annotation items that have been created; displaying a list of annotation tasks on the operation interface in response to an instruction to view the annotation items, wherein the list of annotation tasks contains annotation tasks that have been created; and displaying an annotation interface on the operation interface in response to an instruction to execute the annotation tasks.
[0331] Optionally, the aforementioned storage medium is further configured to store program code for performing the following steps: responding to a task creation instruction applied to the annotation task list, displaying a task creation page on the operation interface, wherein the task creation page includes at least a pre-annotation setting control; responding to a pre-annotation instruction applied to the pre-annotation setting control, displaying pre-annotated vector data corresponding to the pre-annotation instruction on the task creation page, wherein the pre-annotated vector data is obtained by processing a second remote sensing image using a remote sensing image processing model; responding to a second annotation instruction applied to the task creation page, displaying a third annotation result on the first remote sensing image, wherein the third annotation result is obtained by annotating the first remote sensing image based on the pre-annotated vector data; responding to a model training instruction applied to the operation interface, displaying a second training result of the first remote sensing image processing model on the operation interface, wherein the second training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the third annotation result.
[0332] Optionally, the storage medium is further configured to store program code for performing the following steps: in response to an image upload command applied to the image to be labeled control, displaying the original remote sensing image on the task creation page; in response to an input command applied to the slice quantity control, displaying the target slice quantity corresponding to the slice quantity upload command on the task creation page, wherein the target slice quantity is used to slice the original remote sensing image to obtain the first remote sensing image.
[0333] Optionally, the aforementioned storage medium is further configured to store program code for performing the following steps: displaying multiple image slices on a task creation page, wherein the multiple image slices are obtained by slicing the original remote sensing image based on preset image slice parameters; and, if the number of multiple image slices is greater than the target number of slices, displaying the first remote sensing image corresponding to the slice selection instruction on the task creation page in response to a slice selection instruction applied to the multiple image slices.
[0334] Optionally, the aforementioned storage medium is further configured to store program code for performing the following steps: displaying a model settings page on the operation interface, the model settings page including at least the network structure, backbone network, and pre-trained model of the remote sensing image processing model; in response to a model confirmation command applied to the model settings page, displaying a training data settings page on the operation interface, wherein the training data settings page includes at least the training data corresponding to the remote sensing image processing model, the allocation ratio of the training set and validation set, and image preprocessing parameters, the image preprocessing parameters being used to preprocess the training data, the training data including a first remote sensing image and a first annotation result; in response to a data confirmation command applied to the training data settings page, displaying a training parameter settings page on the operation interface, wherein the training data settings page includes at least the training parameters corresponding to the remote sensing image processing model; and in response to a parameter confirmation command applied to the training parameter settings page, displaying a first training result on the operation interface, wherein the first training result is obtained by training the remote sensing image processing model based on the training data, image preprocessing parameters, and the training parameter settings page.
[0335] Optionally, the aforementioned storage medium is further configured to store program code for performing the following steps: In response to an enable command applied to the semi-supervised training control, a training data setting page is displayed on the operation interface; in response to a data confirmation command applied to the training data setting page, a semi-supervised training setting page is displayed on the operation interface, wherein the semi-supervised training setting page includes at least the target dataset and semi-supervised training parameters; in response to a semi-supervised confirmation command applied to the semi-supervised training setting page, a training parameter setting page is displayed on the operation interface; in response to a parameter confirmation command applied to the training parameter setting page, a third training result is displayed on the operation interface, wherein the third training result is obtained by training the remote sensing image processing model based on the training data, image preprocessing parameters, target dataset, semi-supervised training parameters, and the training parameter setting page.
[0336] Optionally, the aforementioned storage medium is further configured to store program code for performing the following steps: in response to a semi-supervised training instruction applied to the remote sensing image processing model, displaying a semi-supervised training page on the operation interface, wherein the semi-supervised training page contains at least the target dataset and semi-supervised training parameters; in response to a second training instruction applied to the semi-supervised training page, displaying a fourth training result of the remote sensing image processing model on the operation interface, wherein the fourth training result is the result obtained by training the remote sensing image processing model based on the target dataset and the semi-supervised training parameters.
[0337] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: obtaining a first remote sensing image and a first annotation instruction by calling a first interface, wherein the first interface includes a first parameter, the parameter value of the first parameter being the first remote sensing image and the first annotation instruction; annotating the first remote sensing image based on the first annotation instruction to obtain a first annotation result; training a remote sensing image processing model based on the first remote sensing image and the first annotation result to obtain a first training result of the remote sensing image processing model; and outputting the first training result by calling a second interface, wherein the second interface includes a second parameter, the parameter value of the second parameter being the first training result.
[0338] In this embodiment, in response to a sample annotation command applied to the operation interface, an annotation interface is displayed on the operation interface. The annotation interface displays a first remote sensing image and annotation controls. The first remote sensing image is used to train the remote sensing image processing model, and the annotation controls are used to annotate the first remote sensing image. In response to a first annotation command applied to the annotation controls, a first annotation result is displayed on the first remote sensing image. The first annotation result is obtained by annotating the first remote sensing image based on the first annotation command. In response to a model training command applied to the operation interface, a first training result of the remote sensing image processing model is displayed on the operation interface. The first training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the first annotation result. This achieves the goal of improving the training efficiency of the remote sensing image processing model. By setting up the operation interface, users can easily annotate on the interface, thereby improving the annotation efficiency of the first remote sensing image. Furthermore, model training commands can be generated based on the first remote sensing image and the first annotation result, thereby quickly training the remote sensing image processing model and achieving the goal of improving the training efficiency of the remote sensing image processing model. This solves the technical problem of low model training efficiency in related technologies.
[0339] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0340] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0341] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0342] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0343] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0344] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0345] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A training method for a remote sensing image processing model, characterized in that, include: In response to a sample annotation command applied to the operation interface, an annotation interface is displayed on the operation interface, and a list of annotation items is displayed on the operation interface. The annotation interface displays a first remote sensing image and annotation controls. The first remote sensing image is used to train the remote sensing image processing model, and the annotation controls are used to annotate the first remote sensing image. In response to a first annotation instruction applied to the annotation control, a first annotation result is displayed on the first remote sensing image, wherein the first annotation result is obtained by annotating the first remote sensing image based on the first annotation instruction; In response to a model training command applied to the operation interface, the operation interface displays a first training result and a second training result of the remote sensing image processing model. The first training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the first annotation result. The second training result is obtained by training the remote sensing image processing model based on the first remote sensing image and the third annotation result. The third annotation result is obtained by annotating the first remote sensing image based on pre-annotated vector data. The pre-annotated vector data is obtained by processing the second remote sensing image using the remote sensing image processing model. The method further includes: In response to a task creation command applied to the labeled task list, a task creation page is displayed on the operation interface; In response to the image upload command applied to the image control to be annotated in the task creation page, the original remote sensing image is displayed on the task creation page; In response to an input command applied to the slice quantity control on the task creation page, the target slice quantity corresponding to the slice quantity upload command is displayed on the task creation page. The target slice quantity is used to slice the original remote sensing image to obtain the first remote sensing image.
2. The method according to claim 1, characterized in that, In response to a first annotation instruction applied to the annotation control, the method further includes: Based on the first annotation instruction, the current state corresponding to the annotation control is determined, wherein the current state includes one of the following: adding an annotation, deleting an annotation; In response to a touch command applied to the first remote sensing image, a first annotation result is generated based on the current state and the recognition result corresponding to the touch command. The recognition result is obtained by image recognition of the target image corresponding to the touch command, and the target image is an image in the first remote sensing image located within a preset range corresponding to the touch command.
3. The method according to claim 2, characterized in that, Based on the current state and the recognition result corresponding to the touch command, the first annotation result is generated, including: If the current state includes adding annotations, the recognition result is added to the first annotation result; If the current state includes deleting annotations, the identification result is deleted from the first annotation result.
4. The method according to claim 2, characterized in that, After determining whether the first annotation result contains the recognition result corresponding to the touch command based on the current state, the method further includes: In response to a removal command applied to the first remote sensing image, the identification result corresponding to the removal command is removed from the first annotation result; In response to a confirmation command applied to the first annotation result, an adjustment control is displayed on at least one recognition result included in the first annotation result; In response to an adjustment command applied to the adjustment control, a second annotation result is displayed on the annotation interface, wherein the second annotation result is obtained by adjusting the first annotation result based on the adjustment command.
5. The method according to claim 1, characterized in that, The list of labeled items contains already created labeled items, and the method further includes: In response to a project viewing command applied to the labeled project, a list of labeled tasks is displayed on the operation interface, wherein the list of labeled tasks includes labeled tasks that have already been created. In response to the execution command applied to the annotation task, the annotation interface is displayed on the operation interface.
6. The method according to claim 5, characterized in that, After displaying the list of labeled tasks on the user interface, the method further includes: In response to a task creation command applied to the annotation task list, a task creation page is displayed on the operation interface, wherein the task creation page includes at least a pre-annotation setting control; In response to a pre-annotation command applied to the pre-annotation setting control, the pre-annotation vector data corresponding to the pre-annotation command is displayed on the task creation page; In response to the second annotation command applied to the task creation page, a third annotation result is displayed on the first remote sensing image; In response to a model training command applied to the user interface, the second training result of the first remote sensing image processing model is displayed on the user interface.
7. The method according to claim 6, characterized in that, After displaying the target number of slices corresponding to the slice upload instruction on the task creation page, the method further includes: Multiple image slices are displayed on the task creation page, wherein the multiple image slices are obtained by slicing the original remote sensing image based on preset image slicing parameters; If the number of multiple image slices is greater than the target number of slices, in response to the slice selection instruction applied to the multiple image slices, the first remote sensing image corresponding to the slice selection instruction is displayed on the task creation page.
8. The method according to claim 1, characterized in that, In response to a model training command applied to the user interface, the method further includes: The operation interface displays a model settings page, which includes at least the network structure, backbone network, and pre-trained model of the remote sensing image processing model. In response to the model confirmation command applied to the model settings page, a training data settings page is displayed on the operation interface. The training data settings page includes at least the training data corresponding to the remote sensing image processing model, the allocation ratio of the training set and the validation set, and the image preprocessing parameters. The image preprocessing parameters are used to preprocess the training data. The training data includes the first remote sensing image and the first annotation result. In response to a data confirmation command applied to the training data setting page, a training parameter setting page is displayed on the operation interface, wherein the training data setting page contains at least the training parameters corresponding to the remote sensing image processing model. In response to a parameter confirmation command applied to the training parameter setting page, the first training result is displayed on the operation interface, wherein the first training result is obtained by training the remote sensing image processing model based on the training data, the image preprocessing parameters, and the training parameter setting page.
9. The method according to claim 8, characterized in that, The model settings page also includes semi-supervised training controls, and the method further includes: In response to the start command applied to the semi-supervised training control, the training data setting page is displayed on the operation interface; In response to a data confirmation command applied to the training data settings page, a semi-supervised training settings page is displayed on the operation interface, wherein the semi-supervised training settings page includes at least the target dataset and semi-supervised training parameters; In response to a semi-supervised confirmation command applied to the semi-supervised training settings page, the training parameter settings page is displayed on the operation interface; In response to a parameter confirmation command applied to the training parameter setting page, a third training result is displayed on the operation interface. The third training result is obtained by training the remote sensing image processing model based on the training data, the image preprocessing parameters, the target dataset, the semi-supervised training parameters, and the training parameter setting page.
10. The method according to claim 1, characterized in that, After displaying the first training result of the remote sensing image processing model on the user interface, the method further includes: In response to a semi-supervised training instruction applied to the remote sensing image processing model, a semi-supervised training page is displayed on the operation interface, wherein the semi-supervised training page contains at least the target dataset and semi-supervised training parameters. In response to a second training instruction applied to the semi-supervised training page, a fourth training result of the remote sensing image processing model is displayed on the operation interface, wherein the fourth training result is obtained by training the remote sensing image processing model based on the target dataset and the semi-supervised training parameters.
11. A training method for a remote sensing image processing model, characterized in that, include: The first remote sensing image and the first annotation instruction are obtained by calling the first interface, wherein the first interface includes a first parameter, and the parameter value of the first parameter is the first remote sensing image and the first annotation instruction; The first remote sensing image is annotated based on the first annotation instruction to obtain the first annotation result; The remote sensing image processing model is trained based on the first remote sensing image and the first annotation result to obtain the first training result of the remote sensing image processing model. The first training result and the second training result are output by calling the second interface. The second interface includes a second parameter, the value of which is the first training result. The second training result is the result obtained by training the remote sensing image processing model based on the first remote sensing image and the third annotation result. The third annotation result is the result obtained by annotating the first remote sensing image based on pre-annotated vector data. The pre-annotated vector data is obtained by processing the second remote sensing image using the remote sensing image processing model. The method further includes: In response to sample annotation commands applied to the user interface, an annotation interface and a list of annotation items are displayed on the user interface. In response to a task creation command applied to the labeled task list, a task creation page is displayed on the operation interface; In response to the image upload command applied to the image control to be annotated in the task creation page, the original remote sensing image is displayed on the task creation page; In response to an input command applied to the slice quantity control on the task creation page, the target slice quantity corresponding to the slice quantity upload command is displayed on the task creation page. The target slice quantity is used to slice the original remote sensing image to obtain the first remote sensing image.
12. An electronic device, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program, when running, performs the method according to any one of claims 1 to 11.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Ground feature element processing method and device, storage medium and processor
CN113762222A
Space-space-ground big data intelligent interpretation system
CN115170924A
User Interface for Object Detection and Labeling
US20190279017A1
