Skip to main content

Detecting single objects in images based on bounding boxes.

Project description

Experimentation Example

Workflow

  1. 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
  2. Other added data should be manually versioned using dvc add datapath
  3. Reproduce current model training and evaluation using dvc repro.
  4. Alter dvc.yaml for new data input paths, or params.yaml for 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-python to be set to true.

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

single_object_detection-0.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

single_object_detection-0.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

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

Hashes for single_object_detection-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1a3ed8ff613a77ef6d6ad3d6b51677df2d419dcf34280a7a0a1ac9ff3ce47548
MD5 df5282f4ae3c58811fb68980eb65657e
BLAKE2b-256 8601a8701d104a9dd9b526d15eb69bb6415de3b947d2a47e747227e8acfa7f49

See more details on using hashes here.

File details

Details for the file single_object_detection-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for single_object_detection-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2dc2aa527df1355586bbca52b16c09906b8a1d735f884706585e0dc4ad3ec389
MD5 c7b1d2b73c369a3db812c42c6370c7e8
BLAKE2b-256 e02fc159415261572b47835d6dcaf923997ddd96bd9cd88381ee506187a81b63

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page