code: def predict(self, image_file_data):
      input_feed = {}
      input_feed[self.img_pl.name] = image_file_data
  
      output_feed = [self.prediction, self.probability]
      outputs = self.sess.run(output_feed, input_feed)
  
      text = outputs[0]
      probability = outputs[1]
      if sys.version_info >= (3,):
          text = text.decode("iso-8859-1")
  
      return (text, probability)
  
imports: from __future__ import absolute_import
  from __future__ import division
  import time
  import os
  import math
  import logging
  import sys
  import distance
  import numpy
  import tensorflow
  from six.moves import xrange
  from .cnn import CNN
  from .seq2seq_model import Seq2SeqModel
  from ..util.data_gen import DataGen
  from ..util.visualizations import visualize_attention
label_desc: Use image node_id 2 for calling the Model obj's underlying member method code with example usage: obj.predict(image_file_data) and returns: text,  probability