Skip to main content

PyLabel

PyPI      Documentation Status   Open In Colab  

PyLabel is a Python package to help you prepare image datasets for computer vision models including PyTorch and YOLOv5. It can translate bounding box annotations between different formats. (For example, COCO to YOLO.) And it includes an AI-assisted labeling tool that runs in a Jupyter notebook.

  • Translate: Convert annotation formats with a single line of code:
    importer.ImportCoco(path_to_annotations).export.ExportToYoloV5()
    
  • Analyze: PyLabel stores annotatations in a pandas dataframe so you can easily perform analysis on image datasets.
  • Split: Divide image datasets into train, test, and val with stratification to get consistent class distribution.
  • Label: PyLabel also includes an image labeling tool that runs in a Jupyter notebook that can annotate images manually or perform automatic labeling using a pre-trained model.

  • Visualize: Render images from your dataset with bounding boxes overlaid so you can confirm the accuracy of the annotations.

Tutorial Notebooks

See PyLabel in action in these sample Jupyter notebooks:

Find more docs at https://pylabel.readthedocs.io.

About PyLabel

PyLabel was developed by Jeremy Fraenkel, Alex Heaton, and Derek Topper as the Capstope project for the Master of Information and Data Science (MIDS) at the UC Berkeley School of Information. If you have any questions or feedback please create an issue. Please let us know how we can make PyLabel more useful.

Metadata

Release files for pylabel 0.1.55

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

Source distribution (sdist)

Source distribution for pylabel 0.1.55
File Size Uploaded Provenance Actions
pylabel-0.1.55.tar.gz 27.3 kB Without provenance Details for pylabel-0.1.55.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pylabel 0.1.55
File Interpreter ABI Platform Actions
pylabel-0.1.55-py3-none-any.whl Python 3 none any Details for pylabel-0.1.55-py3-none-any.whl

Total release size: 54.8 kB

Release files / pylabel-0.1.55.tar.gz

Download URL pylabel-0.1.55.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c3ccae60f7ffa815ea92f937e99196e71bbe347bda5bdabd551315e45988d7f8
BLAKE2b-256 checksum
How to use checksums
6f802f6fc094cdc20789fe4e099716a99aef58053802a5e9bbc710be63b63619
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / pylabel-0.1.55-py3-none-any.whl

Download URL pylabel-0.1.55-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9643734b57c927dcefe8f866b5907b6da5b8750629d02f1c56d32ce5ff820ae8
BLAKE2b-256 checksum
How to use checksums
545a30e4cc2d2df68d2e2375863afe4a9de54c90042fb29378f096d1d8095396
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Security for pylabel 0.1.55

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.

Release history Release notifications | RSS feed

This release

0.1.55 This release

2 release files No provenance

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