This repository is no longer maintained. For updated content, please visit: zjykzj/vocdev and zjykzj/cocodev
«pnno» realizes the conversion of dataset or annotation data in different formats
This repo provides several script tools for the following aspects:
- convert different data sets into the format specified by the algorithm. Currently implemented
LabelImg
annotation ->YoloV5
data formatVisDrone
data set ->TLT KITTI
data format
- convert PyTorch ImageFolder dataset to LMDB format
- show image in command line
- This repository is no longer maintained. For updated content, please visit: zjykzj/vocdev and zjykzj/cocodev
- Table of Contents
- Background
- Install
- Usage
- Maintainers
- Contributing
- License
The processing of data sets is often involved in the process of algorithm development, which needs to be converted into the format specified in algorithm training. Many scripts are accumulated over time. Whether these programs can be integrated together can not only be reused, but also reduce the difficulty of the next implementation. Let's Do It ! ! !
$ pip install pnno
Basic operation as follows:
$ pnno -f <cfg_file>
Operation 1: convert tzutalin/labelImg label file to ultralytics/yolov5 specified dataset format. Refer to the configuration file configs/labelimg_2_yolov5.yaml
Operation 1: convert VisDrone/VisDrone-Dataset dataset to KITTI label format. Refer to the configuration file configs/visdrone_2_tlt.yaml
Operation 3: convert PyTorch ImageFolder dataset to LMDB format. Refer to demo/imagenet_lmdb
For more usage, refert to demo/
$ simg -f <IMG_FILE>
- zhujian - Initial work - zjykzj
Anyone's participation is welcome! Open an issue or submit PRs.
Small note:
- Git submission specifications should be complied with Conventional Commits
- If versioned, please conform to the Semantic Versioning 2.0.0 specification
- If editing the README, please conform to the standard-readme specification.
Apache License 2.0 © 2020 zjykzj