code: def compute_metrics(self, outputs, targets, **kwargs):
      return self.nlg.compute_metrics(
          hyp_list=outputs, ref_list=targets
      )
  
imports: import numpy
  import json
label_desc: Use image node_id 2 for calling the NLGMetric obj's underlying member method code with example usage: obj.compute_metrics(outputs, targets) and returns: self