Template reconstruction method based on self-attention mechanism
An attention and mechanism technology, applied in neural learning methods, computer components, character and pattern recognition, etc., can solve problems such as hindering the transfer of reconstruction methods, inability to eradicate influence, and poor interpretability of convolutional neural networks.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] A template reconstruction method based on the self-attention mechanism. First, the input image is down-sampled layer by layer to obtain the down-sampled image, and the features of the down-sampled image are extracted, and then the features of each level are searched by the self-attention mechanism. Table mapping obtains the residuals corresponding to each level, and finally upsamples the downsampled image level by level, and fuses the residual information of each level to generate an upsampled image corresponding to each level, and finally generates an upsampled image as the reconstructed template image.
Embodiment 2
[0031] The present invention is on the basis of above-mentioned embodiment 1, as figure 1 As shown, taking a network that has been downsampled four times as an example, the template reconstruction network presents a U-shaped structure as a whole: the left wing starts from the input image and downsamples step by step, while the right wing starts from the smallest downsampled image and successively downsamples Level upsampling; in the process of downsampling on the left wing, the downward thin arrow indicates simple image downsampling calculations, such as nearest neighbor calculation, bilinear calculation, bicubic interpolation calculation, etc.; while in the process of upsampling on the right wing, the direction is upward The thin arrow of represents image upsampling calculation; such as figure 1 As shown, the input image is down-sampled for the first time to generate a 1 / 2 down-sampled image, and the 1 / 2 down-sampled image is down-sampled for the second time to generate a 1 / 4...
Embodiment 3
[0041] This embodiment provides a template reconstruction and detection device based on the self-attention mechanism, based on the above method, such as figure 2 As shown, the device includes a training module and a detection module connected to each other; the training module includes a sequentially connected training data set and a reconstruction model module; the detection module includes a sequentially connected sensor, an input image module, and a differential detection module; Described detection module also comprises the reconstruction template module that is connected with input image module, sealing up detection module; Described training module, detection module are connected by reconstruction model module, reconstruction template module;
[0042] The training module is an external server of the device, and is used to learn and obtain a reconstruction model through a series of training sets. The detection module is the main part of the device. The thin arrow in the ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com