Water level intelligent identification method and system based on deep learning

By generating an adversarial network extended data set and combining the YOLOv5 lightweight framework and GhostNet design, the problem of water level data imbalance and real-time monitoring complexity is solved, and the water level recognition effect and real-time performance are improved.

CN118643302AInactive Publication Date: 2024-09-13HUNAN WANGXIN HI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411120466.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-09-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing intelligent water level recognition methods based on deep learning have problems such as poor recognition results and computational complexity affecting real-time performance when water level data is unbalanced and monitored in real time.

Method used

The generative adversarial network is used to expand the data set, combined with the YOLOv5 lightweight framework and GhostNet design, and the convolutional attention mechanism and CloU loss function are added to improve model efficiency and accuracy.

Benefits of technology

It improves the recognition effect of minority categories of water levels and the real-time performance of the model, and enhances the real-time monitoring capability of water level changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643302A
    Figure CN118643302A
Patent Text Reader

Abstract

The invention discloses an intelligent water level identification method and system based on deep learning. The method comprises the steps of water level data collection, data preprocessing, water level monitoring model construction, water level monitoring model optimization and water level identification. The invention belongs to the technical field of data processing, and particularly relates to an intelligent water level identification method and system based on deep learning. Calculating the contribution of a sample to a discriminator loss function, calculating a global optimal solution of the adversarial network, obtaining an optimization function of a generator and calculating a divergence form, increasing the sample size in a data set, and improving the water level recognition effect of a small number of categories; a lightweight framework is adopted, a GhostNet design thought is used to reduce model parameters and calculation amount, a convolution attention mechanism is added, a CloU loss function is adopted to consider an overlapping region between a prediction frame and a real frame, and the model efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data processing technology, and specifically discloses a water level intelligent recognition method and system based on deep learning. Background Art

[0002] The water level intelligent recognition method based on deep learning is a method that uses sensors, image recognition and deep learning technology to monitor and identify the water level of a water body. It aims to improve the accuracy, real-time and intelligence of water level monitoring, provide reliable technical support for water conservancy projects, meteorological disaster warnings, and urban flood control, effectively handle complex water level monitoring scenarios, and improve the processing efficiency and accuracy of water level data. However, the existing water level intelligent recognition method based on deep learning has the problem that the water level data is unbalanced, that is, the number of samples of certain water level states is small, resulting in poor water level recognition for a few categories. There is also a technical problem that when monitoring water level changes in real time, the real-time requirements for the algorithm are high, and the computational complexity of the deep learning model will affect the real-time performance. Summary of the invention

[0003] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a water level intelligent identification method and system based on deep learning. In view of the imbalance of water level data, that is, the number of samples of certain water level states is small, resulting in poor water level identification effect for a few categories. The process of collecting real water level data to build a generative adversarial network architecture to expand the data set includes minimizing the difference between the generative network and the adversarial network, calculating the contribution of the sample to the discriminator loss function, calculating the global optimal solution of the adversarial network, obtaining the optimization function of the generator, and calculating the JS divergence form, thereby increasing the sample size in the data set and improving the water level identification effect for a few categories. In view of the technical problem that when there is real-time monitoring of water level changes, the real-time requirements for the algorithm are high, and the computational complexity of the deep learning model will affect the real-time performance, a YOLOv5-based lightweight framework is adopted, and the design idea of ​​GhostNet is used to reduce model parameters and calculation amount, and the convolutional attention mechanism is added to enable the model to better focus on the key target area. The CloU loss function is used to consider the overlapping area between the predicted box and the real box to improve the model efficiency and accuracy.

[0004] The technical solution adopted by the present invention is as follows: The water level intelligent identification method based on deep learning provided by the present invention comprises the following steps: Step S1: water level data collection, specifically, selecting and obtaining water level data according to water level measurement equipment; Step S2: Data preprocessing, specifically the process of collecting real water level data to build a generative adversarial network architecture to expand the data set, including minimizing the difference between the generative network and the adversarial network, calculating the contribution of the sample to the discriminator loss function, calculating the global optimal solution of the adversarial network, obtaining the optimization function of the generator, and calculating the JS divergence form; Step S3: constructing a water level monitoring model, specifically performing data collection, data cleaning and preprocessing, and constructing and training a deep learning model to obtain a water level monitoring model; Step S4: Optimization of the water level monitoring model, specifically using a lightweight framework based on YOLOv5, using the design ideas of GhostNet to reduce model parameters and calculations, adding a convolutional attention mechanism to enable the model to better focus on key target areas, and using the CloU loss function to consider the overlapping area between the predicted box and the true box to improve model efficiency and accuracy; Step S5: water level identification, specifically calibrating the water level monitoring model according to actual data and regularly maintaining the sensors and data acquisition system.

