ai8x-training

(★ 114)

Model Training for ADI's MAX78000 and MAX78002 Edge AI Devices

  • .flake8
  • .gitignore
  • .gitmodules
  • .markdownlint.yaml
  • .python-version
  • .shellcheckrc
  • .yamllint
  • ai8x-training.code-workspace
  • ai8x.py
  • ai8x_blocks.py
  • ai8x_nas.py
  • batchnormfuser.py
  • check_cuda.py
  • devices.py
  • distiller
  • KNOWN_ISSUES.txt
  • LICENSE.txt
  • logging.conf
  • nas_auto_generator.py
  • nnplot.py
  • NOTICE.txt
  • parse_qat_yaml.py
  • parsecmd.py
  • pyproject.toml
  • README.md
  • README.pdf
  • requirements-base.txt
  • requirements-datasets.txt
  • requirements-distiller.txt
  • requirements.txt
  • run_nas_network_search.py
  • sample.py
  • train.py
  • train_all_models.sh
  • yamlwriter.py

# Installation Guide

1. Get the code
git clone https://github.com/analogdevicesinc/ai8x-training

Downloads the entire project code from GitHub to your computer.

cd ai8x-training

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
$ python -m venv .venv --prompt ai8x-training

Runs the Python script (or module).

(ai8x-training) $ pip3 install -U pip wheel setuptools

Installs the Python libraries listed in requirements.txt (or similar).

(ai8x-training) $ pip3 install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121

Installs the Python libraries listed in requirements.txt (or similar).

(ai8x-training) $ pip3 install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/rocm5.7

Installs the Python libraries listed in requirements.txt (or similar).

(ai8x-training) $ pip3 install -r requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation