Skip to main content

MLCVZoo MMDetection

The MLCVZoo is an SDK for simplifying the usage of various (machine learning driven) computer vision algorithms. The package mlcvzoo_mmdetection is the wrapper module for the mmdetection framework.

Install

NOTE: For some panoptic segmentation models of mmdetection you need to have the panopticapi installed. How this is handled in mlcvzoo-mmdetection is listed below. Otherwise you will get an ImportError.

Install for developer

Clone repository

cd YOUR_PATH
git clone git@git.openlogisticsfoundation.org:silicon-economy/base/ml-toolbox/mlcvzoo-models/mlcvzoo-mmdetection.git
cd mlcvzoo-mmdetection

Create and install python environment

virtualenv .venv
source .venv/bin/activate

# Install dependencies with all extras (including panopticapi)
source build.sh

For VSCode IDE add the relevant environment variables in .venv/bin/activate.

export PYTHONPATH=PARENT_OF_YOUR_REPOSITORY
# The MMDETECTION_DIR is needed in our unit tests for defining the
# path to the configuration files of mmdetection. Since mmdet v2.15.0
# the configuration are stored in the mmdet/.mim/ folder of the installed
# mmdet package in your python environment. For older versions a specific checkout
# is needed.
export MMDETECTION_DIR="$VIRTUAL_ENV/lib/python3.10/site-packages/mmdet/.mim/"

If you want to use the complete functionality of this module including model deployment, you must additionally clone the mmdeploy framework. After cloning the repository, add the environment variable MMDEPLOY_DIR to .venv/bin/activate and set it to the path of the mmdeploy repository.

Install for package users

The following command installs the mlcvzoo-mmdetection package, however we recommend to have a look at the build.sh script. It is gathering all fixes that are needed to setup a running python environment.

pip install mlcvzoo-mmdetection

NOTE: In order to use panoptic segmentations you have to install the following, as specified by mmdetection:

pip install panopticapi @ git+https://github.com/cocodataset/panopticapi.git@7bb4655548f98f3fedc07bf37e9040a992b054b0

Further documentation

Technology stack

  • Python

Metadata

Release files for mlcvzoo-mmdetection 6.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mlcvzoo-mmdetection 6.9.0
File Size Uploaded Provenance Actions
mlcvzoo_mmdetection-6.9.0.tar.gz 28.8 kB Without provenance Details for mlcvzoo_mmdetection-6.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mlcvzoo-mmdetection 6.9.0
File Interpreter ABI Platform Actions
mlcvzoo_mmdetection-6.9.0-py3-none-any.whl Python 3 none any Details for mlcvzoo_mmdetection-6.9.0-py3-none-any.whl

Total release size: 61.8 kB

Release files / mlcvzoo_mmdetection-6.9.0.tar.gz

Download URL mlcvzoo_mmdetection-6.9.0.tar.gz
Size 28.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c4f125384ad982de94dfbe7f87e9ae835a984273f7c71e69e42edbc3447ab560
BLAKE2b-256 checksum
How to use checksums
a70c78cb6b9def589a64b03f21a6a016c8d13ecf2d2eee84ccdd95253af78806
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / mlcvzoo_mmdetection-6.9.0-py3-none-any.whl

Download URL mlcvzoo_mmdetection-6.9.0-py3-none-any.whl
Size 33.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
689f184b91a3dab30f7b0d415236075ff40fd451437cc2f09d6d795a3f22dfd8
BLAKE2b-256 checksum
How to use checksums
266f2079cf6690a6b7e7d5d6fba2f6d58162a3fba429dc67d3c18055e18f0b08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for mlcvzoo-mmdetection 6.9.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page