Skip to main content

Neural Network Performance Analysis

Project description

Neural Network Performance Analysis

GitHub release
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 NNGPT projects.

Create and Activate a Virtual Environment (recommended)

For Linux/Mac:

python3 -m venv .venv
source .venv/bin/activate

For Windows:

python3 -m venv .venv
.venv\Scripts\activate

It is assumed that CUDA 13.0 is installed. If you have a different version, please replace 'cu130' with the appropriate version number.

Environment for NN Stat Contributors

Run the following command to install all the project dependencies:

python -m pip install --upgrade pip
pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu130

Installation with the LEMUR Dataset

pip install nn-stat[dataset]

Usage

python -m ab.stat.export

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

To use 'ab/stat/nn_analytics.ipynb' install jupyter:

pip install jupyter

and run jupyter notebook:

jupyter notebook --notebook-dir=.

Update of NN Dataset

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

rm -rf db
pip install --no-cache-dir git+https://github.com/ABrain-One/nn-dataset --upgrade --force --extra-index-url https://download.pytorch.org/whl/cu130

Installing the stable version:

rm -rf db
pip install nn-dataset --upgrade --extra-index-url https://download.pytorch.org/whl/cu130

Docker

All versions of this project are compatible with AI Linux and can be seamlessly executed within the AI Linux Docker container:

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.

Tasks & datasets

Tasks & datasets

Current LEMUR Statistics

Image Classification

Image Captioning, Image Segmentation, Text Generation

Accuracy VS Duration Best Models

Best Per Run Distribution

Best Per Run VS Duration

Model Rank Heatmap

The best models for image classification, image segmentation and text generation tasks across all the datasets.

Model performance and variability across runs

The bars show the average result for each model, while the error bars indicate how much those results vary across different runs when enough data is available.

The plot shows how performance develops over time. Error bars reflect how much the results change across different runs with different settings, and they are only included when enough data is available.

The confidence intervals show how much results vary across different runs. They are not meant to compare models statistically or indicate which model is significantly better.

The idea and leadership of Dr. 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

nn_stat-2.2.7.1-py3-none-any.whl (8.4 MB view details)

Uploaded Python 3

File details

Details for the file nn_stat-2.2.7.1-py3-none-any.whl.

File metadata

  • Download URL: nn_stat-2.2.7.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for nn_stat-2.2.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f12ea6022941c97a4082009c5fd11255ae0f44fa158fcbfe73be80cba380a0cc
MD5 6f3b760f2171d876d7a46d60dcb34f03
BLAKE2b-256 087b2c5861f58deb2e44fdab611c6e001b5a715f6c5def83df95a34dba0f1707

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