[0005] Furthermore, in step S1, the water level data collection includes the following steps: Step S11: Select water level measurement equipment, including a water level gauge, a float type water level sensor and a pressure type water level sensor; Step S12: installing a water level measuring device, where the water level measuring device is installed at a location that can accurately reflect water level changes and avoid being disturbed by currents, wind and waves, and floating objects; Step S13: water level data acquisition, obtaining water level information of the water body at different time points, as well as the absolute value, relative change and time series of the water level.

[0006] Furthermore, in step S2, the data preprocessing includes the following steps: Step S21: Collecting real water level data; Step S22: Construct a generative adversarial network architecture to learn to generate realistic water level data and expand the data set by minimizing the difference between the generative network and the adversarial network. The formula used is as follows: ; In the formula, represents minimizing the difference between the generative network and the adversarial network, represents the expected value calculation, is the generative network, It is an adversarial network. Represents the real water level data distribution, represents the log-likelihood of the adversarial network for real data, It is the judgment of the adversarial network on the real data. It is real data. The inverse of the log-likelihood of the adversarial network for the generated data, Represents the adversarial network’s judgment on the generated data, It is noise. represents the processing result of the noise generated by the network, represents the general distribution of noise; Step S23: Train the generative adversarial network. For samples, which may come from the real distribution or the generated distribution, calculate the contribution of the samples to the discriminator loss function. The formula used is as follows: ; In the formula, is the contribution of the sample to the discriminator loss function, is a sample from the true distribution The probability of is a sample from the generating distribution probability; Step S24: Calculate the global optimal solution of the adversarial network, using the following formula: ; In the formula, Represents the global optimal solution of the adversarial network; Step S25: Calculate the optimization function of the generator, obtained by substituting the optimal discriminator into the generator, and the formula used is as follows: ; In the formula, represents the optimization function of the generator, represents the expectation about the true distribution, represents the expectation about the generated distribution; Step S26: Calculate the JS divergence form, the formula used is as follows: ; In the formula, Represents the calculated JS divergence form, It represents the JS divergence between the real sample distribution and the sample distribution generated by the generator. When the discriminator is too good, the loss of the generator can be approximately equal to the JS divergence between the real sample distribution and the sample distribution generated by the generator.

[0007] Furthermore, in step S3, the construction of the water level monitoring model includes the following steps: Step S31: data collection, collecting data related to water level, including historical water level records, meteorological data and geographic information; Step S32: Clean, organize and preprocess the expanded data set to ensure data quality; Step S33: construct a deep learning model, and use the preprocessed data to train the deep learning model to obtain a water level monitoring model.

[0008] Further, in step S4, the water level monitoring model is optimized, including the following steps: Step S41: adopting a YOLOv5-based lightweight framework; Step S42: Use the design idea of ​​GhostNet to reduce the number of model parameters and the amount of calculation, and improve the model efficiency. The formula used is as follows: ; In the formula, It represents the output result after being processed by GhostNet design ideas. represents the input features, represents the convolution operation, is a learnable weight matrix, Represents matrix element multiplication; Step S43: Adding a convolutional attention mechanism helps the model better focus on the key target area, automatically assigning attention weights according to the importance of the input features, and using a variant of the CBAM attention mechanism; Step S44: Using the CloU loss function, the overlapping area between the predicted box and the true box is considered to more accurately evaluate the performance of the model and improve the regression accuracy. The formula used is as follows: ; In the formula, express The value of the loss function, represents the set of prediction boxes, represents the set of ground-truth boxes, is the intersection-over-union ratio, used to describe the prediction box and real frame The degree of overlap between It is the penalty term of the center point distance, which is used to penalize the distance deviation between the center point of the predicted box and the real box. is the aspect ratio penalty term, which is used to penalize the difference in aspect ratio between the predicted box and the true box. Represents the distance between the center point of the predicted box and the real box, represents the weight of the penalty term controlling the distance from the center point, represents the weight of the aspect ratio penalty term, represents the angle of the prediction box, Represents the angle of the ground truth box.

[0009] Further, in step S5, the water level identification includes the following steps: Step S51: calibrate the water level monitoring model according to actual data, set the water level alarm threshold, and issue an alarm when it is identified that the water level exceeds the safety range; Step S52: Perform regular maintenance and inspection on the sensors and data acquisition system to ensure normal operation.

