HNH
High-order nonlocal Hashing for unsupervised cross-modal retrieval
Install / Use
/learn @youonly-once/HNHREADME
HNH
This repository is for "High-order nonlocal Hashing for unsupervised cross-modal retrieval"
Usage
Requirements
- python == 3.11.5
- pytorch == 2.1.0
- torchvision
- CV2
- PIL
- h5py
Datasets
For datasets, we follow Deep Cross-Modal Hashing's Github (Jiang, CVPR 2017). You can download these datasets from:
- Wikipedia articles, Link
- MIRFLICKR25K, [OneDrive], [Baidu Pan, password: 8dub]
- NUS-WIDE (top-10 concept), [OneDrive], [Baidu Pan, password: ml4y]
Process
The following experiment results are the average values, if you demand for better results, please run the experiment a few more times (2~5).
- Clone this repo:
git clone https://github.com/youonly-once/HNH.git. - Change the 'dataPath' in
default_config.ymlto where you place the datasets. - An example to train a model:
python main.py
- Modify the parameter
eval = Trueindefault_config.ymlfor validation. - Ablation studies (optional): if you want to evaluate other components of our HNH, please refer to our paper and
default_config.yml.
All rights are reserved by the authors.
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
