Skip to main content

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.

Metadata

Release files for trame-mnist 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trame-mnist 2.0.1
File Size Uploaded
trame-mnist-2.0.1.tar.gz 14.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for trame-mnist 2.0.1
File Interpreter ABI Platform
trame_mnist-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 31.7 kB

Release files / trame-mnist-2.0.1.tar.gz

Download URL trame-mnist-2.0.1.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5b807079c3531f5659edf713e270366e87b530911d4809496bb6a18575726501
BLAKE2b-256 checksum
How to use checksums
928fa701cfa4ab720fb5f693c210328b27789cdc079691b32fb5d9965660df2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Release files / trame_mnist-2.0.1-py3-none-any.whl

Download URL trame_mnist-2.0.1-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee8bf63f1cdba92faf46183bbdb75536c13bf1624e2ea5fa3d614d70fc5d94c1
BLAKE2b-256 checksum
How to use checksums
9fb0d098b9407ae69e5092adb27584580a51b0a09bfaa725ae2f2b7414c3f1e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Release history Release notifications | RSS feed

2.1.0

2 release files

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page