Skip to main content

Visualization exploration for AI/XAI

Project description

Example application using trame for exploring MNIST dataset in the context of AI training and XAI thanks to XAITK.

Installing

For the Python layer it is recommended to use conda to properly install the various ML packages.

conda setup on macOS

Go to conda documentation for your OS

brew install miniforge
conda init zsh

venv setup for AI

# Needed in order to get py3.9 with lzma
# PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.9.9

conda create --name trame-mnist python=3.9
conda activate trame-mnist
conda install "pytorch==1.9.1" "torchvision==0.10.1" -c pytorch
conda install scipy "scikit-learn==0.24.2" "scikit-image==0.18.3" -c conda-forge

# For development when inside repo
pip install -e .

# For testing (no need to clone repo)
pip install trame-mnist

Running the application

conda activate trame-mnist
trame-mnist

If cuda is available, the application will use your GPU, but you can also force the usage of your cpu by adding to your command line the following argument: –cpu

image_1 image_2 image_3

License

trame-mnist is distributed under the OSI-approved BSD 3-clause License.

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

trame-mnist-2.0.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

trame_mnist-2.0.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file trame-mnist-2.0.0.tar.gz.

File metadata

  • Download URL: trame-mnist-2.0.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for trame-mnist-2.0.0.tar.gz
Algorithm Hash digest
SHA256 35290c556c0a3b7afebc42fbfde3ccfe5c8caa01919137874af2deb2d7fa55ab
MD5 bffa8bdd73cf460f67848995a2d95cf8
BLAKE2b-256 6c867b29a2033f86c2c4f697fd497b7abf25b481bc84be1f37aa54b8d1acfed9

See more details on using hashes here.

File details

Details for the file trame_mnist-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: trame_mnist-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for trame_mnist-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c899f2791c1610bd10653279ca5eea2c8a6735c5b353842f7fb31fcdcb91830e
MD5 9796da00f28c4eeb5daa6e3042038885
BLAKE2b-256 f08f3a300737f15d10895d9a79aba10d9f961fb5167a79974d53527dbabebb20

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