Skip to main content

A Python Library to Evaluate Interactive Segmentation Models

Project description

isegeval

This is a library to evaluate click-based interactive segmentation models. isegeval could evaluate the number of click (NoC) performance of the given model on the given dataset.

Usage

You could evaluate your model as follows. See notebooks for more detail.

from isegeval import evaluate
from isegeval.core import ModelFactory


# Each item is the tuple of an image and its correspoinding ground truth mask.
dataset: Sequence[tuple[np.ndarray, np.ndarray]] = YourDataset()

# A factory of your model that you want to evaluate. The factory should implement get_model method.
model_factory: ModelFactory = YourModelFactory()

evaluate(dataset, model_factory)

Installation

pip install isegeval

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

isegeval-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

isegeval-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file isegeval-0.1.0.tar.gz.

File metadata

  • Download URL: isegeval-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for isegeval-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d670d1e6115b7da865c2e814c2fa5086170335df61e7e331f23f1ad05300dc44
MD5 0144b5fed20c4460613f1dacd71bd222
BLAKE2b-256 8b1109471f434bc5d85e9e0843fc5f2a0fb7fb8c6e4b4dd0716b649af596bfb8

See more details on using hashes here.

File details

Details for the file isegeval-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: isegeval-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for isegeval-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56748ac9d69b64e4c4392a16cd8b5fedb1b47ea94816b1b4c1d7cd378ff91851
MD5 4970ffa932ed47e1f1318c7c7594463e
BLAKE2b-256 777a5c1ac0438c2f06a3a734a3d78146dedbded7f30b276ed9a63bf0295e7801

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