Skip to main content

Component interfaces of the MAMMOth fairness toolkit.

Project description

MAMMOth-commons

Integration Tests Coverage

Fast module development for the MAMMOth fairness toolkit. Modules refer to model loaders, dataset loaders, or metrics. The library holds common datatypes that are shared between modules, and automates the integration strategy by only needing to add a decorator. It also provides integration tests, as well as a lightweight demonstrator that is a thinned down version of the toolkit.

Some demonstration data are large and stored with LFS. Here is how to clone this repo without retrieving those files. You can pull them on demand.

Linux

GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/mammoth-eu/mammoth-commons.git
git lfs pull --include "./data/torch_model/ir50_adaface.pth"  # get a large file from lfs

Windows

set set GIT_LFS_SKIP_SMUDGE=1
git clone https://github.com/mammoth-eu/mammoth-commons.git
git lfs pull --include "./data/torch_model/ir50_adaface.pth"  # get a large file from lfs

:microscope: Investigate fairness

Instructions to quickly launch and install the demonstrator web application locally in your machine:

  1. Download this repository.
  2. Create a virtual environment. This is optional but recommended.
  3. Install dependencies with pip install -r requirements[test].txt. This can take a bit of time to download and install everything, but you will be able to run all modules and interface with most popular data types.
  4. Launch the local app server with python demonstrator/app.py. When everything is ready, this script will also open a browser window to the app's serving page at http://localhost:5050.

:clipboard: Catalogue

Find a catalogue of modules implemented by the MAMMOth consortium here. These modules are developed by and depend on datatypes found in the main commons library that resides under this repo's mammoth/ directory.

:thumbsup: Contributing

Instructions on how to add new modules are here. Use the GitHub issue tracker to ask questions, request features/improvements for the core library or modules, or report bugs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

MAMMOth_commons-0.0.30-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file MAMMOth_commons-0.0.30-py3-none-any.whl.

File metadata

File hashes

Hashes for MAMMOth_commons-0.0.30-py3-none-any.whl
Algorithm Hash digest
SHA256 34350929736ad401e0330b218716f9f27b6a459f1b819dcc6bec7261fec568a6
MD5 923ac51c30c204b4b3a4118c4505e6c1
BLAKE2b-256 ca25ea3abefd6cc92662f465f662f793d3505ac6d6456f49059cfc12cb9866d9

See more details on using hashes here.

Supported by

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