NPX Installation Manual

Kyuseung Han, Sukho Lee, Hyunguk Jang, Jae-Jin Lee
ETRI, Daejeon, South Korea

v2025-12-06 or later

Overview

Notice

Things to Know

Requirements

Step 1 - Install HW Frameworks

To install RVX, follow the ‘RVX Tutorial: Hello’ using the NPX tutorial repository.

Step 2 - Install Learning Frameworks

Cloning the Xarvis Repository

cmd) git clone --recursive https://github.com/rvx-etri/npx-xarvis.git

- Python3 Configuration for RVX

- Objective

Set the python3 command used in RVX.

Check

cmd) cd #(cloned directory)
cmd) make check_python
cmd) make check_pip

Instruction @ Linux

cmd) cd #(cloned directory)
cmd) make config_python
inst) Verify that ‘rvx_python_config.mh’ is generated.
inst) Open ‘rvx_python_config.mh’ in a text editor
> If no path is listed, manually enter the path to the executable.
> If more than one path is listed, keep only the one you intend to use and delete the others.

Instruction @ Windows

cmd) cd #(cloned directory)
cmd) make config_python
inst) Verify that ‘rvx_python_config.mh’ and ‘python3.bat’ are generated.
inst) Do NOT modify ‘rvx_python_config.mh’
inst) Open ‘python3.bat’ in a text editor
> If no path is listed, manually enter the path to the executable.
> If more than one path is listed, keep only the one you intend to use and delete the others.
> Do NOT remove ‘%*’ at the end of the line.
> If the directory name contains spaces, enclose it in double quotation marks as shown below.
ex) C:\Users\“Kyuseung Han”\... %*

Installing snnTorch and Python Packages

cmd) cd #(cloned directory)
cmd) make preinstall
cmd) make install

Setting Up Bash Environment

- Instruction @ Linux

cmd) cd #(cloned directory)
cmd) make config
> Check that the file ./rvx_setup.sh has been created.
inst) Add the line source #(cloned directory)/rvx_setup.sh to your .bashrc.
> Be sure to replace #(cloned directory) with the absolute path before adding it.
inst) To apply the changes to .bashrc, close and reopen the terminal.
> Now, #(cloned directory) is registered as ${XARVIS_HOME}.

- Instruction @ Windows

cmd) cd #(cloned directory)
cmd) make config
inst) This command add the environment variable
inst) To apply the changes, close and reopen the terminal.
> Now, #(cloned directory) is registered as ${XARVIS_HOME}.

Navigate