code: def testRegressionFrozenModel(self):
      expected = [0.49044114, 0.50241125]
  
      filename = join(testdata.audio_dir, "recorded", "hiphop.mp3")
      model = join(
          testdata.models_dir, "vggish", "small_vggish_init.pb"
      )
  
      audio = MonoLoader(filename=filename, sampleRate=16000)()
      found = TensorflowPredictVGGish(
          graphFilename=model, patchHopSize=0
      )(audio)
      found = numpy.mean(found, axis=0)
  
      # Setting a high tolerance value due to the mismatch between the
      # original and replicated features. However, they are close enough to
      # make valid predictions.
      self.assertAlmostEqualVector(found, expected, 1e-2)
  
file_path: essentia/test/src/unittests/machinelearning/test_tensorflowpredictvggish.py
imports: from essentia_test import *
  import sys
  import os
label_desc: Use image node_id 1 for calling the TestTensorFlowPredictVGGish obj's underlying member method code with example usage: obj.testRegressionFrozenModel() without return types