class_docstr: FiftyOne wrapper around an ``ultralytics.YOLO`` model.
  
  Args:
      config: a `FiftyOneYOLOConfig`
class_docstr_tok: ["FiftyOne","wrapper","around","an","``","ultralytics.YOLO","``","model",".","Args",":","config",":","a","`","FiftyOneYOLOConfig","`"]
code: def _load_model(self, config):
      if config.model is not None:
          return config.model
  
      return ultralytics.YOLO(config.checkpoint_path)
  
imports: import itertools
  import numpy
  from PIL import Image
  from fiftyone.core.config import Config
  import fiftyone.core.labels
  from fiftyone.core.models import Model
  import fiftyone.utils.torch
  import fiftyone.core.utils
label_desc: Use image node_id 2 for calling the FiftyOneYOLOModel obj's underlying member method code with example usage: obj._load_model(config) and returns: ultralytics, config