Install

Setting up BenchNIRS

  1. Download and install Python 3.9 or greater, for example with Miniconda.

  2. To install the package with pip (cf. PyPI), open a terminal (eg. Anaconda Prompt) and type:

    pip install benchnirs
    
  3. Download datasets (see below).

Note

Alternatively to install from source in development mode, download and unzip the repository (or clone it with Git), and run devinstall.py.

Downloading datasets

Enabling GPU support

To enable GPU acceleration on BenchNIRS with PyTorch (if your machine has an NVIDIA GPU), follow the instructions to install PyTorch with CUDA.

Keeping BenchNIRS up to date

To update BenchNIRS to the latest version with pip, open a terminal (eg. Anaconda Prompt) and type:

pip install --upgrade benchnirs