An open API service indexing awesome lists of open source software.

https://github.com/xunge/pytorch_lmdb_imagenet

Use lmdb to speed up imagenet dataset
https://github.com/xunge/pytorch_lmdb_imagenet

imagenet lmdb pytorch

Last synced: 5 months ago
JSON representation

Use lmdb to speed up imagenet dataset

Awesome Lists containing this project

README

          

## pytorch_lmdb_imagenet

Convert ImageNet dataset to lmdb, adapted from [https://github.com/Lyken17/Efficient-PyTorch](https://github.com/Lyken17/Efficient-PyTorch)

1. Change Imagenet train set and val set to lmdb

```
python folder2lmdb.py
```

2. Test the dataset

```
python dataset_test.py
```

3. Train Imagenet

```
python train_imagenet.py /path/to/dataset/imagenet/ --lmdb
```