Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyewuhan committed Nov 17, 2017
1 parent 38eb148 commit 0d94cff
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -2,13 +2,13 @@
Implemement of DEEP SUPERVISED HASHING FOR FAST IMAGE RETRIEVAL_CVPR2016


Train:
python demo.py
First you need to modify demo.py to ensure TRAIN=True,and you can modify HASHING_BITS to generate any length hashing bit.
After training, in dir /logs will save trained model.
## Train:
`python demo.py`

Test:
After training, you can change TRAIN=False,then run python.demo.py,result.txt will be generated.
First you need to modify `demo.py` to ensure `TRAIN=True`,and you can modify `HASHING_BITS` to generate any length hashing bit.After training, in dir `/logs` will save trained model.

Calculate mAP:
run python calculate_mAP.py to get mAP of this result.
## Test:
After training, you can change `TRAIN=False`,then run `python.demo.py`,result.txt will be generated.

## Calculate mAP:
run `python calculate_mAP.py` to get mAP of this result.

0 comments on commit 0d94cff

Please sign in to comment.