Skip to main content

manot

pypi versions license

The manot SDK is a wrapper on top of our API to make it easier to work with our model performance monitoring system. Using our SDK you can quickly set up your project by defining a few key parameters, including the paths to your data, classes and model. Once the project is set up you will be able to use the insight method to extract outliers that manot has detected on the new unstructured data that the performance of the model is evaluated on.

Installation

Install manot with pip:

pip install manot

Example

This is an example how to start:

from manot import manotAI

manot = manotAI("manot_service_url", "token")
setup = manot.setup(
    name="setup_example",
    images_path="/path/to/images",
    ground_truths_path="/path/to/labels",
    detections_path="/path/to/detections",
    detections_metadata_format="xyx2y2",  # it must be one of "xyx2y2", "xywh", or "cxcywh"
    classes_txt_path="/path/to/classes.txt",
    data_provider="local"  # it must be "s3" or "local"
)
print(setup)
# {"id": setup_id, "name": "setup_example", "status": "started"}

setup_info = manot.get_setup(setup["id"])
# when setup is successfully finished, then setup_info is {"id": setup_id, "name": "setup_example", "status": "started"}
insight = manot.insight(
    name="insight_example",
    setup_id=setup["id"],
    data_path="/path/to/data",
    data_provider="local"  # it must be "s3" or "local"
)
print(insight)
# {"id": insight_id, "name": "insight_example", "status": "started"}

insight_info = manot.get_insight(insight["id"])
# when setup is successfully finished, then insight_info is {"id": insight_id, "name": "setup_example", "status": "started"}
manot.visualize_data_set(insight_info['data_set']['id'])

Resources

Download files

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

Source Distribution

manot-0.1.12.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

manot-0.1.12-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file manot-0.1.12.tar.gz.

File metadata

  • Download URL: manot-0.1.12.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for manot-0.1.12.tar.gz
Algorithm Hash digest
SHA256 8ada24a42300153f6a9d875876761d98e8d2696df90a51b332de8fbfe70af5db
MD5 259877e4f8d0112324ad3454819032fb
BLAKE2b-256 5f79887010d88b85f334d88b6aed1ed5e861bb9b0e47d5b3ef41d931f8770b34

See more details on using hashes here.

File details

Details for the file manot-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: manot-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for manot-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 aba37c4ee5c90243b5ae41e6e412100f3c0f04f37342600e6439e8effdfc175f
MD5 6116ebfe65d3c4cb0096ae80f1dad4dc
BLAKE2b-256 9c4395d9ae93327e4c6a372e3026f80f5f5fe2e2f9e3a106efd79c119da59ed0

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