Ultralytics YOLO
Project description
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.0.7 - 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.0.7 - 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.
pip install tox
tox
To recreate tox virtual environment (e.g. a dependencies update), you may run tox -r
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file teklia_yolo_worker-1.2.7.tar.gz.
File metadata
- Download URL: teklia_yolo_worker-1.2.7.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36065580b163910fa3dda7ae9662f353e92c7df82c970d8d4ba78e32245c56e2
|
|
| MD5 |
5c669c6a75a2323ba37aa9a9ed12f616
|
|
| BLAKE2b-256 |
b4a00b2a8c42a0ccfbde8100f581caad0721a497ebf1df21b520242397d6c42e
|
File details
Details for the file teklia_yolo_worker-1.2.7-py3-none-any.whl.
File metadata
- Download URL: teklia_yolo_worker-1.2.7-py3-none-any.whl
- Upload date:
- Size: 40.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b99f6b257fd3ac176377c912d7cef9c238677aa37dcffffa8df570dc9ab5ac74
|
|
| MD5 |
6989086ac1b190d7bcb7f7a335bbef6d
|
|
| BLAKE2b-256 |
0f61fa3ab589b62fb842fef23b92c3afb97fb37fd8231d3c0f9ffe088e9f6123
|