code: def test_set_model(self):
      from super_gradients.training import models
  
      from sahi.models.yolonas import YoloNasDetectionModel
  
      download_yolonas_s_model()
  
      yolonas_model = models.get(
          model_name=YOLONAS_TEST_MODEL_NAME,
          pretrained_weights=PRETRAINED_WEIGHTS,
      )
  
      yolonas_detection_model = YoloNasDetectionModel(
          model=yolonas_model,
          model_name=YOLONAS_TEST_MODEL_NAME,
          confidence_threshold=CONFIDENCE_THRESHOLD,
          device=MODEL_DEVICE,
          category_remapping=None,
          load_at_init=True,
      )
  
      self.assertNotEqual(yolonas_detection_model.model, None)
  
file_path: sahi/tests/test_yolonasmodel.py
imports: import unittest
  from sahi.utils.cv import read_image
  from sahi.utils.yolonas import YoloNasTestConstants, download_yolonas_s_model
label_desc: Use image node_id 2 for calling the TestYoloNasDetectionModel obj's underlying member method code with example usage: obj.test_set_model() without return types