Scripts to train and evaluate YOLOv8 models
Project description
YOLO
Scripts to train and evaluate YOLOv8 models. Read the official documentation of this library at https://dla.pages.teklia.com/yolo/.
It is licensed under the AGPL-v3 license.
Development
For development and tests purpose it may be useful to install the project as a editable package with pip.
- Use a virtualenv (e.g. with virtualenvwrapper
mkvirtualenv -a . yolo
) - Install yolo as a package (e.g.
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.
To install tox
,
pip install tox
tox
To reload the test virtual environment you can use tox -r
Run a single test module: tox -- <test_path>
Run a single test: tox -- <test_path>::<test_function>
Documentation
Add the docs
extra when installing teklia-yolo
through, to install the needed dependencies:
pip install .[docs]
Build the documentation using mkdocs serve -v
. The documentation should be available as http://localhost:8000.
Writing documentation
This documentation uses Sphinx and was generated using mkdocs and mkdocstrings.
Linting
This documentation is subject to linting using doc8, integrated into pre-commit.
The linting rules that doc8 applies can be found on its documentation.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file teklia_yolo-0.1.0.tar.gz
.
File metadata
- Download URL: teklia_yolo-0.1.0.tar.gz
- Upload date:
- Size: 50.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e222ffa624a9493728f6f780a136180bfb7d13f81ad4c8d7e35cf2f543aa740d |
|
MD5 | 26287d6b2ecf1e8b96a641403c7406c5 |
|
BLAKE2b-256 | f642c804d02c387561964fd0def525f42511d71bd8caeab6b18f817c07a94aea |
File details
Details for the file teklia_yolo-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: teklia_yolo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 41.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e11f79f69b540a002a9463826fa0ec346f7f2f413ca9cbea942ff75a9e3d6bc7 |
|
MD5 | 9887e0e58ed3a27eb37bd0863c91f7ff |
|
BLAKE2b-256 | 16bad951a3c8e2de6ab2f19553d05736543ab98ee9e51739264c512923dfa83b |