Trame MNIST
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.
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
License
trame-mnist is distributed under the OSI-approved BSD 3-clause License.
Metadata
Release files for trame-mnist 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trame-mnist-2.0.0.tar.gz | 14.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trame_mnist-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.5 kB
Release files / trame-mnist-2.0.0.tar.gz
| Download URL | trame-mnist-2.0.0.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35290c556c0a3b7afebc42fbfde3ccfe5c8caa01919137874af2deb2d7fa55ab
|
|
BLAKE2b-256 checksum How to use checksums |
6c867b29a2033f86c2c4f697fd497b7abf25b481bc84be1f37aa54b8d1acfed9
|
| 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.0-py3-none-any.whl
| Download URL | trame_mnist-2.0.0-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c899f2791c1610bd10653279ca5eea2c8a6735c5b353842f7fb31fcdcb91830e
|
|
BLAKE2b-256 checksum How to use checksums |
f08f3a300737f15d10895d9a79aba10d9f961fb5167a79974d53527dbabebb20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.10
|