class_docstr: Base class for problems with images.
class_docstr_tok: ["Base","class","for","problems","with","images","."]
code: def eval_metrics(self):
      eval_metrics = [
          metrics.Metrics.ACC,
          metrics.Metrics.ACC_TOP5,
          metrics.Metrics.ACC_PER_SEQ,
          metrics.Metrics.NEG_LOG_PERPLEXITY,
      ]
      if self._was_reversed:
          eval_metrics += [metrics.Metrics.IMAGE_SUMMARY]
      return eval_metrics
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import io
  import os
  import numpy
  from tensor2tensor.data_generators import generator_utils
  from tensor2tensor.data_generators import problem
  from tensor2tensor.data_generators import text_encoder
  from tensor2tensor.layers import common_layers
  from tensor2tensor.layers import modalities
  from tensor2tensor.utils import contrib
  from tensor2tensor.utils import metrics
  import tensorflow.compat.v1
label_desc: Use image node_id 5 for calling the ImageProblem obj's underlying member method code with example usage: obj.eval_metrics() and returns: eval_metrics