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
from folder2lmdb import ImageFolderLMDB from torch.utils.data import DataLoader from torchvision.transforms import transforms import torchvision dir_folder = "/home/DATA//lsun/church/church_outdoor_train_lmdb/data.mdb" transform = transforms.Compose([ transforms.ToTensor(), ]) dataset = ImageFolderLMDB(dir_folder, transform, transform) # <--- error is here loader = DataLoader(dataset, batch_size=64)
Error
31 # self.length = pa.deserialize(txn.get(b'__len__')) 32 # self.keys = txn.stat().keys() ---> 33 self.keys = pa.deserialize(txn.get(b'__keys__')) TypeError: a bytes-like object is required, not 'NoneType'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error
The text was updated successfully, but these errors were encountered: