code: def __init__(self):
      vggish_model_file = VGGish()
      self.mac_ver = _mac_ver()
  
      if self.mac_ver < (10, 14):
          # Use TensorFlow/Keras
          import turicreate.toolkits._tf_utils as _utils
  
          self.gpu_policy = _utils.TensorFlowGPUPolicy()
          self.gpu_policy.start()
  
          model_path = vggish_model_file.get_model_path(
              format="tensorflow"
          )
          _tf = _minimal_package_import_check("tensorflow")
          self.vggish_model = _tf.keras.models.load_model(model_path)
      else:
          # Use Core ML
          model_path = vggish_model_file.get_model_path(format="coreml")
          coremltools = _minimal_package_import_check("coremltools")
          self.vggish_model = coremltools.models.MLModel(model_path)
  
file_path: turicreate/src/python/turicreate/toolkits/sound_classifier/_audio_feature_extractor.py
imports: import time
  import numpy
  import turicreate.toolkits._tf_utils
  import turicreate
  from .vggish_params import SAMPLE_RATE
  from .._internal_utils import _mac_ver
  from .._pre_trained_models import VGGish
  from turicreate._deps.minimal_package import _minimal_package_import_check
label_desc: Use image node_id 2 to create a new VGGishFeatureExtractor object from inherited base classes: object with example: obj = VGGishFeatureExtractor()