class_docstr: An trained model that is ready to use for classification, exported to
  Core ML, or for feature extraction.
  
  This model should not be constructed directly.
class_docstr_tok: ["An","trained","model","that","is","ready","to","use","for","classification",",","exported","to","Core","ML",",","or","for","feature","extraction",".","This","model","should","not","be","constructed","directly","."]
code: def _load_version(cls, state, version):
      assert version == cls._PYTHON_ONE_SHOT_OBJECT_DETECTOR_VERSION
      # we need to undo what we did at save and turn the proxy object
      # back into a Python class
      state["detector"] = _ObjectDetector._load_version(
          state["detector"], state["_detector_version"]
      )
      return OneShotObjectDetector(state)
  
file_path: turicreate/src/python/turicreate/toolkits/one_shot_object_detector/one_shot_object_detector.py
imports: import turicreate
  from turicreate.toolkits._model import CustomModel
  from turicreate.toolkits._model import PythonProxy, ToolkitError
  from turicreate.toolkits.object_detector.object_detector import ObjectDetector
  from turicreate.toolkits.one_shot_object_detector.util._augmentation import preview_synthetic_training_data
  import turicreate.toolkits._internal_utils
label_desc: Use image node_id 7 for calling the OneShotObjectDetector obj's underlying member method code with example usage: obj._load_version(cls, state, version) and returns: OneShotObjectDetector