MLCVZoo MMDetection Package
Project description
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/"
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
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
Hashes for mlcvzoo_mmdetection-6.7.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ad5b02014e13cb1405836326088d24187171fea7834dabe6b0bf443e6951e72 |
|
MD5 | 631f41df0ce47a7db7822eff9b01f41d |
|
BLAKE2b-256 | 32dc3934e2b1136d8dd5a9c91e7ce7aa5d2161260a38691cb5b0eae29bd77657 |
Hashes for mlcvzoo_mmdetection-6.7.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 548ec0337d11790af6fbc4cf4614ce2a313745f6c5f8fc859057ad8bdffb01cd |
|
MD5 | 80ab945970c3526c05c93c6b1cdf2c9b |
|
BLAKE2b-256 | 10e6c46e9758f7874567da4433a5f7854bb75c33134a14bcf96e2e6531d3a5df |