Unsupervised transmission channel hidden danger detection method, system and storage medium

The unsupervised learning method is combined with MAE and SimCLR to train the image feature encoder, and combined with the improved Cascade RCNN detection part, it solves the problem of scarcity of labeled data and category imbalance in the detection of hidden dangers in power transmission channels, and improves detection performance and recognition capabilities. Accurate detection of hidden dangers in power transmission channels is achieved.

CN118097373BActive Publication Date: 2024-08-23SHANDONG ZHIYANG ELECTRIC +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410457913.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-17
Publication Date
2024-08-23
Estimated Expiration
2044-04-17

AI Technical Summary

Technical Problem

Existing technologies have problems with scarcity of labeled data and class imbalance in the detection of hidden dangers in transmission channels, resulting in high model training costs, long time consumption, and poor detection performance in unseen environments.

Method used

Using an unsupervised learning method, the image feature encoder is trained through the combination of MAE and SimCLR, and combined with the improved Cascade RCNN detection part. The model is trained using transmission channel scene data with hidden danger labels, and the image feature encoder parameters are frozen and only the detection is updated. For some parameters, a spatial position perception module composed of visual Transformer and Resnet is added.

Benefits of technology

It improves the model's ability to perceive hidden danger characteristics, improves detection accuracy and recognition capabilities in rich scenarios, and achieves accurate detection of hidden dangers in power transmission channels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118097373B
    Figure CN118097373B
Patent Text Reader

Abstract

The present invention relates to an unsupervised power transmission channel hidden danger detection method, system and storage medium. The present invention creates an image feature encoder and decoder; constructs a MAE and SimCLR fusion training framework, wherein the SimCLR branch results from different deformations of the same image are feature fused with the encoding results of the MAE image feature encoder, and then the contrast loss is calculated with the SimCLR branch from other images, and the contrast loss is weightedly fused with the MAE decoding loss, and the image feature encoder and the improved Cascade RCNN detection part are combined to create a large model for power transmission channel hidden danger detection, and the power transmission channel scene data with hidden danger labels are used to train the large model for power transmission channel hidden danger detection created based on the image feature encoder, and the image feature encoder parameters are frozen during the training process, and the parameters of the improved Cascade RCNN detection part are used to train the detection of power transmission channel hidden dangers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer vision technology for power transmission channel detection, and in particular to an unsupervised power transmission channel hidden danger detection method, system and storage medium. Background Art

[0002] In recent years, significant progress has been made in the field of power transmission channel hidden danger detection based on deep learning. Object detection techniques, such as the two-stage R-CNN series and the single-stage detector YOLO series, are widely used to improve the accuracy and speed of object detection. In order to solve the problem of scarce labeled data, transfer learning has become a common strategy, which improves the performance of the model by pre-training on large-scale datasets and then fine-tuning on power transmission channel data.

[0003] Although there have been some significant advances in transmission channel hidden danger detection models based on supervised training, there are still some potential shortcomings and challenges. Supervised learning models usually require a large amount of well-labeled data for effective training. However, in the field of transmission channel hidden danger detection, it is very expensive and time-consuming to obtain a sufficient number of high-quality labeled data. In the hidden danger detection scenario, different types of hidden dangers may have class imbalance problems, that is, the number of samples of some hidden danger types is much smaller than other types, which may cause the model to be overly biased towards the larger categories and have poor hidden danger detection performance for the minority categories. If the model is only exposed to data from a specific environment or scenario during training, it may perform poorly in an unseen environment.

[0004] With the help of massive unlabeled transmission channel data, it is possible to train the model using unsupervised methods. It no longer relies on specific label categories, thereby improving the ability to perceive possible hidden danger features, and can obtain a powerful image encoder, which can be used in conjunction with the detector to detect hidden dangers in the transmission channel. Most of the existing unsupervised methods for training encoders only use one of MAE (Masked Autoencoders) or SimCLR (a new framework for visual representation contrast learning). In fact, the combination of the two is more beneficial to its learning, similar to how humans learn by reading and writing at the same time, so that the model learns deeper and richer features. Summary of the invention

[0005] In order to solve the above technical problem or at least partially solve the above technical problem, the present invention provides an unsupervised power transmission channel hidden danger detection method, system and storage medium.

[0006] In a first aspect, the present invention provides an unsupervised method for detecting hidden dangers in a power transmission channel, comprising:

