Skip to main content

Neural Network Performance Analysis

Project description

Neural Network Performance Analysis


short alias lmurs

The original version of the NN Stat project was created by Waleed Khalid at the Computer Vision Laboratory, University of Würzburg, Germany.

Overview 📖

Automated conversion of LEMUR data into Excel format with statistical visualizations. It is developed to support the NN Dataset and NN GPT projects.

Create and Activate a Virtual Environment (recommended):

python -m venv .venv
source .venv/bin/activate   # Linux/Mac
.venv\Scripts\activate      # Windows

All subsequent commands are provided for Linux/Mac OS. For Windows, please replace source .venv/bin/activate with .venv\Scripts\activate.

Environment for NN Stat Contributors

Run the following command to install all the project dependencies:

source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu124

Installation with the LEMUR Dataset

source .venv/bin/activate
pip install nn-stat[dataset]

Usage

source .venv/bin/activate
python -m ab.stat.export

Data and statistics are stored in the stat directory in Excel files and PNG/SVG plots.

Update of NN Dataset

Remove old version of the LEMUR Dataset and its database:

source .venv/bin/activate
pip uninstall nn-dataset -y
rm -rf db

Installing the stable version:

source .venv/bin/activate
pip install nn-dataset --upgrade --extra-index-url https://download.pytorch.org/whl/cu124

Install from GitHub to get the most recent code and statistics updates:

source .venv/bin/activate
pip install git+https://github.com/ABrain-One/nn-dataset --upgrade --force --extra-index-url https://download.pytorch.org/whl/cu124

Docker

All versions of this project are compatible with AI Linux and can be run inside a Docker image:

docker run -v /a/mm:. abrainone/ai-linux bash -c "PYTHONPATH=/a/mm python -m ab.stat.export"

Some recently added dependencies might be missing in the AI Linux. In this case, you can create a container from the Docker image abrainone/ai-linux, install the missing packages (preferably using pip install <package name>), and then create a new image from the container using docker commit <container name> <new image name>. You can use this new image locally or push it to the registry for deployment on the computer cluster.

The idea of Dr. Dmitry Ignatov

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

lmurs-1.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lmurs-1.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file lmurs-1.1.0.tar.gz.

File metadata

  • Download URL: lmurs-1.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for lmurs-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0368c9d6e8445d415a6f49fd7097bb326422079237927ad5591265a75cead530
MD5 a06fb485dafd116847c5245b3315adb8
BLAKE2b-256 b098a31c1b4aad864d95231142a0d789c005a7b68e71191de46f295d619c0f55

See more details on using hashes here.

File details

Details for the file lmurs-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: lmurs-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for lmurs-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5059f0a389db68682b139f1d9cc83850e59e25273c6ad3c89ccdf20d34ef91e7
MD5 8200690a984ffbe8a2ae6218db305be6
BLAKE2b-256 5e20208a03a90fe31f99e8448003569635dc690f553558991b16101360c64c41

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page