HelloRicky123 / Siamese-RPN

Full reimplementation of siamese rpn, has 0.24 eao on vot2017.
MIT License
223 stars 44 forks source link

AttributeError: 'NoneType' object has no attribute '__buffer__' #50

Open chengxianda54321 opened 5 years ago

chengxianda54321 commented 5 years ago

when run train.py, "img_buffer=np.frombuffer(img_buffer,np.uint8)" will cause the error" AttributeError: 'NoneType' object has no attribute 'buffer'"

sing-hui commented 4 years ago

the reason is that the key is not right, i think “hashlib.md5(path.encode()).digest()” has not return the key which exists in lmdb dataset, but i have no idea the solution.