[0007] Create an image feature encoder that supports being used by both MAE and SimCLR unsupervised learning methods and shares weights; create a decoder, which is used to restore the features of the image feature encoder in the MAE process to the original input image; construct a MAE and SimCLR fusion training framework to train the image feature encoder and decoder, wherein the SimCLR branch results from different deformations of the same image are feature fused with the encoding results of the MAE image feature encoder, and then the contrast loss is calculated with the SimCLR branch from other images, and the contrast loss is weightedly fused with the MAE decoding loss to train the image feature encoder and the decoder;

[0008] The image feature encoder and the improved Cascade RCNN detection part are combined to create a large model for transmission channel hidden danger detection. The transmission channel scene data with hidden danger labels are used to train the large model for transmission channel hidden danger detection created based on the image feature encoder. During the training process, the image feature encoder parameters are frozen and only the parameters of the improved Cascade RCNN detection part are updated, thereby realizing the detection of transmission channel hidden dangers.

[0009] Furthermore, the constructed image feature encoder includes: a convolutional neural network and a Transformer encoder based on SwinTransformer. First, the convolutional neural network is used to perform local feature extraction to obtain a CNN feature map, and then the Transformer encoder is used to perform global feature encoding to obtain a Transformer encoding sequence. Finally, the Transformer encoding sequence and the CNN feature map are fused to obtain accurate image feature encoding.

[0010] Furthermore, the decoder is a top-down pyramid network built using CNN.

[0011] Furthermore, a spatial position perception module consisting of a visual transformer and Resnet is added before each cascade head of the Cascade RCNN to form the improved Cascade RCNN.

[0012] Furthermore, the image feature encoder is trained using channel scene data covering various time periods, various weather conditions and various landforms, and the improved Cascade RCNN detection part is trained using power transmission channel scene data with hidden danger labels.

[0013] Furthermore, the contrast loss and MAE decoding loss fusion formula are as follows:

[0014] ;

[0015] in, , , , are all balance coefficients, N is the contrast loss, where Represents the MAE decoding loss, which uses a weighted fusion of L1 loss and L2 loss.

[0016] In a second aspect, the present invention provides a hidden danger detection system for a power transmission channel, which implements the unsupervised hidden danger detection method for a power transmission channel, comprising:

[0017] An image acquisition module, wherein the image acquisition module acquires scene data of a power transmission channel;

[0018] An encoder-decoder module, wherein the encoder-decoder module creates an image feature encoder that supports being used by both MAE and SimCLR unsupervised learning methods and shares weights; and creates a decoder for restoring the features of the encoder in the MAE process to the original input image;

[0019] A first training module, wherein the first training module constructs a MAE and SimCLR fusion training framework to train the image feature encoder and decoder, wherein SimCLR branch results from different deformations of the same image are feature fused with the encoding results of the MAE image feature encoder, and then the contrast loss is calculated with the SimCLR branch from other images, and the contrast loss is weightedly fused with the MAE decoding loss to train the image feature encoder and the decoder;

[0020] A model building module, wherein the model building module combines the image feature encoder and the improved Cascade RCNN detection part to create a large model for power transmission channel hidden danger detection;

[0021] The second training module uses the transmission channel scene data with hidden danger labels to train the large model for transmission channel hidden danger detection created based on the image feature encoder. During the training process, the image feature encoder parameters are frozen and only the parameters of the improved Cascade RCNN detection part are updated, thereby realizing the detection of transmission channel hidden dangers.

[0022] In a third aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the unsupervised power transmission channel hidden danger detection method is implemented.

[0023] The above technical solution provided by the embodiment of the present invention has the following advantages compared with the prior art:

[0024] The present invention creates an image feature encoder that supports being used by both MAE and SimCLR unsupervised learning methods at the same time and shares weights; creates a decoder for restoring the features of the image feature encoder in the MAE process to the original input image; constructs a MAE and SimCLR fusion training framework to train the image feature encoder and decoder, wherein the SimCLR branch results from different deformations of the same image are feature fused with the encoding results of the MAE image feature encoder, and then the contrast loss is calculated with the SimCLR branch from other images, and the contrast loss result is weightedly fused with the MAE decoding loss to train the image feature encoder and the decoder. The ideas of the two unsupervised learning methods MAE and SimCLR are integrated to train the image feature encoder, so that the visual features extracted by the image feature encoder are richer, the feature encoding capability of the model is improved, and the encoding of hidden danger features in rich scenes is supported.

[0025] The present invention combines the image feature encoder and the improved Cascade RCNN detection part to create a large model for transmission channel hidden danger detection, uses transmission channel scene data with hidden danger labels to train the large model for transmission channel hidden danger detection created based on the image feature encoder, freezes the image feature encoder parameters during the training process, and only updates the parameters of the improved Cascade RCNN detection part, thereby realizing the detection of transmission channel hidden dangers. The improved Cascade RCNN detection part adds a spatial position perception module composed of a visual transformer and Resnet, improves CascadeRCNN's ability to identify richer scenes and hidden dangers, and realizes accurate transmission channel hidden danger detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0028] Figure 1 A flowchart of an unsupervised power transmission channel hidden danger detection method provided by an embodiment of the present invention;

[0029] Figure 2 An example diagram of a framework for fusion training of MAE and SimCLR provided in an embodiment of the present invention;

[0030] Figure 3 An example diagram of a large model for detecting hidden dangers in power transmission channels provided in an embodiment of the present invention;

[0031] Figure 4 A schematic diagram of an unsupervised power transmission channel hidden danger detection system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] It should be noted that, in this article, the terms "include", "comprises" or any other variations 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. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0034] Example 1

[0035] See also Figure 1 As shown, an embodiment of the present invention provides an unsupervised power transmission channel hidden danger detection method, comprising the following steps:

[0036] Create an image feature encoder that supports both MAE and SimCLR unsupervised learning methods and shares weights. This invention aims to simulate the human learning process and integrate the ideas of two unsupervised learning methods, MAE (Masked Autoencoders) and SimCLR, to train the image feature encoder, making the extracted visual features richer, improving the model's feature encoding capabilities, and providing rich and correct visual features for decoding.

[0037] In the specific implementation process, the constructed image feature encoder includes: a convolutional neural network and a Transformer encoder based on SwinTransformer. The image feature encoder is used to extract the features of the power transmission channel scene image. The working principle is: first, a convolutional neural network is used to extract local features to obtain a CNN feature map, and then a Transformer encoder is used to perform global feature encoding to obtain a Transformer encoding sequence, and finally the Transformer encoding sequence and the CNN feature map are fused to obtain accurate feature encoding. An exemplary convolutional neural network uses the Resnet101 model, and an exemplary Transformer encoder uses the Swin-L Transformer model. First, Resnet101 is used to extract local features to obtain a CNN feature map, and then the Swin-L Transformer model is used to perform global feature encoding to obtain a Transformer encoding sequence, and finally the Transformer encoding sequence and the CNN feature map are fused to obtain accurate feature encoding of the image.

[0038] Create a decoder for restoring the features of the image feature encoder in the MAE process to the original input image. In the specific implementation process, in the MAE (Masked Autoencoders) process, the features of the original input image are extracted by the image feature encoder, and the decoder restores the features of the original input image to the original input image. The MAE decoding loss is calculated by comparing the generated original input image with the real original input image. The calculation of the MAE decoding loss uses a weighted fusion of the L1 loss and the L2 loss, that is, the MAE decoding loss is expressed as In one example, the decoder is a top-down pyramid network built using CNN.

[0039] See also Figure 2 As shown, a MAE and SimCLR fusion training framework is constructed to train the image feature encoder and decoder. In the framework for constructing MAE and SimCLR fusion training, the SimCLR branch results from different deformations of the same image are fused with the encoding results of the MAE image feature encoder, and then the contrast loss is calculated with the SimCLR branch from other images. The features of the SimCLR branch from other images are tensor-converted before calculating the contrast loss to meet the fusion feature dimension, and the contrast loss result is fused with the MAE decoding loss, and trained together. The final loss is a weighted fusion of the contrast loss and the MAE decoding loss, where the contrast loss and MAE decoding loss fusion formulas are as follows:

[0040] ;

[0041] in, , , , are all balance coefficients, N is the contrast loss, where represents the MAE decoding loss, using a weighted fusion of L1 loss and L2 loss; in one embodiment, , , , Set them to 0.3, 0.7, 0.5, 0.5 respectively.

[0042] In this application, the image feature encoder used to extract the image features of the power transmission channel scene is trained in an unsupervised manner. During the process, the image features of the power transmission channel scene do not need to be labeled. Therefore, it supports training with a larger amount of power transmission channel scene data, making the extracted visual features richer, improving the feature encoding ability of the model, and providing rich and correct visual features for decoding.

[0043] During the specific implementation, a billion-level transmission channel scene data is constructed to train the image feature encoder according to the training framework. During the specific implementation, the channel scene data covers transmission channel scenes of various time periods, various weather conditions and various landforms; among them, through the transmission channel scene data of the shooting equipment, from the perspective of a single shooting device, the time span of the images shot by each device is 3 years or more, covering 24 hours a day, four seasons of spring, summer, autumn and winter, cloudy, sunny, rainy, foggy and snowy weather. From a regional perspective, the images shot by the equipment cover various landforms such as plains, sea rivers, plateaus, deserts and basins.

[0044] The trained image feature encoder is used to build a large model for detecting hidden dangers in power transmission channels. In the specific implementation process, Figure 3As shown, the image feature encoder and the improved Cascade RCNN detection part are combined to create a large model for hidden danger detection in power transmission channels. For the features extracted by the image feature encoder, the improved Cascade RCNN detection part is used to identify whether there are hidden dangers. In the present application, the improved Cascade RCNN detection part adds a spatial position perception module composed of a visual transformer and Resnet in front of each cascade head of Cascade RCNN to form the improved Cascade RCNN. The features extracted by the image feature encoder can reflect the rich scene information and hidden danger information of the power transmission channel, and provide rich and correct visual features for decoding. In order to improve the Cascade RCNN's ability to recognize richer scenes and hidden dangers, a spatial position perception module is added in front of each cascade head of Cascade RCNN. Different detection parts can focus on different information and maximize the use of effective information, thereby improving the detection ability of the model.

[0045] The transmission channel scene data with hidden danger labels is used to train the transmission channel hidden danger detection large model created based on the image feature encoder. During the training process, the image feature encoder parameters are frozen, and only the parameters of the detection part of the improved CascadeRCNN are updated. The hidden dangers of the transmission channel are detected by the trained transmission channel hidden danger detection large model.

[0046] Example 2

[0047] See also Figure 4 As shown, an embodiment of the present invention provides an image enhancement system for a power transmission channel, which implements the unsupervised power transmission channel hidden danger detection method, including:

[0048] An image acquisition module is provided to acquire transmission channel scene data; the image acquisition module is used to acquire billions of transmission channel scene data covering various time periods, various weather conditions and various landforms to train the image feature encoder.

[0049] A marking module is used to mark the power transmission channel scene data containing hidden dangers to form the power transmission channel scene data with hidden danger labels for training the improved Cascade RCNN detection part.

[0050] An encoder-decoder module, wherein the encoder-decoder module creates an image feature encoder that supports being used by both MAE and SimCLR unsupervised learning methods and shares weights; and creates a decoder for restoring the features of the encoder in the MAE process to the original input image;

[0051] The first training module constructs a framework for fusion training of MAE and SimCLR to train the image feature encoder and decoder, wherein the SimCLR branch results from different deformations of the same image are feature fused with the encoding results of the MAE image feature encoder, and then the contrast loss is calculated with the SimCLR branch from other images, and the contrast loss result is fused with the MAE decoding loss, and the training is performed together, and the final loss is a weighted fusion of the contrast loss and the MAE decoding loss.

[0052] The fusion formula of the contrast loss and MAE decoding loss is as follows:

[0053] ;

[0054] in, , , , are all balance coefficients, N is the contrast loss, where Represents the MAE decoding loss, which uses a weighted fusion of L1 loss and L2 loss.

[0055] A model building module combines the image feature encoder and the improved Cascade RCNN detection part to create a large model for power transmission channel hidden danger detection.

[0056] The second training module uses the transmission channel scene data with hidden danger labels to train the large model for transmission channel hidden danger detection created based on the image feature encoder. During the training process, the image feature encoder parameters are frozen and only the parameters of the improved Cascade RCNN detection part are updated, thereby realizing the detection of transmission channel hidden dangers.

[0057] Example 3

[0058] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the unsupervised power transmission channel hidden danger detection method is implemented.

[0059] The method comprises:

[0060] Create an image feature encoder that supports being used by both MAE and SimCLR unsupervised learning methods and shares weights; create a decoder for restoring the features of the image feature encoder in the MAE process to the original input image; construct a framework for fusion training of MAE and SimCLR to train the image feature encoder and decoder, wherein the MAE encoding result is feature fused with the input in SimCLR of branches with different deformations of the same image, and then the contrast loss is calculated with the input in SimCLR of branches not from the same image, and the contrast loss result is weightedly fused with the MAE decoding loss to train the image feature encoder and the decoder; the fusion formula of the contrast loss and the MAE decoding loss is as follows:

[0061] ;

[0062] in, , , , are all balance coefficients, N is the contrast loss, where Represents the MAE decoding loss, which uses a weighted fusion of L1 loss and L2 loss.

[0063] The image feature encoder and the improved Cascade RCNN detection part are combined to create a large model for transmission channel hidden danger detection. The transmission channel scene data with hidden danger labels are used to train the large model for transmission channel hidden danger detection created based on the image feature encoder. During the training process, the image feature encoder parameters are frozen and only the parameters of the improved CascadeRCNN detection part are updated, thereby realizing the detection of transmission channel hidden dangers.

