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.
Free software: BSD License
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/*
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-1.0.2.tar.gz
(13.9 kB
view hashes)
Built Distribution
Close
Hashes for trame_mnist-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2885df81417f99b6e5c899e8788baefb46d6193e125b5a0d682bc34dd94fb7d7 |
|
MD5 | 3ddfa5b1c316f30c59efd465629cb117 |
|
BLAKE2b-256 | fde9f68df0876a426290d6bb66225ec37a06f895ea7b0d9f2787aaba8fab922c |