code: def test_mmdet_bbox_models_predict(
      ds, model_type, samples_source, request
  ):
      _, valid_ds = request.getfixturevalue(ds)
      backbone = model_type.backbones.resnet50_fpn_1x()
      backbone.config_path = samples_source / backbone.config_path
  
      model = model_type.model(backbone=backbone, num_classes=5)
  
      infer_dl = model_type.infer_dl(
          valid_ds, batch_size=1, shuffle=False
      )
      preds = model_type.predict_from_dl(
          model, infer_dl, show_pbar=False
      )
      _test_preds(preds, pred_count=1)
  
file_path: icevision/tests/models/mmdet/test_predict.py
imports: import pytest
  from icevision.all import *
  from icevision.models.inference_sahi import IceSahiModel
  from sahi.prediction import PredictionResult
  import albumentations
label_desc: Use image node_id 1 for calling a global function with example usage: test_mmdet_bbox_models_predict(ds, model_type, samples_source, request) without return types