YOLO
Ultralytics YOLO:
Deployment
Classifier
- 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
- Name:
- Import a new version for that worker with the following settings:
- Docker image reference (from this registry):
registry.gitlab.teklia.com/workers/yolo:1.3.0 - YAML configuration: Paste the contents of the arkindex/yolo-classifier.yml file found in this repository.
- Docker image reference (from this registry):
Segmenter
- 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
- Name:
- Import a new version for that worker with the following settings:
- Docker image reference (from this registry):
registry.gitlab.teklia.com/workers/yolo:1.3.0 - YAML configuration: Paste the contents of the arkindex/yolo-segmenter.yml file found in this repository.
- Docker image reference (from this registry):
Models
You can use freely available open-source models provided by Ultralytics:
- Create a directory where you'll download a model:
mkdir yolo-model - 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
- Write a
.arkindex.ymlwith the following content, updating thenameto match your model:
version: 2
models:
- path: yolo-model
name: YOLOv8s-Monde
- Upload the model using Arkindex CLI:
arkindex models publish - 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. 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
Metadata
Release files for teklia-yolo-worker 1.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| teklia_yolo_worker-1.4.3.tar.gz | 30.4 kB | Without provenance | Details for teklia_yolo_worker-1.4.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| teklia_yolo_worker-1.4.3-py3-none-any.whl | Python 3 | none | any | Details for teklia_yolo_worker-1.4.3-py3-none-any.whl |
Total release size: 68.3 kB
Release files / teklia_yolo_worker-1.4.3.tar.gz
| Download URL | teklia_yolo_worker-1.4.3.tar.gz |
|---|---|
| Size | 30.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3408ec212de99c9206ec8036275950194763c1a7b8acb4c87e2de03b48de859d
|
|
BLAKE2b-256 checksum How to use checksums |
b37571098e79890323c468b6443240385a06fd21d20b9f0207aa97b902650cab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / teklia_yolo_worker-1.4.3-py3-none-any.whl
| Download URL | teklia_yolo_worker-1.4.3-py3-none-any.whl |
|---|---|
| Size | 37.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f48b9f132b5722dd3f0ddafbf9bda0a0b43336932dce2d356209e415e022ec79
|
|
BLAKE2b-256 checksum How to use checksums |
17a193e4bb89514819447de5c86c63a857ac484361bd17af7615bbe8488ff895
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for teklia-yolo-worker 1.4.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.