swuxyj / DeepHash-pytorch

Implementation of Some Deep Hash Algorithms, Including DPSH、DSH、DHN、HashNet、DSDH、DTSH、DFH、GreedyHash、CSQ.
MIT License
495 stars 116 forks source link

bug report #12

Closed ysj1173886760 closed 3 years ago

ysj1173886760 commented 3 years ago

In GreedyHash.py line 66, y_pre is not defined. I have looked your history commit and think we should add y_pre = self.fc(b) before that line.

swuxyj commented 3 years ago

Thank you, I accidentally deleted that line of code.

ysj1173886760 commented 3 years ago

Thank you, I accidentally deleted that line of code.

You are the one to be appreciated, I have learned a lot from there, and hope to contribute someday