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

About the bit_list in CSQ.py #39

Open jingzhang697 opened 1 year ago

jingzhang697 commented 1 year ago

Line 163-165 for bit in config["bit_list"]: train_val(config, bit)

orror for obj in iterable: TypeError: 'int' object is not iterable

swuxyj commented 1 year ago

需要用list,代码里面会遍历这个list中的每一个bit长度

"bit_list": [64],