aashish24 / trame-mnist

Experimentation with AI and trame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Experimentation with AI and trame

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 96.8%Language:Shell 2.5%Language:Dockerfile 0.8%