Skip to main content
Language: 🇺🇸 🇨🇳

«pnno» realizes the conversion of dataset or annotation data in different formats

This repo provides several script tools for the following aspects:

  1. convert different data sets into the format specified by the algorithm. Currently implemented
    1. LabelImg annotation -> YoloV5 data format
    2. VisDrone data set -> TLT KITTI data format
  2. convert PyTorch ImageFolder dataset to LMDB format
  3. show image in command line

Table of Contents

Background

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 ! ! !

Install

$ pip install pnno

Usage

Dataset/Label Convert

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/

Show Image in Command Line

$ simg -f <IMG_FILE>

Maintainers

  • zhujian - Initial work - zjykzj

Contributing

Anyone's participation is welcome! Open an issue or submit PRs.

Small note:

License

Apache License 2.0 © 2020 zjykzj

Metadata

Release files for pnno 0.3.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pnno 0.3.7
File Size Uploaded Provenance
pnno-0.3.7.tar.gz 16.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pnno 0.3.7
File Interpreter ABI Platform
pnno-0.3.7-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 49.3 kB

Release files / pnno-0.3.7.tar.gz

Download URL pnno-0.3.7.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2755a92bdaaa3feb749f759f6e87ee0fc7a1720a12d62ab462bdb2b99aee9aad
BLAKE2b-256 checksum
How to use checksums
f049e44593e0bdf0e53ece31837db3d44437282ecb637b5129df99d8a3217792
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2.post20210110 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

Release files / pnno-0.3.7-py2.py3-none-any.whl

Download URL pnno-0.3.7-py2.py3-none-any.whl
Size 32.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f76611c381924ff7c615fd0200357ad8f7daa98fe162b4abce02eca70ddb8307
BLAKE2b-256 checksum
How to use checksums
7de2b4dec84724cbb515960e27dcca2a368fc563bf9828639b60ec7fa4cdc8f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2.post20210110 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

Security for pnno 0.3.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page