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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d670d1e6115b7da865c2e814c2fa5086170335df61e7e331f23f1ad05300dc44
|
|
| MD5 |
0144b5fed20c4460613f1dacd71bd222
|
|
| BLAKE2b-256 |
8b1109471f434bc5d85e9e0843fc5f2a0fb7fb8c6e4b4dd0716b649af596bfb8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56748ac9d69b64e4c4392a16cd8b5fedb1b47ea94816b1b4c1d7cd378ff91851
|
|
| MD5 |
4970ffa932ed47e1f1318c7c7594463e
|
|
| BLAKE2b-256 |
777a5c1ac0438c2f06a3a734a3d78146dedbded7f30b276ed9a63bf0295e7801
|