[0010] The water level intelligent recognition system based on deep learning provided by the present invention includes a water level data acquisition module, a data preprocessing module, a water level monitoring model building module, a water level monitoring model optimization module and a water level recognition module; The water level data acquisition module specifically selects and obtains water level data according to the water level measurement equipment; The data preprocessing module is specifically a process of collecting real water level data to build a generative adversarial network architecture to expand the data set, including minimizing the difference between the generative network and the adversarial network, calculating the contribution of the sample to the discriminator loss function, calculating the global optimal solution of the adversarial network, obtaining the optimization function of the generator, and calculating the JS divergence form; The water level monitoring model building module specifically includes data collection, data cleaning and preprocessing, and building and training a deep learning model to obtain a water level monitoring model; The water level monitoring model optimization module specifically adopts a YOLOv5-based lightweight framework, uses the design ideas of GhostNet to reduce model parameters and calculations, adds a convolutional attention mechanism to enable the model to better focus on key target areas, and uses the CloU loss function to consider the overlapping area between the predicted box and the real box to improve model efficiency and accuracy; The water level identification module specifically calibrates the water level monitoring model according to actual data and regularly maintains the sensor and data acquisition system.

[0011] The beneficial results achieved by the present invention using the above scheme are as follows: (1) In order to solve the problem that water level data is unbalanced, that is, the number of samples of certain water level states is small, resulting in poor water level recognition for minority categories, we collect real water level data to build a generative adversarial network architecture to expand the data set, including minimizing the difference between the generative network and the adversarial network, calculating the contribution of the sample to the discriminator loss function, calculating the global optimal solution of the adversarial network, obtaining the optimization function of the generator, and calculating the JS divergence form, so as to increase the number of samples in the data set and improve the water level recognition effect for minority categories; (2) In order to solve the technical problem that the real-time performance of the algorithm is high when real-time monitoring of water level changes is required, and the computational complexity of the deep learning model will affect the real-time performance, a lightweight framework based on YOLOv5 is adopted, and the design idea of ​​GhostNet is used to reduce model parameters and calculation amount. The convolutional attention mechanism is added to enable the model to better focus on the key target area. The CloU loss function is used to consider the overlapping area between the predicted box and the real box, thereby improving the efficiency and accuracy of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A schematic diagram of the process of the water level intelligent identification method based on deep learning provided by the present invention; Figure 2 A schematic diagram of a water level intelligent identification system based on deep learning provided by the present invention; Figure 3 is a schematic flow chart of step S2; Figure 4 It is a schematic diagram of the process of step S4.

[0013] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION

[0014] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0015] In the description of the present invention, it should be understood that terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “top”, “bottom”, “inside” and “outside” indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the present invention.

[0016] Example 1, see Figure 1 The present invention provides a method for intelligent water level recognition based on deep learning, which comprises the following steps: Step S1: water level data collection, specifically, selecting and obtaining water level data according to water level measurement equipment; Step S2: Data preprocessing, specifically the process of collecting real water level data to build a generative adversarial network architecture to expand the data set, including minimizing the difference between the generative network and the adversarial network, calculating the contribution of the sample to the discriminator loss function, calculating the global optimal solution of the adversarial network, obtaining the optimization function of the generator, and calculating the JS divergence form; Step S3: constructing a water level monitoring model, specifically performing data collection, data cleaning and preprocessing, and constructing and training a deep learning model to obtain a water level monitoring model; Step S4: Optimization of the water level monitoring model, specifically using a lightweight framework based on YOLOv5, using the design ideas of GhostNet to reduce model parameters and calculations, adding a convolutional attention mechanism to enable the model to better focus on key target areas, and using the CloU loss function to consider the overlapping area between the predicted box and the true box to improve model efficiency and accuracy; Step S5: water level identification, specifically calibrating the water level monitoring model according to actual data and regularly maintaining the sensors and data acquisition system.

[0017] Example 2, see Figure 1 This embodiment is based on the above embodiment. In step S1, the water level data collection includes the following steps: Step S11: Select water level measurement equipment, including a water level gauge, a float type water level sensor and a pressure type water level sensor; Step S12: installing a water level measuring device, where the water level measuring device is installed at a location that can accurately reflect water level changes and avoid being disturbed by currents, wind and waves, and floating objects; Step S13: water level data acquisition, obtaining water level information of the water body at different time points, as well as the absolute value, relative change and time series of the water level.

