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.1.0.tar.gz (23.7 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.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yolodatasetcustomizer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b97adea13a62c4dc932d3c107366c135d8f423b1f61b1b0d01814bd05b05e35c
MD5 530752d449ebb2c47d89204316cf4f65
BLAKE2b-256 4f537bb491faf4ff8c3307ab38c52f964749f0d5d6d00e871444f347d78d8e06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yolodatasetcustomizer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c71875066a807ac77ceee07a01b71e6815b4ebbef868690e354ff9ff268bf686
MD5 68f84ecb778c3d06479d96eeaee43001
BLAKE2b-256 21a85a58937db4e63a6e9193dd97ac046343ad9925f56d8341d35a3d97b961fb

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

0.2.0

2 files

This release

0.1.0 This release

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