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

Build project

Build the package

uv build

Publish to PyPI (still need twine)

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yolodatasetcustomizer-0.2.0.tar.gz (59.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yolodatasetcustomizer-0.2.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file yolodatasetcustomizer-0.2.0.tar.gz.

File metadata

  • Download URL: yolodatasetcustomizer-0.2.0.tar.gz
  • Upload date:
  • Size: 59.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.2

File hashes

Hashes for yolodatasetcustomizer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 293299d28458a2cc10d553e64e35d9d74a24457533f70ce06f185d750c9f3c2f
MD5 df604a2a464c5bf80cd255ee731675c5
BLAKE2b-256 d1f6778ca0ba0a6a10cc82a095abcef4e35d3e3bf8c8da7fda328adc6b974dea

See more details on using hashes here.

File details

Details for the file yolodatasetcustomizer-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yolodatasetcustomizer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51e168ec7c550f40ea4bf6af3eea4dfe0b0ab7cc4d5d50923fcb672890feb23b
MD5 d781339bbc4229cbc5fd104dd1f3e2f0
BLAKE2b-256 388944badce08a7c4f869f1a26c10e6525e1e3d07415281f145a72ba737e298c

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

This release

0.2.0 This release

2 files

0.1.0

2 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