Detecting single objects in images based on bounding boxes.
Project description
Experimentation Example
Workflow
- Import required data via versioned repository.
dvc import https://git.inf.h-brs.de/mi-project/demo-pipeline/data-annotation-example data/field_A/2023/ -o data/field_A/2023 - Other added data should be manually versioned using
dvc add datapath - Reproduce current model training and evaluation using
dvc repro. - Alter
dvc.yamlfor new data input paths, orparams.yamlfor different training configuration.
Tools
DVC
Data Versioning and Reproducible pipelines.
MLFlow
Experiment tracking and model registry.
Pre Commit Hooks
Clear formated and linted code.
Containerization - Docker
Platform independence.
TODO: Create an executable container, which is callable like a script. (Similar to max postprocessing pipeline.) A continuously running service is currently not required.
Insights
-
VirtualEnv Always install virtualenv with
python -m venv. Else weird behavior can happen. e.g.virtualenv venv -
MLFLow pyfunc Loaded model expects input in numpy format, instead of torch tensors.
-
DVC and MLFlow integration MLflow generates random run_ids, which need to be tracked if reproducible pipelines should be set up with dvc. Direct integration was not possible, therefore a workaround with a temporary file had to be implemented.
The output of the training stage is currently not tracked.
- Poetry python version management
Poetry natively tries to use the same python versioned used for its installation.
Python version management with pyenv requires the experimental parameter
virtualenvs.prefer-active-pythonto be set to true.
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
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 single_object_detection-0.1.1.tar.gz.
File metadata
- Download URL: single_object_detection-0.1.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.0 Linux/6.5.0-35-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a3ed8ff613a77ef6d6ad3d6b51677df2d419dcf34280a7a0a1ac9ff3ce47548
|
|
| MD5 |
df5282f4ae3c58811fb68980eb65657e
|
|
| BLAKE2b-256 |
8601a8701d104a9dd9b526d15eb69bb6415de3b947d2a47e747227e8acfa7f49
|
File details
Details for the file single_object_detection-0.1.1-py3-none-any.whl.
File metadata
- Download URL: single_object_detection-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.0 Linux/6.5.0-35-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dc2aa527df1355586bbca52b16c09906b8a1d735f884706585e0dc4ad3ec389
|
|
| MD5 |
c7b1d2b73c369a3db812c42c6370c7e8
|
|
| BLAKE2b-256 |
e02fc159415261572b47835d6dcaf923997ddd96bd9cd88381ee506187a81b63
|