text: # Copyright (c) SenseTime. All Rights Reserved.
  
  from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  
  from pysot.core.config import cfg
  from pysot.tracker.siamrpn_tracker import SiamRPNTracker
  from pysot.tracker.siammask_tracker import SiamMaskTracker
  from pysot.tracker.siamrpnlt_tracker import SiamRPNLTTracker
  from pysot.tracker.siamrpn_gru_tracker import SiamRPN_GRU_Tracker
  TRACKS = {
            'SiamRPNTracker': SiamRPNTracker,
            'SiamMaskTracker': SiamMaskTracker,
            'SiamRPNLTTracker': SiamRPNLTTracker,
            'SiamRPN_GRU_Tracker':SiamRPN_GRU_Tracker
           }
  
  
  def build_tracker(model):
      return TRACKS[cfg.TRACK.TYPE](model)
  