[0064] Of course, the computer-readable storage medium provided by an embodiment of the present invention stores a computer program which is not limited to the method operations described above, but can also execute related operations in an unsupervised power transmission channel hidden danger detection method provided by any embodiment of the present invention.

[0065] In the embodiments provided by the present invention, it should be understood that the disclosed structures and methods can be implemented in other ways. For example, the structural embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, structures or units, which can be electrical, mechanical or other forms.

[0066] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0067] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0068] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. An unsupervised method for detecting hidden dangers in power transmission channels, characterized in that: include: Create an image feature encoder that supports both MAE and SimCLR unsupervised learning methods and shares weights; Create a decoder, the decoder is used to restore the features of the image feature encoder in the MAE process to the original input image; construct a MAE and SimCLR fusion training framework to train the image feature encoder and decoder, wherein the SimCLR branch results from different deformations of the same image are feature fused with the encoding results of the MAE image feature encoder, and then the contrast loss is calculated with the SimCLR branch from other images, and the contrast loss is weightedly fused with the MAE decoding loss to train the image feature encoder and the decoder; The image feature encoder and the improved Cascade RCNN detection part are combined to create a large model for transmission channel hidden danger detection. The transmission channel scene data with hidden danger labels are used to train the large model for transmission channel hidden danger detection created based on the image feature encoder. The parameters of the image feature encoder trained by two unsupervised learning methods, MAE and SimCLR, are frozen, and only the parameters of the detection part of the improved Cascade RCNN are updated to obtain a large model for transmission channel hidden danger detection and detect transmission channel hidden dangers. In particular, a spatial position perception module composed of a visual transformer and Resnet is added in front of each cascade head of the Cascade RCNN to form the improved Cascade RCNN.

2. The unsupervised power transmission channel hidden danger detection method according to claim 1, characterized in that: The constructed image feature encoder includes: a convolutional neural network and a Transformer encoder based on Swin Transformer. First, the convolutional neural network is used to extract local features to obtain a CNN feature map, and then the Transformer encoder is used to perform global feature encoding to obtain a Transformer encoding sequence. Finally, the Transformer encoding sequence and the CNN feature map are fused to obtain accurate image feature encoding.

3. The unsupervised power transmission channel hidden danger detection method according to claim 1, characterized in that: The decoder is a top-down pyramid network built using CNN.

4. The unsupervised power transmission channel hidden danger detection method according to claim 1, characterized in that: The image feature encoder is trained using channel scene data covering various time periods, various weather conditions, and various landforms, and the improved CascadeRCNN detection part is trained using power transmission channel scene data with hidden danger labels.

5. The unsupervised power transmission channel hidden danger detection method according to claim 1, characterized in that: The fusion formula of the contrast loss and MAE decoding loss is as follows: ; in, , , , are all balance coefficients, N is the contrast loss, where Represents the MAE decoding loss, which uses a weighted fusion of L1 loss and L2 loss.

6. A transmission channel hidden danger detection system, implementing the unsupervised transmission channel hidden danger detection method described in any one of claims 1 to 5, characterized in that: include: An image acquisition module, wherein the image acquisition module acquires scene data of a power transmission channel; An encoder-decoder module, which provides an image feature encoder that supports being used by both MAE and SimCLR unsupervised learning methods and shares weights; Create a decoder to restore the features of the encoder during the MAE process to the original input image; A first training module, wherein the first training module constructs a MAE and SimCLR fusion training framework to train the image feature encoder and decoder, wherein SimCLR branch results from different deformations of the same image are feature fused with the encoding results of the MAE image feature encoder, and then the contrast loss is calculated with the SimCLR branch from other images, and the contrast loss is weightedly fused with the MAE decoding loss to train the image feature encoder and the decoder; A model building module, wherein the model building module combines the image feature encoder and the improved Cascade RCNN detection part to create a large model for power transmission channel hidden danger detection; wherein a spatial position perception module composed of a visual transformer and Resnet is added before each cascade head of the Cascade RCNN to form the improved Cascade RCNN; The second training module uses the transmission channel scene data with hidden danger labels to train the large model for transmission channel hidden danger detection created based on the image feature encoder. During the training process, the image feature encoder parameters are frozen and only the parameters of the improved Cascade RCNN detection part are updated, thereby realizing the detection of transmission channel hidden dangers.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the unsupervised power transmission channel hidden danger detection method as described in any one of claims 1 to 5 is implemented.