class_docstr: Build FGD distill model.
  Args:
      cfg: The student config.
      slim_cfg: The teacher and distill config.
class_docstr_tok: ["Build","FGD","distill","model",".","Args",":","cfg",":","The","student","config",".","slim_cfg",":","The","teacher","and","distill","config","."]
code: def __init__(self, cfg, slim_cfg):
      super(FGDDistillModel, self).__init__(cfg=cfg, slim_cfg=slim_cfg)
      assert self.arch in [
          "RetinaNet",
          "PicoDet",
      ], "Unsupported arch: {}".format(self.arch)
      self.is_inherit = True
  
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 FGDDistillModel object from inherited base classes: DistillModel with example: obj = FGDDistillModel(cfg, slim_cfg)