Skip to main content

Playground ML Unified Microlib Set: The Playground ML python toolbox package

Project description

PLUMS

PLaygroundML Unified Microlib Set : The Playground ML python toolbox package

pyversions License

The Plums library set aims to defined a common set of packages to be used by people involved in thePlaygroundML team.

Those packages puropose is to set a unique baseline to help make the code base more unified and avoid countless reimplementation of the same tools which in turns make people waste time and make the code base herd to understand, debug and reuse.

Installation is simple with PyPI repository:

pip install plums

[TODO] More information on installation can be found in the Getting Started section of the documentation.

Documentation and tests specific dependencies can be installed with the docs and tests extra keywords respectively.

Packages

Commons

The Plums commons package aims to offer a set of lightweight highly reusable classes and utilities for all other packages.

To import do:

import plums.commons

Plot

The Plums plot package aims to offer a set of lightweight highly reusable classes and utilities for visualizing detection and segmentation results.

To import do:

import plums.plot

Model

The Plums model package aims to offer a framework-agnostic model format specification (the Plums Model Format) along with its python representation and helper implementation to ease integration into producer and consumer codebases.

To import do:

import plums.model

Dataflow

I/O operations and efficient dataset iteration and indexing handling.

To import do:

import plums.dataflow

Objectives

Dataflow

Dataflow elements to speedup future developements: e.g. Dataset classes, Sampler and/or Dataloader (?) and handle augmentation (imgaug, albumentation, pure numpy ?)

  • Python representation of data elements (e.g. Annotation, Feature, Image, Datapoint...)
  • Dataset classes for playground datasets
  • TranformedDataset-like classes to manipulate, combine and transform (e.g. augmentations) datasets in an online fashion
  • Sampler and BatchSampler classes to port PyTorch functionalities into Keras and build upon them

Data-preparation

  • Loop through datasets in a multi-threaded or multi-processed fashion
  • Some convenient data-preparation functions such as image transformations or annotations refinement
  • Some convenient statistic and analysis tools

Visualisation

  • Plot annotation on image
  • Handle single image and image grids
  • Plot differentials and/or superposition of annotations on same images
  • Handle multiple color code mode, e.g.:
    • By label
    • By confidence
    • By size
    • By type (in differential plotting)
    • And possibly combination of examples above (e.g. Color by label and shades by confidence)

Model Format (UMF like ?)

  • Python representation of a model and its format components
  • IO functionalities, e.g.:
    • Save a model (as collect disparate resources into a coherent model directory w/ metadata)
    • Load a model (as create a Python model representation w/ metadata from a model directory)
    • Verify an existing model directory
    • Copy and/or prune a model

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

plums-0.5.2.tar.gz (286.2 kB view details)

Uploaded Source

Built Distribution

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

plums-0.5.2-py2.py3-none-any.whl (313.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file plums-0.5.2.tar.gz.

File metadata

  • Download URL: plums-0.5.2.tar.gz
  • Upload date:
  • Size: 286.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for plums-0.5.2.tar.gz
Algorithm Hash digest
SHA256 826be7f735389f90216ba498c8fd63054204da2578e6ab2a8009d835a33bc944
MD5 52a2a874a293549731714b8925bccbf5
BLAKE2b-256 5ec76c1d709085e2a3772120b7e54d063cde26454b46e663d11f05edd2219b95

See more details on using hashes here.

File details

Details for the file plums-0.5.2-py2.py3-none-any.whl.

File metadata

  • Download URL: plums-0.5.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 313.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for plums-0.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c31160e24c8ecf1ac5f01924eba5e0f3bd758d4bc313d6c516562427e5e14848
MD5 773c4055908dddf6e34a9641ebd02142
BLAKE2b-256 a10ab6b180702e6831fae61e11145e06280616eee544b5db40abb8e174ce6953

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