code: def testInvalidParam(self):
      model = join(testdata.models_dir, "vgg", "vgg4.pb")
      self.assertConfigureFails(
          TensorflowPredict(), {"graphFilename": model}
      )  # inputs and outputs are not defined
      self.assertConfigureFails(
          TensorflowPredict(),
          {
              "graphFilename": model,
              "inputs": ["model/Placeholder"],
          },
      )  # outputs are not defined
      self.assertConfigureFails(
          TensorflowPredict(),
          {
              "graphFilename": model,
              "inputs": ["wrong_input_name"],
              "outputs": ["model/Softmax"],
          },
      )  # input does not exist in the model
      self.assertConfigureFails(
          TensorflowPredict(),
          {
              "graphFilename": "wrong_model_name",
              "inputs": ["model/Placeholder"],
              "outputs": ["model/Softmax"],
          },
      )  # the model does not exist
  
      # Repeat tests for savedModel format.
      model = join(testdata.models_dir, "vgg", "vgg4/")
      self.assertConfigureFails(
          TensorflowPredict(), {"savedModel": model}
      )  # inputs and outputs are not defined
      self.assertConfigureFails(
          TensorflowPredict(),
          {
              "savedModel": model,
              "inputs": ["model/Placeholder"],
          },
      )  # outputs are not defined
      self.assertConfigureFails(
          TensorflowPredict(),
          {
              "savedModel": model,
              "inputs": ["wrong_input_name"],
              "outputs": ["model/Softmax"],
          },
      )  # input does not exist in the model
      self.assertConfigureFails(
          TensorflowPredict(),
          {
              "savedModel": "wrong_model_name",
              "inputs": ["model/Placeholder"],
              "outputs": ["model/Softmax"],
          },
      )
  
file_path: essentia/test/src/unittests/machinelearning/test_tensorflowpredict.py
imports: from essentia_test import *
  import sys
  import os
label_desc: Use image node_id 6 for calling the TestTensorFlowPredict obj's underlying member method code with example usage: obj.testInvalidParam() without return types