Skip to main content

Dynamic Ensemble Selection framework for image classification

Project description

VisionDES

Robust and Explainable Dynamic Vision Ensemble

Python PyPI License

Installation

pip install vision-des

Quick Start

Create a Pool of Models

pool = [
    resnet50,
    efficientnet,
    convnext
]

Initialize VisionDES

from vision_des import VisionDES

des = VisionDES(
    dsel_dataset=dsel_dataset,
    pool=pool,
    device="cuda"
)

Build the Retrieval Index

des.fit()

Predict

prediction = des.predict(
    test_image,
    k=7
)

Explainable Inference

prediction = des.predict(
    test_image,
    k=7,
    explain=True
)

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

vision_des-0.0.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

vision_des-0.0.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file vision_des-0.0.2.tar.gz.

File metadata

  • Download URL: vision_des-0.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for vision_des-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ed8afb53b1e962896499c1cf02762b87a22da0354f8b890fe0c83adadf1e77df
MD5 9f98c1fd18806db79ea882affca037ab
BLAKE2b-256 9632c69ca89bca72eecded2c8b600de06a3ede7d5af81e5501fc612a482ee296

See more details on using hashes here.

File details

Details for the file vision_des-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: vision_des-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for vision_des-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 95ab66af5dcdd7390af947863fbe5a9abed5a07032d130fb604427007ccd9009
MD5 9faee2b37cf2402d0851f4c6707f8f67
BLAKE2b-256 8b448c63ef9eaae20e5065d24113bdf2f338de7ec643451966dd81a98b68affd

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