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

nn_stat-1.1.0.tar.gz (13.5 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.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nn_stat-1.1.0.tar.gz
  • Upload date:
  • Size: 13.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 42d7cecf8761c8694d779a219c0ed7c766a5fef94012bb87e0f3c523f9dc0dc3
MD5 a7830534ba522d2d1fd8b13f3db9875a
BLAKE2b-256 25a6fb313e265bbeb6e6098651644d757c1670b7eaa7b1980e5573f7cbfd9d0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nn_stat-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 060edffc3ab4aa557a9a08e18955e124b664beab086285d4dbbbb1718dece662
MD5 75c0f9378d725eb90a1bf88dc6cb33f8
BLAKE2b-256 d281eea1376f5c8bc21b949769149791b630a2e43df928d431a9b843fb76cc8f

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