Giter Site home page Giter Site logo

pnno's Introduction

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

pnno's People

Contributors

zjykzj avatar zjzstu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.