You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zz
519a23ca50
|
5 years ago | |
---|---|---|
__pycache__ | 5 years ago | |
result | 5 years ago | |
README.md | 5 years ago | |
evaluation.py | 5 years ago | |
mAP.py | 5 years ago | |
net.py | 5 years ago | |
net.pyc | 5 years ago | |
precision_at_k.npy | 5 years ago | |
train.py | 5 years ago |
README.md
pytorch_deephash
Introduction
This is the Pytorch implementation of Deep Learning of Binary Hash Codes for Fast Image Retrieval, and can achieve more than 93% mAP in CIFAR10 dataset.
Environment
Pytorch 0.4.0
torchvision 0.2.1
Training
python train.py
You will get trained models in model folder by default, and models' names are their test accuracy.
Evaluation
python mAP.py --pretrained {your saved model name in model folder by default}
Tips
There are some other args, which you can get them by adding '-h' or reading the code.