code: def dls_model(
      self,
      ds,
      model_type,
      pretrained,
      cfg_options,
      samples_source,
      request,
  ):
      train_ds, valid_ds = request.getfixturevalue(ds)
      train_dl = model_type.train_dl(train_ds, batch_size=2)
      valid_dl = model_type.valid_dl(valid_ds, batch_size=2)
  
      backbone = model_type.backbones.resnet50_fpn_1x()
      backbone.config_path = samples_source / backbone.config_path
  
      model = model_type.model(
          backbone=backbone(pretrained=pretrained),
          num_classes=5,
          cfg_options=cfg_options,
      )
  
      return train_dl, valid_dl, model
  
file_path: icevision/tests/models/mmdet/test_model.py
imports: import pytest
  import random
  from icevision.all import *
label_desc: Use image node_id 1 for calling the TestBboxModels obj's underlying member method code with example usage: obj.dls_model(ds, model_type, pretrained, cfg_options, samples_source, request) and returns: train_dl,  valid_dl,  model