Skip to main content

you only glance once

A version of the YOLO architecture (versions 1 through 3), optimized for inference speed on simple object detection problems. Designed for the remoscope project by the bioengineering team at the Chan-Zuckerberg Biohub SF.

Our yogo manuscript is currently in preparation - stay tuned!

Install

With Python versions >= 3.9 and < 3.11, you can install yogo with pip

python3 -m pip install -e .

Basic usage

$ yogo train path/to/dataset-definition-file.yml  # train your model!
$ yogo infer path/to/model.pth  # use your model!
$ yogo export path/to/model.pth  # use your model somewhere else!
$ yogo test path/to/model.pth path/to/dataset-definition-file. # test your model!
$ yogo --help  # all the other details are here :)

We're using Weights and Biases for run tracking. But, note that you do not need a W&B account to run anything! Runs that are started without an account are logged to an anonymous page. If you do decide to start with W&B, look here. Anonymous runs can be claimed later.

Further, we currently only support GPU training, since we use Torch's Distributed Data Parallel.

[!NOTE] Installing Openvino on Apple Silicon is a little involved. Here is Openvino's guide to installation. You can also use a Linux VM or Docker.

Docs

Documentation for YOGO. If you want documentation in a specific area, let us know!

  • recipes.md has the basics of using YOGO in your own code
  • cli.md is a short guide on how to use YOGO from the command line (via yogo)
  • yogo-high-level.md is a high level guide of the YOGO architecture
  • dataset-definition.md defines the dataset description files, the files YOGO uses to define datasets for training

Contributing Guidelines

Please run ./prepush.sh before pushing. It runs mypy, ruff, black and pytest.

When creating issues or pull requests, please be detailed. What exact commands were you running on what computer to get your issue? What exactly does your PR contribute and why is it necessary?

Metadata

Release files for yogo 1.0.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 yogo 1.0.0
File Size Uploaded
yogo-1.0.0.tar.gz 58.3 kB Details

Built distribution (wheel)

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

Total release size: 119.4 kB

Release files / yogo-1.0.0.tar.gz

Download URL yogo-1.0.0.tar.gz
Size 58.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fa033ec720f5adcd851ea8324827ac7552b69378dfc19f0c0af6b576f5a5fe53
BLAKE2b-256 checksum
How to use checksums
8ed55b539ae8846efe428e78e13fb19223223809f410bfbc87d092cd385d4971
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.14

Release files / yogo-1.0.0-py3-none-any.whl

Download URL yogo-1.0.0-py3-none-any.whl
Size 61.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84c9eab51081016869455b7707811539217a9da505fa84766c5f82dfdf92ec7a
BLAKE2b-256 checksum
How to use checksums
8784037a70e9e57aa921de32bd751cc1ed584c3b52aa4277e83d1df6456da3c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.14

Release history Release notifications | RSS feed

This release

1.0.0 This release

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