code: def convert_super_gradients_model(model):
      """Converts the given SuperGradients model into a FiftyOne model.
  
      Args:
          model: a ``super_gradients.training.models.detection_models.yolo_nas``
              model
  
      Returns:
           a :class:`fiftyone.core.models.Model`
  
      Raises:
          ValueError: if the model could not be converted
      """
      if type(model).__module__.startswith(
          "super_gradients.training.models.detection_models.yolo_nas"
      ):
          return _convert_yolo_nas_detection_model(model)
      else:
          raise ValueError(
              "Unsupported model type; cannot convert %s to a FiftyOne model"
              % model
          )
  
file_path: fiftyone/fiftyone/utils/super_gradients.py
imports: import logging
  import fiftyone
  import fiftyone.core.utils
  import fiftyone.utils.torch
  import fiftyone.zoo.models
  import torch
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: convert_super_gradients_model(model) and returns: _convert_yolo_nas_detection_model