class_docstr: Build LD distill model.
  Args:
      cfg: The student config.
      slim_cfg: The teacher and distill config.
class_docstr_tok: ["Build","LD","distill","model",".","Args",":","cfg",":","The","student","config",".","slim_cfg",":","The","teacher","and","distill","config","."]
code: def __init__(self, cfg, slim_cfg):
      super(LDDistillModel, self).__init__(cfg=cfg, slim_cfg=slim_cfg)
      assert self.arch in ["GFL"], "Unsupported arch: {}".format(
          self.arch
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  import paddle.nn
  from ppdet.core.workspace import register, create, load_config
  from ppdet.utils.checkpoint import load_pretrain_weight
  from ppdet.utils.logger import setup_logger
label_desc: Use image node_id 1 to create a new LDDistillModel object from inherited base classes: DistillModel with example: obj = LDDistillModel(cfg, slim_cfg)