code: def run(FLAGS, cfg):
      assert cfg.architecture in [
          "FasterRCNN",
          "MaskRCNN",
          "YOLOv3",
          "PPYOLOE",
          "PPYOLOEWithAuxHead",
          "BlazeFace",
          "SSD",
          "RetinaNet",
      ], (
          "Only supported cam for faster_rcnn based and yolov3 based architecture for now,  "
          "the others are not supported temporarily!"
      )
  
      bbox_cam = BBoxCAM(FLAGS, cfg)
      bbox_cam.get_bboxes_cams()
  
      print("finish")
  
file_path: PaddleDetection/tools/cam_ppdet.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import sys
  import warnings
  from ppdet.utils.cli import ArgsParser, merge_args
  from ppdet.core.workspace import load_config, merge_config
  from ppdet.utils.check import check_gpu, check_npu, check_xpu, check_version, check_config
  from ppdet.utils.cam_utils import BBoxCAM
  import paddle
label_desc: Use image node_id 2 for calling a global function with example usage: run(FLAGS, cfg) without return types