code: def test_Detectron2Model_version_compatibility(enabled=False):
      if enabled:
          model = Detectron2LayoutModel(
              config_path="lp://PubLayNet/faster_rcnn_R_50_FPN_3x/config",
              extra_config=[
                  "MODEL.ROI_HEADS.SCORE_THRESH_TEST",
                  0.85,
                  "MODEL.ROI_HEADS.NMS_THRESH_TEST",
                  0.75,
              ],
          )
          image = cv2.imread(
              "tests/fixtures/model/layout_detection_reference.jpg"
          )
          layout = model.detect(image)
          assert (
              load_json(
                  "tests/fixtures/model/layout_detection_reference.json"
              )
              == layout
          )
  
file_path: layout-parser/tests/test_model.py
imports: import pytest
  import cv2
  from layoutparser import load_json
  from layoutparser.models import *
label_desc: Use image node_id 5 for calling a global function with example usage: test_Detectron2Model_version_compatibility(enabled) without return types