Railway image style conversion data amplification method and system
A style conversion and image technology, applied in the field of rail transit security identification, can solve the problems of poor algorithm stability, easy to be affected by the environment, and difficult to collect high-speed railway intrusion samples, etc., to achieve the effect of image pixel loss and stable quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] The present embodiment 1 provides a railway image style conversion data augmentation system, and the system includes:
[0041] The acquisition module is used to acquire the relevant images of the railway environment to be processed;
[0042] The processing module is used for using the improved generative adversarial network to process the relevant images of the railway environment to be processed to obtain the images after seasonal conversion; wherein,
[0043] The improved generative adversarial network is: the image is convolved and normalized in the network, and then activated by an activation function. After two consecutive downsampling, the output image is subjected to multiple residual blocks, and the output results are added in order. Channel attention mechanism and spatial attention mechanism, in which two convolutions are performed in a residual block; after adjustment by the attention mechanism, the image and retrograde are continuously upsampled twice; finall...
Embodiment 2
[0057] In this embodiment 2, a data augmentation method for railway image style conversion is provided, which solves the problem of obtaining a data set cost-effectively and efficiently when the training sample data is insufficient by using a cycle gan network model with an attention mechanism added.
[0058] A data augmentation method for railway image style transfer based on attention mechanism, including the following steps:
[0059] Step 1, obtain the railway-related images, and start the improved generative adversarial network;
[0060] The step 1 specifically includes the following steps:
[0061] Step 1.1, perform size processing on the input railway perimeter image, first scale it to 560*560 size, then crop it to 512*512 size image and input it into the network;
[0062] Step 1.2, start generators A, B, and input the scaled railway image into the network.
[0063] Step 2, the image undergoes 7*7 convolution, the HW is normalized, and then activated by the activation ...
Embodiment 3
[0081] Embodiment 3 of the present invention provides an electronic device, including a memory and a processor, the processor and the memory communicate with each other, the memory stores program instructions that can be executed by the processor, and the processor invokes the The above-mentioned program instruction executes the railway image style conversion data augmentation method, and the method includes the following process steps:
[0082] Obtain the relevant images of the railway environment to be processed;
[0083] Using the improved generative adversarial network to process the railway environment-related images to be processed, the seasonally converted images are obtained; among them,
[0084] The improved generative adversarial network is: the image is convolved and normalized in the network, and then activated by an activation function. After two consecutive downsampling, the output image is subjected to multiple residual blocks, and the output results are added i...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


