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 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 12.6 is installed. If you have a different version, please replace 'cu126' 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/cu126

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

Remove old version of the LEMUR Dataset and its database:

pip uninstall nn-dataset -y
rm -rf db

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

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

Installing the stable version:

pip install nn-dataset --upgrade --extra-index-url https://download.pytorch.org/whl/cu126

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 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 Distribution

nn_stat-1.2.1.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

nn_stat-1.2.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file nn_stat-1.2.1.tar.gz.

File metadata

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

File hashes

Hashes for nn_stat-1.2.1.tar.gz
Algorithm Hash digest
SHA256 d028131a94bb18190aa11137631ad47d5e4907fd29b54a83da6eaf28e1a9ff1a
MD5 d8494aaa7308edb4a93062a2b49a0b59
BLAKE2b-256 833387a2991ea13b88534a30ab1a22820a20b58e5795254fe3adabd500d82006

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nn_stat-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7dd1a1f6268f3c32f1372568fdbe83f3510ebec6fbd119776c81b752044272fd
MD5 348ff5bba3ecf69180112edbb937aa6a
BLAKE2b-256 7b31af80a43670bb28e40fc7fd0e6e6bedf682f8e172826df8ef8f17227a6a9d

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