class_docstr: Interpolate tracks to make tracks more complete.
  
  Args:
      min_num_frames (int, optional): The minimum length of a track that will
          be interpolated. Defaults to 5.
      max_num_frames (int, optional): The maximum disconnected length in
          a track. Defaults to 20.
      use_gsi (bool, optional): Whether to use the GSI (Gaussian-smoothed
          interpolation) method. Defaults to False.
      smooth_tau (int, optional): smoothing parameter in GSI. Defaults to 10.
class_docstr_tok: ["Interpolate","tracks","to","make","tracks","more","complete",".","Args",":","min_num_frames","(","int",",","optional",")",":","The","minimum","length","of","a","track","that","will","be","interpolated",".","Defaults","to","5.","max_num_frames","(","int",",","optional",")",":","The","maximum","disconnected","length","in","a","track",".","Defaults","to","20.","use_gsi","(","bool",",","optional",")",":","Whether","to","use","the","GSI","(","Gaussian-smoothed","interpolation",")","method",".","Defaults","to","False",".","smooth_tau","(","int",",","optional",")",":","smoothing","parameter","in","GSI",".","Defaults","to","10","."]
code: def __init__(
      self,
      min_num_frames: int = 5,
      max_num_frames: int = 20,
      use_gsi: bool = False,
      smooth_tau: int = 10,
  ):
      if not HAS_SKIKIT_LEARN:
          raise RuntimeError(
              "sscikit-learn is not installed,\
                   please install it by: pip install scikit-learn"
          )
      self.min_num_frames = min_num_frames
      self.max_num_frames = max_num_frames
      self.use_gsi = use_gsi
      self.smooth_tau = smooth_tau
  
imports: import numpy
  from mmdet.registry import TASK_UTILS
label_desc: Use image node_id 1 to create a new InterpolateTracklets object  with example: obj = InterpolateTracklets(min_num_frames, max_num_frames, use_gsi, smooth_tau)