Skip to main content

YOLO

Ultralytics YOLO:

Deployment

Classifier

  1. Create a worker using the Arkindex frontend. You can set whatever name/slug/type. We'll use:
    • Name: YOLO Classifier
    • Slug: yolo-classifier
    • Type: classifier
  2. Import a new version for that worker with the following settings:

Segmenter

  1. Create a worker using the Arkindex frontend. You can set whatever name/slug/type. We'll use:
    • Name: YOLO Segmenter
    • Slug: yolo-segmenter
    • Type: image-segmenter
  2. Import a new version for that worker with the following settings:

Models

You can use freely available open-source models provided by Ultralytics:

  1. Create a directory where you'll download a model: mkdir yolo-model
  2. Download model weights using one of the links from the webpage above, and rename it model.pt:
curl -L https://github.com/ultralytics/assets/releases/download/v8.2.0/yolov8s-world.pt > yolo-model/model.pt
  1. Write a .arkindex.yml with the following content, updating the name to match your model:
version: 2

models:
  - path: yolo-model
    name: YOLOv8s-Monde
  1. Upload the model using Arkindex CLI: arkindex models publish
  2. The model is now available on your Arkindex instance!

Development

For development and tests purpose it may be useful to install the worker as a editable package with pip.

pip install -e .

Linter

Code syntax is analyzed before submitting the code.
To run the linter tools suite you may use pre-commit.

pip install pre-commit
pre-commit run -a

Run tests

Tests are executed with tox using pytest.

Tests are executed with tox using pytest. We recommend installing it with tox-uv, like it is done in CI, to allow faster tests execution.

pip install tox-uv
uv tool install tox --with tox-uv
tox

To recreate tox virtual environment (e.g. a dependencies update), you may run tox -r

Release files for teklia-yolo-worker 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for teklia-yolo-worker 1.4.1
File Size Uploaded
teklia_yolo_worker-1.4.1.tar.gz 30.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for teklia-yolo-worker 1.4.1
File Interpreter ABI Platform
teklia_yolo_worker-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 68.7 kB

Release files / teklia_yolo_worker-1.4.1.tar.gz

Download URL teklia_yolo_worker-1.4.1.tar.gz
Size 30.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2cae8afb8b647b0a32c0017214784afd4c7ea0703dd1ac12c70214b65296800b
BLAKE2b-256 checksum
How to use checksums
6bda0cd8e707a655c8314b65ed7c8093173bbc0fb2b81dd12d65e9eef98b8081
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / teklia_yolo_worker-1.4.1-py3-none-any.whl

Download URL teklia_yolo_worker-1.4.1-py3-none-any.whl
Size 38.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c24a3f9f5c653a2ad1eb096a397b3d1c2487c0dcc4f902bdc0ab06ad6a9ab40
BLAKE2b-256 checksum
How to use checksums
3d93b67d5b85557dffd3dca83075b27163fea70d365d5b8b75c8d1872384bcc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

1.3.3

2 release files

1.3.1

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

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