huanglianghua / GlobalTrack

Official PyTorch implementation of "GlobalTrack: A Simple and Strong Baseline for Long-term Tracking" @ AAAI2020.
244 stars 27 forks source link

Is there any way to speed up online tracking? #8

Closed klq-Y closed 4 years ago

klq-Y commented 4 years ago

6fps is too slow,and it's runing on a powerful TitanX GPU.

huanglianghua commented 4 years ago

There could be several possible ways to speed up GlobalTrack:

  1. Using a more efficient backbone by replacing ResNet50 to, e.g., ResNet18/MobileNets/EfficientNets.
  2. Reducing the input image size, from (1333, 800) to, e.g., (640, 480).
  3. Using a low-precision or quantized model, by converting fp32 weights to fp16 or int8.
  4. Combining GlobalTrack with a fast local tracker (e.g., SiamRPN, ATOM). Only run GlobalTrack when local tracker detects a failure.

Hope this helps.

klq-Y commented 4 years ago

Thank you very much for your advice.