Hi, I use your method. But when I train the imagenet, I meet the problem
Traceback (most recent call last):
File “main.py”, line 388, in 
main()
File “main.py”, line 154, in main
num_workers=args.workers,)
File “/home/jcz/github/pytorch_examples/imagenet/sequential_imagenet_dataloader/imagenet_seq/data.py”, line 166, in init
ds = td.LMDBData(lmdb_loc, shuffle=False)
File “/home/jcz/github/tensorpack/tensorpack/dataflow/format.py”, line 91, in init
self._set_keys(keys)
File “/home/jcz/github/tensorpack/tensorpack/dataflow/format.py”, line 109, in _set_keys
self.keys = loads(self.keys)
File “/home/jcz/github/tensorpack/tensorpack/utils/serialize.py”, line 29, in loads_msgpack
return msgpack.loads(buf, raw=False, max_bin_len=1000000000)
File “/home/jcz/Venv/pytorch/lib/python3.5/site-packages/msgpack_numpy.py”, line 214, in unpackb
return _unpackb(packed, **kwargs)
File “msgpack/_unpacker.pyx”, line 187, in msgpack._cmsgpack.unpackb
ValueError: 1281167 exceeds max_array_len(131072)