The following DEB or WHL packages must be installed for Python development:
knp-python3-framework_<knp_version>_amd64.deb: a deb package containing a Python framework for an AltAI SNN backend.knp_ann2snn.deb: a deb package with the ANN2SNN package, AltAI ANN2SNN backend binary code for the AltAI-1 neuromorphic processor, and a component for placing the neural network on AltAI-1.knp-<knp_version>-py3-none-any.whl: a whl package containing a Python framework for an AltAI SNN backend.knp_ann2snn-<motiv_version>-py3-none-any.whl: a whl package with the ANN2SNN package, AltAI ANN2SNN backend binary code for the AltAI-1 neuromorphic processor, and a component for placing the neural network on AltAI-1.This package is installed on x86-based computers.
knp_ann2snn_aarch64-<motiv_version>-py3-none-any.whl: a whl package with the ANN2SNN package and the AltAI ANN2SNN backend binary code for the AltAI-1 neuromorphic processor.This package is installed on ARM-based computers.
where:
<knp_version> is the Kaspersky Neuromorphic Platform version.<motiv_version> is the version of the backends for the AltAI-1 neuromorphic processor and the ANN2SNN package.The packages are installed on Linux.
To install deb packages for Python development:
AltAI SNN backend, run the following as root:dpkg -i <path-to-deb-package>/knp-python3-framework_<knp_version>_amd64.deb
where:
<path-to-deb-package> is the path to the deb package.<knp_version> is the Kaspersky Neuromorphic Platform version.ANN2SNN package and AltAI ANN2SNN backend binary code, run the following commands as root:dpkg -i <path-to-deb-package>/knp_ann2snn.deb
When installing the knp_ann2snn.deb package, accept the AltAI-1 backends and ANN2SNN package Terms of Use. Your acceptance of the Terms of Use is a prerequisite for installing the package. The package installation process will be interrupted unless you accept the Terms of Use.
Use the pip3 package manager to install whl packages from the PyPI platform.
To install whl packages:
AltAI SNN backend, run the following command: pip3 install --break-system-packages knp-<knp_version>-py3-none-any.whl
where <knp_version> is the Kaspersky Neuromorphic Platform version.
ANN2SNN package and AltAI ANN2SNN backend binaries, do one of the following: pip3 install --break-system-packages knp_ann2snn-<motiv_version>-py3-none-any.whl
pip3 install --break-system-packages knp_ann2snn_aarch64-<motiv_version>-py3-none-any.whl
where <motiv_version> is the version of the backends for the AltAI-1 neuromorphic processor and the ANN2SNN package.