code: def from_config(cls, cfg, *args, **kwargs):
      detector = create(cfg["detector"])
      kwargs = {"input_shape": detector.neck.out_shape}
  
      reid = create(cfg["reid"], **kwargs)
  
      tracker = create(cfg["tracker"])
  
      return {
          "detector": detector,
          "reid": reid,
          "tracker": tracker,
      }
  
file_path: PaddleDetection/ppdet/modeling/architectures/jde.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from ppdet.core.workspace import register, create
  from .meta_arch import BaseArch
label_desc: Use image node_id 2 for calling the JDE obj's underlying member method code with example usage: obj.from_config(cls, cfg) and returns: dict