yolo-set 0.1.0

A CLI tool for managing YOLO datasets — merge, deduplicate, remap labels, and more.
yolo-set-0.1.0 is not a library.

yolo-set

A CLI tool for managing YOLO datasets — merge multiple datasets, remap label indices, and more.

Installation

cargo install yolo-set

Usage

yolo-set merge <src_folder> <master_dataset> [--move]
Argument Description
src_folder Source folder containing sub-dataset directories (each with a data.yaml). If src_folder itself contains data.yaml, it is treated as a single dataset — useful for appending one dataset at a time.
master_dataset Target dataset to merge into
--move Move files instead of copying (default: copy mode)

Example

yolo-set merge ./new-datasets/ ./my-yolo-project/ --move

Each sub-directory under src_folder is treated as a dataset if it contains data.yaml. Labels are automatically merged and re-indexed to avoid collisions. Images and label files are moved into the corresponding train/, test/, valid/ folders under master_dataset.

License

MIT OR Apache-2.0