Open chengxianda54321 opened 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'"
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.
when run train.py, "img_buffer=np.frombuffer(img_buffer,np.uint8)" will cause the error" AttributeError: 'NoneType' object has no attribute 'buffer'"