ibaiGorordo / Tapir-Pytorch-Inference

Minimal code for Tapir model inference in Pytorch
Apache License 2.0
14 stars 2 forks source link
computer-vision deep-learning point-tracking pytorch tracking

Tapir Pytorch Inference

https://github.com/user-attachments/assets/457eeb57-9961-4022-9b15-55f1d9dc2260

Important

This is a strip down version of the original Tapir repository focused on inference.

Installation

git clone https://github.com/ibaiGorordo/Tapir-Pytorch-Inference.git
cd Tapir-Pytorch-Inference
pip install -r requirements.txt

License

The License of the original model is Apache 2.0: License

ONNX Export

⚠️⚠️⚠️ONNX Inference is very slow⚠️⚠️⚠️

python onnx_export.py

Arguments:

Examples

Video inference:

 python example_video_tracking.py

Webcam inference:

 python example_webcam_tracking.py

References: