Skip to main content

Trame MNIST

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.

macOS conda setup

brew install miniforge
conda init zsh

venv creation 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
pip install -e .

# For testing
pip install trame-mnist

Run the application

conda activate trame-mnist
trame-mnist

Deploying new version

This assume you have twine available within your python environment and updated the package version inside setup.cfg

rm -rf dist build

python setup.py sdist bdist_wheel
twine check dist/*
twine upload dist/*

Metadata

Release files for trame-mnist 1.1.0

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 1.1.0
File Size Uploaded
trame-mnist-1.1.0.tar.gz 13.9 kB Details

Built distribution (wheel)

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

Total release size: 30.4 kB

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

Download URL trame-mnist-1.1.0.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b0688631325dfffdb55db4ff5f8ab235ac583ffa9c625785c902dc1cd234594a
BLAKE2b-256 checksum
How to use checksums
2e4ba82be641f7bd182dc6f7ddf20acbe4d7e7a6b1a4d5c79368217aaf5cd961
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL trame_mnist-1.1.0-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e49643b251ff68d2470234b6744357541981cba28d85e5691327568f322d3025
BLAKE2b-256 checksum
How to use checksums
4afcfd0eb7b2e8087296c10344c00c413fdcc2ec75c333942f9e31c9e6944d38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release history Release notifications | RSS feed

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

This release

1.1.0 This release

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