Vis4D Python package for Visual 4D scene understanding
Project description
A modular library for 4D scene understanding
Quickstart
You can checkout our documentation.
You can use the template here to start your own project with Vis4D.
Installation
Installation is as easy as
python3 -m pip install vis4d
For more detailed information, check out our installation guide
Basic CLI usage
- To train a model, e.g. Faster-RCNN on COCO
# vis4d.engine
vis4d fit --config vis4d/zoo/faster_rcnn/faster_rcnn_coco.py --gpus 1
# vis4d.pl
vis4d-pl fit --config vis4d/zoo/faster_rcnn/faster_rcnn_coco.py --gpus 1
- To test a model
# vis4d.engine
vis4d test --config vis4d/zoo/faster_rcnn/faster_rcnn_coco.py --gpus 1
# vis4d.pl
vis4d-pl test --config vis4d/zoo/faster_rcnn/faster_rcnn_coco.py --gpus 1
DDP
Training
- Local machine / SLURM interactivate job (
job-name=bash
)
# vis4d.engine
./scripts/dist_train.sh <config-file> <num-gpus>
# vis4d.pl
vis4d-pl fit --config <config-file> --gpus <num-gpus>
- SLURM
# vis4d.engine
srun vis4d fit --config <config-file> --gpus <num-gpus> --slurm True
# vis4d.pl
srun vis4d-pl fit --config <config-file> --gpus <num-gpus>
Testing
- Local machine / SLURM interactivate job (
job-name=bash
)
# vis4d.engine
./scripts/dist_test.sh <config-file> <num-gpus>
# vis4d.pl
vis4d-pl test --config <config-file> --gpus <num-gpus>
- SLURM
# vis4d.engine
srun vis4d test --config <config-file> --gpus <num-gpus> --slurm True
# vis4d.pl
srun vis4d-pl test --config <config-file> --gpus <num-gpus>
Acknowledgement
Vis4D is a group effort by our team at ETH Zurich. Yung-Hsu Yang built the current version and will be the main maintainer of the codebase.
Vis4D was originally written by Tobias Fischer during the first three years of his Ph.D. at ETH Zurich, Thomas E. Huang helped contribute many models, Tao Sun implemented the ViT models and designed the evaluation pipeline, andRené Zurbrügg designed the config system.
Contributors
Project Leads
Core Contributors
Advisors
*
denotes equal contribution
We are open to contributions and suggestions, feel free to reach out to us.
Check out our contribution guidelines for this project
Community Contributors
Citation
If you find Vis4D is useful for your research, please consider citing the following BibTeX entry.
@misc{vis4d_2024,
author = {{Yung-Hsu Yang and Tobias Fischer and Thomas E. Huang} and René Zurbrügg and Tao Sun and Fisher Yu},
title = {Vis4D},
howpublished = {\url{https://github.com/SysCV/vis4d}},
year = {2024}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vis4d-0.1.2.tar.gz
.
File metadata
- Download URL: vis4d-0.1.2.tar.gz
- Upload date:
- Size: 398.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ba6bfd235e942ef61417a0809ac6f27387d5aa497c6e6069a3c3e8d9dbb6861 |
|
MD5 | 3ad2e30845137d4397a88d21d94c7c59 |
|
BLAKE2b-256 | 498c6b2be4f3eb2b44cdfe3e8d434d97ec0218b6c09c58182a1da3f83a22c7d2 |
File details
Details for the file vis4d-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: vis4d-0.1.2-py3-none-any.whl
- Upload date:
- Size: 613.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94c49bdb1fef98b049c78357169af76093cb1b060a0cba237ea0684b4172d725 |
|
MD5 | f63a427e989060066864fb1692fa3737 |
|
BLAKE2b-256 | d192b109e8986812cadd31731e4ca3358df2f00d25f900dd460c4aa3a2fed58c |