Skip to main content

Interface-contract-first evaluation toolkit for mitigating catastrophic forgetting and domain shift via reproducible workflows.

Project description

YOLOZU (萬)

Japanese: Readme_jp.md

PyPI Zenodo (software DOI) Zenodo (manual DOI) Python >=3.10 License CI (required) Container (optional) PR Gate Publish

YOLOZU at a glance

  • Framework-agnostic evaluation toolkit for vision models: designed for reproducible continual learning and test-time adaptation under domain shift.
  • Training-capable workflows for mitigating catastrophic forgetting: supports training and evaluation workflows based on self-distillation, replay, and parameter-efficient updates (PEFT). These approaches reduce forgetting and make it measurable and comparable across runs, though complete elimination is not guaranteed.
  • Support for inference-time adaptation (TTT): allows model parameters to be adjusted during inference, enabling continual adaptation to domain shift in deployment.
  • Predictions as the stable interface contract: treats predictions---not models---as the primary contract, making training, continual learning, and inference-time adaptation comparable, restartable, and CI-friendly across frameworks and runtimes.
  • Multi-task evaluation support: covers object detection, segmentation, keypoint estimation, monocular depth estimation, and 6DoF pose estimation. Training implementations remain configurable and decoupled, rather than fixed to a specific framework.
  • Production-ready deployment path: supports ONNX export and execution across PyTorch, ONNX Runtime, and TensorRT, with reference inference templates in C++ and Rust.
  • Interface-contract-first, AI-first workflow: every experiment emits versioned artifacts that can be automatically compared and regression-tested in CI.

Quickstart (run this first)

bash scripts/smoke.sh

Output artifact: reports/smoke_coco_eval_dry_run.json.

Docs index (start here): docs/README.md.

AI-friendly tool registry (source of truth): tools/manifest.json.

Tool list + args examples: docs/tools_index.md.

Learning features (training / continual learning / TTT / distillation): docs/learning_features.md.

Start here (choose 1 of 4 entry points)

  • A: Evaluate from precomputed predictions (no inference deps)predictions.json → validate → eval.
  • B: Train → Export → Eval (RT-DETR scaffold + run interface contract / Run Contract) — run artifacts → ONNX → parity/eval.
  • C: Interface contracts (predictions / adapter / TTT protocol) — schemas + adapter interface contract boundary + safe adaptation protocol.
  • D: Bench/Parity (TensorRT / latency benchmark) — parity checks + pinned-protocol benchmarks.

All four entry points are documented (with copy-paste commands) in docs/README.md.

CLI note:

  • yolozu ... is the pip/package CLI.
  • python3 tools/yolozu.py ... is the repo wrapper CLI.
  • For equivalent commands, swap only the executable (yolozupython3 tools/yolozu.py).

Key points

  • Bring-your-own inference → stable predictions.json interface contract.
  • Validators catch schema drift early.
  • Protocol-pinned export_settings makes comparisons reproducible.
  • Parity/bench quantify backend drift and performance.
  • Tooling stays CPU-friendly by default (GPU optional).
  • Apache-2.0-only ops policy is enforced in repo tooling.

Why YOLOZU?

YOLOZU standardizes evaluation around a predictions-first interface contract: run inference anywhere, export predictions.json (+ export_settings), then validate and evaluate with fixed protocols for reproducible comparisons.

Details: docs/yolozu_spec.md.

Install (pip users)

python3 -m pip install yolozu
yolozu --help
yolozu doctor --output -

Optional extras and CPU demos: docs/install.md.

Source checkout (repo users)

python3 -m pip install -r requirements-test.txt
python3 -m pip install -e .
python3 tools/yolozu.py --help
python3 -m unittest -q

Manual (PDF)

Printable manual source: manual/.

Support / legal

License

Code in this repository is licensed under the Apache License, Version 2.0. See LICENSE.

Project details


Download files

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

Source Distribution

yolozu-1.0.2.tar.gz (586.3 kB view details)

Uploaded Source

Built Distribution

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

yolozu-1.0.2-py3-none-any.whl (418.3 kB view details)

Uploaded Python 3

File details

Details for the file yolozu-1.0.2.tar.gz.

File metadata

  • Download URL: yolozu-1.0.2.tar.gz
  • Upload date:
  • Size: 586.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yolozu-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ca237b1031874c1b6a362bde48a157e0a721ee535561f490e0c70c931a4b64e7
MD5 87a5f2017876eda646b9f193df132bab
BLAKE2b-256 688c27d963c86c51903eb11eb4fe120e49ebe01c2b97cfb04bdc7dc7fb003de1

See more details on using hashes here.

Provenance

The following attestation bundles were made for yolozu-1.0.2.tar.gz:

Publisher: publish.yml on ToppyMicroServices/YOLOZU

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yolozu-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: yolozu-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 418.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yolozu-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d593e0b8d4b295bd4651d6c18d2fddb0dc97775f9722beee375c1931f9b5fc9e
MD5 1c6c1c0caa337ea896c02ee27018847b
BLAKE2b-256 63c07f62945c128ee67a383e8857a58fdf196e8e984edcdd7bcc013665033cbf

See more details on using hashes here.

Provenance

The following attestation bundles were made for yolozu-1.0.2-py3-none-any.whl:

Publisher: publish.yml on ToppyMicroServices/YOLOZU

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page