Pytorch Lmdb Dataloader
Use lmdb with protobuf to efficiently read big data for pytorch training.
Getting Started
- Install python and protobuf. It's convinient to get protoc in grpc_tools.
pip install grpcio grpcio-tools
- Generate proto.
python -m grpc_tools.protoc -I./proto --python_out=./proto ./proto/tensor.proto
- Create dummy training data.
python create_lmdb.py --output_file train_lmdb
- Run the unit testing.
python dataset_test.py