Skip to main content

Vis4D Python package for Visual 4D scene understanding

Project description

vis4d
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

vis4d-0.1.1.tar.gz (397.6 kB view details)

Uploaded Source

Built Distribution

vis4d-0.1.1-py3-none-any.whl (612.0 kB view details)

Uploaded Python 3

File details

Details for the file vis4d-0.1.1.tar.gz.

File metadata

  • Download URL: vis4d-0.1.1.tar.gz
  • Upload date:
  • Size: 397.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for vis4d-0.1.1.tar.gz
Algorithm Hash digest
SHA256 58910f329696dba9388d406fa8f6042c7bc90444ebd7fe4315b03bb555434de7
MD5 01b7a83736bf5fbfe8f2fffb5fe8fb93
BLAKE2b-256 41b750a7ce6b2bb0b0cc444210c48620557be0a9775ca913571d1ed2a00d3495

See more details on using hashes here.

File details

Details for the file vis4d-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: vis4d-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 612.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for vis4d-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 940fe3d40f9b7cc1bf3971ace013bf850880338cb67b1e195c705b8e4f3f8e2c
MD5 6a6547b798e13de5058e26b97d853f62
BLAKE2b-256 78354a6029215bcd56de0171d1ea3b5dad7871ec2736485dc81eb2bf1c96e6a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page