Installation

We currently support Python 3.11+ and PyTorch 2.4.0+.

We recommand to install in a new virtual environment, e.g. conda or virtualenv.

PyPI

You can install the library as easy as

python3 -m pip install vis4d

Build from source

If you want to build the package from source, you can clone the repository and install it:

git clone https://github.com/SysCV/vis4d.git
cd vis4d

python3 -m pip install -e .

More information about torch and pytorch-lightning installation

CUDA Operations

Some functionalities in the library require CUDA operations. You can install them by running:

python3 -m pip install -r requirements/torch-lib.txt