Siamese-RPN icon indicating copy to clipboard operation
Siamese-RPN copied to clipboard

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

Open chengxianda54321 opened this issue 6 years ago • 1 comments

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

chengxianda54321 avatar Jul 29 '19 13:07 chengxianda54321

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.

sing-hui avatar Oct 06 '19 14:10 sing-hui