[0018] Example 3, see Figure 1 and Figure 3 This embodiment is based on the above embodiment. In step S2, the data preprocessing includes the following steps: Step S21: Collecting real water level data; Step S22: Construct a generative adversarial network architecture to learn to generate realistic water level data and expand the data set by minimizing the difference between the generative network and the adversarial network. The formula used is as follows: ; In the formula, represents minimizing the difference between the generative network and the adversarial network, represents the expected value calculation, is the generative network, It is an adversarial network. Represents the real water level data distribution, represents the log-likelihood of the adversarial network for real data, It is the judgment of the adversarial network on the real data. It is real data. The inverse of the log-likelihood of the adversarial network for the generated data, Represents the adversarial network’s judgment on the generated data, It is noise. represents the processing result of the noise generated by the network, represents the general distribution of noise; Step S23: Train the generative adversarial network. For samples, which may come from the real distribution or the generated distribution, calculate the contribution of the samples to the discriminator loss function. The formula used is as follows: ; In the formula, is the contribution of the sample to the discriminator loss function, is a sample from the true distribution The probability of is a sample from the generating distribution probability; Step S24: Calculate the global optimal solution of the adversarial network, using the following formula: ; In the formula, Represents the global optimal solution of the adversarial network; Step S25: Calculate the optimization function of the generator, obtained by substituting the optimal discriminator into the generator, and the formula used is as follows: ; In the formula, represents the optimization function of the generator, represents the expectation about the true distribution, represents the expectation about the generated distribution; Step S26: Calculate the JS divergence form, the formula used is as follows: ; In the formula, Represents the calculated JS divergence form, It represents the JS divergence between the real sample distribution and the sample distribution generated by the generator. When the discriminator is too good, the loss of the generator can be approximately equal to the JS divergence between the real sample distribution and the sample distribution generated by the generator.

[0019] By performing the above operations, the process of collecting real water level data to build a generative adversarial network architecture to expand the data set includes minimizing the difference between the generative network and the adversarial network, calculating the contribution of the sample to the discriminator loss function, calculating the global optimal solution of the adversarial network, obtaining the optimization function of the generator, and calculating the JS divergence form. The sample size in the data set is increased, and the water level recognition effect for minority categories is improved. The imbalance of water level data, that is, the small number of samples of certain water level states, leads to poor water level recognition effect for minority categories. The technical problem is solved.

[0020] Example 4, see Figure 1 This embodiment is based on the above embodiment. In step S3, the water level monitoring model is constructed, including the following steps: Step S31: data collection, collecting data related to water level, including historical water level records, meteorological data and geographic information; Step S32: Clean, organize and preprocess the expanded data set to ensure data quality; Step S33: construct a deep learning model, and use the preprocessed data to train the deep learning model to obtain a water level monitoring model.

[0021] Example 5, see Figure 1 and Figure 4 This embodiment is based on the above embodiment. In step S4, the water level monitoring model is optimized, including the following steps: Step S41: adopting a YOLOv5-based lightweight framework; Step S42: Use the design idea of ​​GhostNet to reduce the number of model parameters and the amount of calculation, and improve the model efficiency. The formula used is as follows: ; In the formula, It represents the output result after being processed by GhostNet design ideas. represents the input features, represents the convolution operation, is a learnable weight matrix, Represents matrix element multiplication; Step S43: Adding a convolutional attention mechanism helps the model better focus on the key target area, automatically assigning attention weights according to the importance of the input features, and using a variant of the CBAM attention mechanism; Step S44: Using the CloU loss function, the overlapping area between the predicted box and the true box is considered to more accurately evaluate the performance of the model and improve the regression accuracy. The formula used is as follows: ; In the formula, express The value of the loss function, represents the set of prediction boxes, represents the set of ground-truth boxes, is the intersection-over-union ratio, used to describe the prediction box and real frame The degree of overlap between It is the penalty term of the center point distance, which is used to penalize the distance deviation between the center point of the predicted box and the real box. is the aspect ratio penalty term, which is used to penalize the difference in aspect ratio between the predicted box and the true box. Represents the distance between the center point of the predicted box and the real box, represents the weight of the penalty term controlling the distance from the center point, represents the weight of the aspect ratio penalty term, represents the angle of the prediction box, Represents the angle of the ground truth box.

