基于pytorch框架实现
https://github.com/flyingpot/pytorch_deephash
知乎上面解读
https://zhuanlan.zhihu.com/p/23891866