Metadata-Version: 2.1
Name: vist
Version: 0.0
Summary: VisT Python Package for perception and motion understanding
Home-page: https://cv.ethz.ch/
Author: CVL @ ETHZ
Author-email: i@yf.io
License: UNKNOWN
Project-URL: Documentation, https://github.com/syscv/
Project-URL: Source, https://github.com/syscv/
Project-URL: Tracker, https://github.com/syscv/
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# VisT

A perception system of tracking and motion understanding.

## Installation

We currently support Python 3.7, 3.8 and 3.9.

You can install the package dependency via vanilla python and pip:

```bash
python3 -m pip install -r requirements.txt \
    -f https://download.pytorch.org/whl/cpu/torch_stable.html
python3 -m pip install 'git+git://github.com/facebookresearch/detectron2.git'
```

This command installs pytorch without CUDA. Please look up
[pytorch website](https://pytorch.org/get-started/locally) for installation
on your configurations and install pytorch first.

If you're using conda, run the following commands:

```bash
conda create --name vist python=3.8
conda activate vist
pip install -r requirements.txt
conda install pytorch torchvision torchaudio cudatoolkit=11.0 -c pytorch
pip install 'git+https://github.com/facebookresearch/detectron2.git'
```

You can also use [python](./scripts/install_cpu_dep.sh) and [conda](./scripts/install_cpu_conda_dep.sh) scripts on CPU machine installation.

More information about torch and detectron2 installation

- [Pytorch](https://pytorch.org/get-started/locally)
- [Detectron2](https://github.com/facebookresearch/detectron2/blob/master/INSTALL.md)

To install `vist` package,

```bash
python3 setup.py install
```

## Usage

Training

```bash
python3 tools/launch.py train --config <config_path> <maybe other arguments>
```

Testing

```bash
python3 tools/launch.py test --config <config_path> <maybe other arguments>
```

Prediction

```bash
python3 tools/launch.py predict --config <config_path> <maybe other arguments>
```


