Lyken17 / Efficient-PyTorch

My best practice of training large dataset using PyTorch.
1.09k stars 138 forks source link

msgpack Error #10

Closed surya00060 closed 5 years ago

surya00060 commented 5 years ago

I run into the following error. I am using python 3.5. Traceback (most recent call last): File "train.py", line 47, in train_dataset = ImageFolderLMDB(traindir, train_transform) File "/media/folder2lmdb.py", line 32, in init self.keys = msgpack.loads(txn.get(b'keys')) File "msgpack/_unpacker.pyx", line 209, in msgpack._cmsgpack.unpackb msgpack.exceptions.ExtraData: unpack(b) received extra data.

Fangyh09 commented 5 years ago

@surya00060, You can try it https://github.com/Fangyh09/Image2LMDB.git which is adapted from this repo.

surya00060 commented 5 years ago

@Fangyh09 Thanks