Skip to main content

Intro

This tool is meant to help create a custom dataset by picking and choosing class names from pre-existing datasets.

Limitations

  • The dataset YAML file is expected to be called data.yaml
  • The 'path' variable in data.yaml is not processed. It is assumed that the dataset root path is the directory where data.yaml resides and all data is present already.
  • The script variable in data.yaml is not processed. Make sure all data is present.

Usage

If a path ends on data.yaml it will take that file into account. If a path doesn't end on /data.yaml it will recursevly look for all data.yaml files from that directory downards. e.g.

from YoloDatasetCustomizer import YoloDatasetCustomizer

ydc = YoloDatasetCustomizer(list_to_existing_datasets)
ydc.add([one_more_existing_dataset])

if ydc.create_new_dataset_for_class_names(set_of_wanted_class_names, optional_custom_path, optional_custom_name):
    print("All good")
else:
    print("Oh no.")

Run tests

The project uses uv. Install dependencies and run tests with:

uv run pytest

Lint & type-check

uv run ruff check src test
uv run mypy

Build project

Build the package

uv build

Publish to PyPI (still need twine)

uv pip install twine
uv run twine upload dist/\*

Metadata

Release files for YoloDatasetCustomizer 0.3.0

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

Source distribution (sdist)

Source distribution for YoloDatasetCustomizer 0.3.0
File Size Uploaded
yolodatasetcustomizer-0.3.0.tar.gz 85.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for YoloDatasetCustomizer 0.3.0
File Interpreter ABI Platform
yolodatasetcustomizer-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 94.8 kB

Release files / yolodatasetcustomizer-0.3.0.tar.gz

Download URL yolodatasetcustomizer-0.3.0.tar.gz
Size 85.3 kB
Tags Source
SHA-256 checksum
How to use checksums
900f340b0b69fe0a171c6cbd2b2df49e9833f0dd566c0db7fd6c66082f0e1874
BLAKE2b-256 checksum
How to use checksums
43fef2ab65b549173700c0821f38d16c0fd514b1bcc5f02243caf62dc2f70c72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / yolodatasetcustomizer-0.3.0-py3-none-any.whl

Download URL yolodatasetcustomizer-0.3.0-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8eefa94755aee70d57bacb540101a98c3b9ca07500bbdbc61d5321bdc447e99a
BLAKE2b-256 checksum
How to use checksums
1ab0cdda8de5a5e166f7853355f2e3b8646d0fe6d29fbd24c3846cf40af6b759
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

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