def METHOD_NAME(self):
    model = join(testdata.models_dir, 'vgg', 'vgg4.pb')
    self.assertConfigureFails(TensorflowPredict2D(), {'graphFilename': model,
                                                      'input': 'wrong_head_input_name',
                                                      'output': 'model/Softmax',
                                                           })  # input do not exist in the model
    self.assertConfigureFails(TensorflowPredict2D(), {'graphFilename': 'wrong_model_name',
                                                      'input': 'model/Placeholder',
                                                      'output': 'model/Softmax',
                                                           })  # the model does not exist