Visual saliency map generation interfaces and baseline implementations for explainable AI.
Project description
XAITK - Saliency
The xaitk-saliency
package is an open source, Explainable AI (XAI) framework
for visual saliency algorithm interfaces and implementations, built for
analytics and autonomy applications.
See here for a more formal introduction to the topic of XAI and visual saliency explanations.
This framework is a part of the Explainable AI Toolkit (XAITK).
Supported Algorithms
The xaitk-saliency
package provides saliency algorithms for a wide range of image understanding
tasks, including image classification, image similarity, object detection, and reinforcement learning.
The current list of supported saliency algorithms can be found here.
Target Audience
This toolkit is intended to help data scientists and developers who want to add visual saliency explanations to their workflow or product. Functionality provided here is both directly accessible for targeted experimentation, and through Strategy and Adapter patterns to allow for modular integration into systems and applications.
Installation
Install the latest release via pip:
pip install xaitk-saliency
Some plugins may require additional dependencies in order to be utilized at runtime. Such details are described here.
See here for more installation documentation.
Getting Started
We provide a number of examples based on Jupyter notebooks in the ./examples/
directory to show usage of the xaitk-saliency
package in a number of
different contexts.
Contributions are welcome! See the CONTRIBUTING.md file for details.
Documentation
Documentation snapshots for releases as well as the latest master are hosted on ReadTheDocs.
The sphinx-based documentation may also be built locally for the most up-to-date reference:
# Install dependencies
poetry install
# Navigate to the documentation root.
cd docs
# Build the docs.
poetry run make html
# Open in your favorite browser!
firefox _build/html/index.html
XAITK Saliency Demonstration Tool
This associated project provides a local web-application that provides a demonstration of visual saliency generation in a user-interface. This provides an example of how visual saliency, as generated by this package, can be utilized in a user-interface to facilitate model and results exploration. This tool uses the trame framework.
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
File details
Details for the file xaitk_saliency-0.8.2.tar.gz
.
File metadata
- Download URL: xaitk_saliency-0.8.2.tar.gz
- Upload date:
- Size: 34.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.19 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b30ceb0930d2ac0777d84b13e72a38e3acef9231a597ec7e4750b928495b8df |
|
MD5 | 5b6df21c0f2953d0c99ff0d647277cea |
|
BLAKE2b-256 | c02a07a9c45e2c986886e9d0e1e2f1e4aa7765724e2c571a72d2be8191f98a73 |
File details
Details for the file xaitk_saliency-0.8.2-py3-none-any.whl
.
File metadata
- Download URL: xaitk_saliency-0.8.2-py3-none-any.whl
- Upload date:
- Size: 54.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.8.19 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fcbf7ec7b4c553bb31c46d2f792868ecb9c8a1d0a858822b998d075368af33c |
|
MD5 | fdda7d3b3f93ad4126c60827b179a3fb |
|
BLAKE2b-256 | 78efcaff313c7315d58ed863ee7e00758256ffb9631010280315da4b98bf4244 |