[0022] By performing the above operations, a lightweight framework based on YOLOv5 is adopted, the design idea of ​​GhostNet is used to reduce model parameters and calculation amount, the convolutional attention mechanism is added to enable the model to better focus on the key target area, and the CloU loss function is used to consider the overlapping area between the predicted box and the real box to improve the model efficiency and accuracy. It solves the technical problem that when monitoring water level changes in real time, the real-time requirements for the algorithm are high, and the computational complexity of the deep learning model will affect the real-time performance.

[0023] Example 6, see Figure 1 This embodiment is based on the above embodiment. In step S5, the water level identification includes the following steps: Step S51: calibrate the water level monitoring model according to actual data, set the water level alarm threshold, and issue an alarm when it is identified that the water level exceeds the safety range; Step S52: Perform regular maintenance and inspection on the sensors and data acquisition system to ensure normal operation.

[0024] Embodiment 7, see Figure 2 , this embodiment is based on the above embodiment, and the water level intelligent identification system based on deep learning provided by the present invention includes a water level data acquisition module, a data preprocessing module, a water level monitoring model building module, a water level monitoring model optimization module and a water level identification module; The water level data acquisition module specifically selects and obtains water level data according to the water level measurement equipment; The data preprocessing module is specifically a process of collecting real water level data to build a generative adversarial network architecture to expand the data set, including minimizing the difference between the generative network and the adversarial network, calculating the contribution of the sample to the discriminator loss function, calculating the global optimal solution of the adversarial network, obtaining the optimization function of the generator, and calculating the JS divergence form; The water level monitoring model building module specifically includes data collection, data cleaning and preprocessing, and building and training a deep learning model to obtain a water level monitoring model; The water level monitoring model optimization module specifically adopts a YOLOv5-based lightweight framework, uses the design ideas of GhostNet to reduce model parameters and calculations, adds a convolutional attention mechanism to enable the model to better focus on key target areas, and uses the CloU loss function to consider the overlapping area between the predicted box and the real box to improve model efficiency and accuracy; The water level identification module specifically calibrates the water level monitoring model according to actual data and regularly maintains the sensor and data acquisition system.

[0025] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0026] While the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that many changes, modifications, substitutions and variations can be made to the embodiments without departing from the principles and spirit of the invention.

[0027] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. The water level intelligent identification method based on deep learning is characterized by: The method comprises the following steps: Step S1: water level data collection; Step S2: Data preprocessing, specifically the process of collecting real water level data to build a generative adversarial network architecture to expand the data set, including minimizing the difference between the generative network and the adversarial network, calculating the contribution of the sample to the discriminator loss function, calculating the global optimal solution of the adversarial network, obtaining the optimization function of the generator, and calculating the JS divergence form; Step S3: constructing a water level monitoring model; Step S4: Optimize the water level monitoring model, specifically adopting a lightweight framework based on YOLOv5, using the design ideas of GhostNet to reduce model parameters and calculations, adding a convolutional attention mechanism to enable the model to better focus on key target areas, and using the CloU loss function to consider the overlapping area between the predicted box and the true box; Step S5: water level identification.

2. The water level intelligent identification method based on deep learning according to claim 1 is characterized in that: In step S2, the data preprocessing includes the following steps: Step S21: Collecting real water level data; Step S22: Construct a generative adversarial network architecture to learn to generate realistic water level data and expand the data set by minimizing the difference between the generative network and the adversarial network. The formula used is as follows: ; In the formula, represents minimizing the difference between the generative network and the adversarial network, represents the expected value calculation, is the generative network, It is an adversarial network. Represents the real water level data distribution, represents the log-likelihood of the adversarial network for real data, It is the judgment of the adversarial network on the real data. It is real data. The inverse of the log-likelihood of the adversarial network for the generated data, Represents the adversarial network’s judgment on the generated data, It is noise. represents the processing result of the noise generated by the network, represents the general distribution of noise; Step S23: Train the generative adversarial network and calculate the contribution of the sample to the discriminator loss function. The formula used is as follows: ; In the formula, is the contribution of the sample to the discriminator loss function, is a sample from the true distribution The probability of is a sample from the generating distribution probability; Step S24: Calculate the global optimal solution of the adversarial network, using the following formula: ; In the formula, Represents the global optimal solution of the adversarial network; Step S25: Calculate the optimization function of the generator, obtained by substituting the optimal discriminator into the generator, and the formula used is as follows: ; In the formula, represents the optimization function of the generator, represents the expectation about the true distribution, represents the expectation about the generated distribution; Step S26: Calculate the JS divergence form, the formula used is as follows: ; In the formula, Represents the calculated JS divergence form, Represents the JS divergence between the true sample distribution and the generated sample distribution of the generator.

