code: def compute_metrics(self, outputs, targets, **kwargs):
      from sklearn.metrics import accuracy_score
  
      return {"acc": accuracy_score(targets, outputs)}
  
imports: import numpy
  import json
label_desc: Use image node_id 2 for calling the QAMetric obj's underlying member method code with example usage: obj.compute_metrics(outputs, targets) and returns: dict