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.0.2

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

Built distribution (wheel)

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

Total release size: 30.3 kB

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

Download URL trame-mnist-1.0.2.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b8a4bcbf2f8d35db13f5ff848eff30031937e1c98ba3fbbc1d4cb5d328d20709
BLAKE2b-256 checksum
How to use checksums
c3cbf9258a5816d73a559f48014fdf292fd5ea55f39344e70414d263a679aafd
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.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

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

Download URL trame_mnist-1.0.2-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2885df81417f99b6e5c899e8788baefb46d6193e125b5a0d682bc34dd94fb7d7
BLAKE2b-256 checksum
How to use checksums
fde9f68df0876a426290d6bb66225ec37a06f895ea7b0d9f2787aaba8fab922c
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.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

Release history Release notifications | RSS feed

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.1.0

2 release files

This release

1.0.2 This release

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