3. The water level intelligent identification method based on deep learning according to claim 1 is characterized in that: In step S4, the water level monitoring model is optimized, including the following steps: Step S41: adopting a YOLOv5-based lightweight framework; Step S42: Using the design idea of ​​GhostNet, the formula used is as follows: ; In the formula, It represents the output result after being processed by GhostNet design ideas. represents the input features, represents the convolution operation, is a learnable weight matrix, Represents matrix element multiplication; Step S43: Adding a convolutional attention mechanism helps the model better focus on the key target area, automatically assigning attention weights according to the importance of the input features, and using a variant of the CBAM attention mechanism; Step S44: Using the CloU loss function, consider the overlapping area between the predicted box and the true box. The formula used is as follows: ; In the formula, express The value of the loss function, represents the set of prediction boxes, represents the set of ground-truth boxes, is the intersection-over-union ratio, used to describe the prediction box and real frame The degree of overlap between It is the penalty term of the center point distance, which is used to penalize the distance deviation between the center point of the predicted box and the real box. is the aspect ratio penalty term, which is used to penalize the difference in aspect ratio between the predicted box and the true box. Represents the distance between the center point of the predicted box and the real box, represents the weight of the penalty term controlling the distance from the center point, represents the weight of the aspect ratio penalty term, represents the angle of the prediction box, Represents the angle of the real box.

4. The water level intelligent identification method based on deep learning according to claim 1 is characterized in that: In step S1, the water level data collection includes the following steps: Step S11: Select water level measurement equipment, including a water level gauge, a float type water level sensor and a pressure type water level sensor; Step S12: installing a water level measuring device, where the water level measuring device is installed at a location that can accurately reflect water level changes and avoid being disturbed by currents, wind and waves, and floating objects; Step S13: water level data acquisition, obtaining water level information of the water body at different time points, as well as the absolute value, relative change and time series of the water level.

5. The water level intelligent identification method based on deep learning according to claim 1 is characterized in that: In step S3, the water level monitoring model is constructed, including the following steps: Step S31: data collection, collecting data related to the water level; Step S32: cleaning, arranging and preprocessing the expanded data set; Step S33: construct a deep learning model, and use the preprocessed data to train the deep learning model to obtain a water level monitoring model.

6. The water level intelligent identification method based on deep learning according to claim 1 is characterized in that: In step S5, the water level identification includes the following steps: Step S51: calibrate the water level monitoring model according to actual data, set the water level alarm threshold, and issue an alarm when it is identified that the water level exceeds the safety range; Step S52: Perform regular maintenance and inspection on the sensors and data acquisition system to ensure normal operation.

7. A water level intelligent recognition system based on deep learning, used to implement the water level intelligent recognition method based on deep learning as described in any one of claims 1 to 6, characterized in that: It includes a water level data acquisition module, a data preprocessing module, a water level monitoring model building module, a water level monitoring model optimization module and a water level identification module.

8. The water level intelligent identification system based on deep learning according to claim 7 is characterized in that: The water level data acquisition module specifically selects and obtains water level data according to the water level measurement equipment; The data preprocessing module is specifically a process of collecting real water level data to build a generative adversarial network architecture to expand the data set, including minimizing the difference between the generative network and the adversarial network, calculating the contribution of the sample to the discriminator loss function, calculating the global optimal solution of the adversarial network, obtaining the optimization function of the generator, and calculating the JS divergence form; The water level monitoring model building module specifically includes data collection, data cleaning and preprocessing, and building and training a deep learning model to obtain a water level monitoring model; The water level monitoring model optimization module specifically adopts a lightweight framework based on YOLOv5, uses the design ideas of GhostNet to reduce model parameters and calculation amount, adds a convolutional attention mechanism to make the model better focus on key target areas, and adopts the CloU loss function to consider the overlapping area between the predicted box and the real box; The water level identification module specifically calibrates the water level monitoring model according to actual data and regularly maintains the sensor and data acquisition system.

Citation Information

Patent Citations

  • Space target sample augmentation method based on generative adversarial network

    CN114332502A

  • Water level prediction method and device, electronic equipment and storage medium

    CN114548483A

  • Handwritten numeral generation method based on double-discriminator weighted hybrid generative adversarial network

    CN114757329A

  • Water gauge reading identification method based on semantic segmentation

    CN115880571A

  • Unmanned aerial vehicle sensor class unbalanced data anomaly detection method and detection system

    CN116563690A