Cross-media hash retrieval method and device, terminal and storage medium
A cross-media and hash technology, applied in the field of hash retrieval, can solve the problem of low accuracy of cross-media hash retrieval, achieve the effect of maintaining pairwise similarity, improving accuracy, and enhancing expression ability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] Such as figure 1 Shown, in an embodiment of described cross-media hash retrieval method, comprise steps:
[0059] S100. Select at least one sample data group from the sample data set to obtain a target training batch.
[0060] The sample data set includes a plurality of sample data groups, and each sample data group includes a sample label vector, first sample data, and second sample data corresponding to the sample data group. The data type of the first sample data is a first media type, and the type of the second sample data is a second media type. Media data with different media formats are referred to as data with different media types, and the media types may be text, image, video, audio, and so on. For cross-media retrieval, it is necessary to convert data objects with similar semantics for different media types into similar hash codes, so as to realize similarity retrieval. In this embodiment, for data of different media types, different hash learning networks...
Embodiment 2
[0149] Based on the above embodiments, the present invention also provides a corresponding cross-media hash retrieval device, such as Figure 4 As shown, the cross-media hash retrieval device includes:
[0150] A training batch determination module, the training batch determination module is used to select at least one sample data group in the sample data set to obtain a target training batch, wherein the sample data set includes a plurality of sample data groups, each sample data The group includes the sample label vector corresponding to the sample data group, the first sample data and the second sample data, the data type of the first sample data is the first media type, and the type of the second sample data is the second Media type, specifically as described in Embodiment 1;
[0151] A feature hash module, the hash module is used to determine the sample hash feature corresponding to the target sample data group in the target training batch, the sample hash feature corres...
Embodiment 3
[0157] Based on the above embodiments, the present invention also provides a corresponding terminal, such as Figure 5 As shown, the terminal includes a processor 10 and a memory 20 . Figure 5 Only some components of the terminal are shown, but it should be understood that implementation of all illustrated components is not required, and more or fewer components may be implemented instead.
[0158] The storage 20 may be an internal storage unit of the terminal in some embodiments, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk equipped on the terminal, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD ) card, flash memory card (Flash Card), etc. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various...
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