code: def test_mmdet_bbox_models_light_validate(
      self,
      ds,
      model_type,
      pretrained,
      cfg_options,
      samples_source,
      request,
  ):
      _, valid_dl, model = self.dls_model(
          ds,
          model_type,
          pretrained,
          cfg_options,
          samples_source,
          request,
      )
  
      class LitModel(model_type.lightning.ModelAdapter):
          def configure_optimizers(self):
              return Adam(self.parameters(), lr=1e-4)
  
      light_model = LitModel(model)
      trainer = pl.Trainer(
          max_epochs=1,
          enable_model_summary=False,
          num_sanity_val_steps=0,
          logger=False,
          enable_checkpointing=False,
      )
  
      trainer.validate(light_model, valid_dl)
  
file_path: icevision/tests/models/mmdet/test_model.py
imports: import pytest
  import random
  from icevision.all import *
label_desc: Use image node_id 6 for calling the TestBboxModels obj's underlying member method code with example usage: obj.test_mmdet_bbox_models_light_validate(ds, model_type, pretrained, cfg_options, samples_source, request) and returns: Adam