We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the img_buffer get none, I dont know why it cant get the value of the img_buffer
The text was updated successfully, but these errors were encountered:
I print the result of the img_buffer, it shows None
Sorry, something went wrong.
I also meet this problem "the img_buffer get none",the sub-function "imread" in dataset.py,the img_buffer get key but whit None
Just ignore lmdb. Replace imread function of dataset.py with
def imread(self, path): # key = hashlib.md5(path.encode()).digest() # img_buffer = self.txn.get(key) # img_buffer = np.frombuffer(img_buffer, np.uint8) # img = cv2.imdecode(img_buffer, cv2.IMREAD_COLOR) img = cv2.imread(path, cv2.IMREAD_COLOR) return img
No branches or pull requests
the img_buffer get none, I dont know why it cant get the value of the img_buffer
The text was updated successfully, but these errors were encountered: